Learn R Programming

mi (version 0.06-5)

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 deviation of each variable for the different imputation.

References

Andrew Gelman and M. Grazia Pittau, A flexible program for missing-data imputation and model checking, Technical report, Columbia University, New York; Andrew Gelman and Jennifer Hill, Data Analysis Using Regression and Multilevel/Hierarchical Models, Cambridge University Press, 2007.

Examples

Run this code
data(CHAIN)
  imp.CHAIN <- mi(CHAIN, n.iter=6, post.run=FALSE)
  convergence.plot(imp.CHAIN,mfrow=c(2,4))

Run the code above in your browser using DataLab