Description Usage Arguments Value Author(s) References See Also Examples
This function gives the summary for all MCMC chains. It including calculus of Rhat, posterior mean, posterior standard deviation and posterior quartiles.
1 | diagnostic.mcmc(mcmclist, ...)
|
mcmclist |
A mcmc.2pnob or mcmc.3pnob class object. |
... |
Further arguments. |
Data frame with the summary. It including calculus of Rhat, posterior mean, posterior standard deviation and posterior quartiles.
Javier Mart<c3><ad>nez
Gelman, A., Carlin, J. B., Stern, H. S. & Rubin, B. (2004). Bayesian Data Analysis.New York: Chapman & Hall/CRC.
mcmc.2pnob
, mcmc.3pnob
and
continue.mcmc.bairt
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # data for model
data("MathTest")
# Only for the first 500 examinees of the data MathTest
# Two-Parameter Normal Ogive Model
model2 <- mcmc.2pnob(MathTest[1:500,], iter = 100, burning = 0)
diagnostic.mcmc(model2)
# For all examinees of the data MathTest
# Three-Parameter Normal Ogive Model
model3 <- mcmc.3pnob(MathTest, iter = 3500, burning = 500)
diagnostic.mcmc(model3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.