Description Usage Arguments Details Value Author(s) References See Also Examples
Diagnostic plots for testing the fit of the imputation method to the observed data.
1 2 3 4 5 |
x |
|
y |
currently not used. |
... |
Arguments for other methods, not used. |
m |
The m-th imputation. By default is 1. |
vrb |
A chosen variable for the scatter plot. |
vrb.name |
A name of the vrb variable. |
gray.scale |
When set to |
mfrow |
See “par” for details. |
For each variable, observed values are in blue, the imputed values are in red. In the scatterplot the observed and the imputed are plotted versus a variable the users can choose. By default the values are plotted against an index number but it strongly recommended to use a variable containing more information. Fitted lowess lines are also plotted for both observed and imputed data. A small amount of random noise (jittering) is added to the points so that they do not fall on top of each other.
Histograms, scatterplots, and residual plots of the fit of the imputation models. Binned residual plots are for each binary variable.
Masanao Yajima yajima@stat.columbia.edu, Yu-Sung Su suyusung@tsinghua.edu.cn, 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).
Kobi Abayomi, Andrew Gelman and Marc Levy. (2008). “Diagnostics for multivariate imputations”. Applied Statistics 57, Part 3: 273–291.
Andrew Gelman and Jennifer Hill. (2007). Data Analysis Using Regression and Multilevel/Hierarchical Models. Cambridge University Press.
1 2 3 4 5 6 | ### NOT RUN
#========================================================
# data(CHAIN)
# imp.CHAIN <- mi(CHAIN, n.iter=6, add.noise=FALSE)
# plot(imp.CHAIN)
#========================================================
|
Loading required package: Matrix
Loading required package: stats4
mi (Version 1.0, packaged: 2015-04-16 14:03:10 UTC; goodrich)
mi Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Trustees of Columbia University
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under the General Public License version 2 or later.
Execute RShowDoc('COPYING') for details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.