Displaying 2 results from an estimated 2 matches for "nburnin".
Did you mean:
burnin
2013 Jan 18
0
problem that arises after using the new version of "BRugs"
...uot;)
B <- spline.des(allKnots, x, derivs = rep(drv, length(x)),
outer.ok = TRUE)$design
Z <- B %*% LZ
attr(Z, "range.x") <- range.x
attr(Z, "intKnots") <- intKnots
return(Z)
}
BRugsMCMC<-
function (data, inits, parametersToSave, nBurnin, nIter, nThin,
modelFile)
{
if ((nBurnin < 100) | (nIter < 100))
stop("currently only working for chains longer than 100")
if ((100 * round(nBurnin/100) != nBurnin) | (100 * round(nIter/100) !=
nIter))
warning("chain lengths not mult...
2010 Apr 19
1
BRugs
...) )
}
bi.bmi.model.parameters=c( 'a0', 'a1', 'a2', 'a3', 'a12')
bi.bmi.model.bugs=BRugsFit(modelFile='bi.bmi.model2.txt',
data=bi.bmi.model.data,
inits=bi.bmi.model.init,
numChains=1,
para=bi.bmi.model.parameters,
nBurnin=20, nIter=40)
When I run this I get this message.
model is syntactically correct
data loaded
array index is greater than array upper bound for a1
[1] "C:\\DOCUME~1\\Owner\\LOCALS~1\\Temp\\RtmpNvSdyb/inits1.txt"
Initializing chain 1: model must be compiled before initial values loaded
mod...