makeStats {rube} | R Documentation |
Compute summary, mean, sd, median, and MCMCerr for a new sims.array. This is used for updating chain statistics after thinning, merging, adding new parameters, etc.
makeStats(simsArr)
simsArr |
The sims.array component of a bugs object |
This can be used to re-compute the chain statistics when the chain is modified. Currently MCMCerr and n.eff do not match what R2WinBUGS computes, even though the computations are done by coda::summary and coda::effectiveSize.
Returns a list with components summary, mean, median, sd, and MCMCerr.
Howard J. Seltman <hseltman@stat.cmu.edu>
http://www.stat.cmu.edu/~hseltman/rube/