search for: adaptstep

Displaying 1 result from an estimated 1 matches for "adaptstep".

Did you mean: adaptsteps
2012 Aug 13
0
rjags error. Error parsing model file:,syntax error on line 5 near ""
...list(y=y, nData=nData) #----------------------------------------------------------- # A set of init statements goes here, but I haven't done that. #----------------------------------------------------------- # RUN CHAIN parameters = c("lam[2]","lam[3]","lam[4]") adaptSteps = 500 burnInSteps = 500 nChains = 3 numSavedSteps = 50000 thinSteps = 1 cfaModel = jags.model("model.txt",data=cfadata, n.chains=nChains, n.adapt=adaptSteps) # Burn-in: cat("Burning in the MCMC chain ...\n") update(cfaModel, n.iter=burnInSteps) cat(&q...