search for: nthin

Displaying 4 results from an estimated 4 matches for "nthin".

Did you mean: thin
2013 Jan 18
0
problem that arises after using the new version of "BRugs"
...- 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 multiples of 100;...
2009 Aug 16
2
Question regarding finding credible interval using r2winbugs
Dear I am trying to find a 90% credible interval. I am using the following code. fit<-bugs( model.file=BUGScode, data=data, inits = list(geninits1,geninits2), parameters.to.save=keepers, n.chains=nchains, n.iter=runs, n.burnin=burn, n.thin=nthin, DIC= TRUE, bugs.directory="C:/Program Files/WINBUGS.14", \ ) But this is only giving 95% credible interval. How can I get 90%, 80% credible intervals using r2winbugs? Pls help. Waiting for your response. Satrajit [[alternative HTML version deleted]]
2009 May 30
1
Help for running R2WINBUGS in VISTA
Dear, I am running the following R code using the R2WINBUGS package. fit<-bugs( model.file=BUGScode, data=data, inits = list(geninits1,geninits2), parameters.to.save=keepers, n.chains=nchains, n.iter=runs, n.burnin=burn, n.thin=nthin, bugs.directory="C:/Program Files/WinBUGS14" ) I put this code and the corresponding WINBUGS code "BUGScode" in the same folder and change the directory of R into that folder. When I am running this code in the Windows XP, "log" and "CODA" files are save...
2009 Dec 16
1
WinBUGS - R2WinBUGS problem
...es for cross-posting Dear R users, I am using R2WinBUGS to call WinBUGS from R. After loading data, model, and initial values I call this command res <- bugs(data = dfile, inits = list(ifile), parameters.to.save = c("beta"), model.file = mfile, working.directory = tdir, n.thin = nthin, n.chains = 1, n.iter = niterations*nthin, n.burnin = 0, DIC = F, debug = T, save.history=F) which opens WinBUGS and executes the following log file: display(log) check(C:/Documents and Settings/sbadamakis/Desktop/model_4/model_4.txt) model is syntactically correct data(C:/Documents and Sett...