Displaying 3 results from an estimated 3 matches for "nauseainit".
2008 Dec 09
1
expected variable name error pos 98349 WInBUGS in R
..."n.samples"=n.samples,"n.sites"=n.sites,"n.params"=n.params)
> > bugsData(data.bugs, fileName = "nauseadata.txt")
> > inits.bugs <- list("alpha"=rep(0,n.sites), "tau"=1)
> > bugsInits(list(inits.bugs), fileName = "nauseainit.txt")
> > modelCheck("nausea_random.txt") # check model file
> model is syntactically correct
> > modelData("nauseadata.txt") # read data file
> expected variable name error pos 98349
> *MODEL*
> model
> {
> for (i in...
2008 Dec 07
1
Reading txt file in R
..."n.samples"=n.samples,"n.sites"=n.sites,"n.params"=n.params)
bugsData(data.bugs, fileName = "nauseadata.txt")
inits.bugs <- list("b"=rep(0,n.params),"alpha"=rep(0,n.sites), "tau"=1)
bugsInits(list(inits.bugs), fileName = "nauseainit.txt")
> modelCheck("nausea_random.txt") # check model file
model is syntactically correct
> modelData("nauseadata.txt") # read data file
expected variable name error pos 134022
Model statement:
model
{
for (i in 1:n.samples)
{NAUSEA[i] ~ dbi...
2008 Dec 08
1
Reading txt file in R to run Random Intercept Model
...D"=SITEID,"n.samples"=n.samples,"n.sites"=n.sites,"n.params"=n.params)
> bugsData(data.bugs, fileName = "nauseadata.txt")
> inits.bugs <- list("alpha"=rep(0,n.sites), "tau"=1)
> bugsInits(list(inits.bugs), fileName = "nauseainit.txt")
> modelCheck("nausea_random.txt") # check model file
model is syntactically correct
> modelData("nauseadata.txt") # read data file
expected variable name error pos 98349
*MODEL*
model
{
for (i in 1:n.samples)
{NAUSEA[i] ~ dbin(p[i],1)
l...