Learn R Programming

mi (version 0.10-2)

convergence.plot: Convergence Plot of mi Object

Description

Function to plot trace of mi iterative samples.

Usage

convergence.plot ( mi.object, ... )
conv.plot ( mi.object, ... )

Arguments

mi.object
mi object generated from mi function
...
Other options for traceplot function.

Details

Convergence plot plots the convergence of the means and the standard deviations of each variable for the different imputations.

References

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).

Examples

Run this code
# 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))
#========================================================

Run the code above in your browser using DataLab