Description Usage Arguments Details Author(s) References Examples
Function to plot trace of mi
iterative samples.
1 2 |
mi.object |
|
... |
Other options for |
Convergence plot plots the convergence of the means and the standard deviations of each variable for the different imputations.
Masanao Yajima yajima@stat.columbia.edu, M. Grazia Pittau grazia@stat.columbia.edu, Andrew Gelman gelman@stat.columbia.edu
Yu-Sung Su, Andrew Gelman, Jennifer Hill, Masanao Yajima. (2011). “Multiple Imputation with Diagnostics (mi) in R: Opening Windows into the Black Box”. Journal of Statistical Software 45(2).
1 2 3 4 5 6 7 | # NOT RUN
#========================================================
# data(CHAIN)
# CHAIN <- mi.preprocess(CHAIN)
# imp.CHAIN <- mi(CHAIN, n.iter=6, add.noise=noise.control(post.run.iter=0))
# convergence.plot(imp.CHAIN,mfrow=c(2,4))
#========================================================
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.