Learn R Programming

⚠️There's a newer version (3.19.0) of this package.Take me there.

mice (version 2.18)

Multivariate Imputation by Chained Equations

Description

Multiple imputation using Fully Conditional Specification (FCS) implemented by the MICE algorithm. Each variable has its own imputation model. Built-in imputation models are provided for continuous data (predictive mean matching, normal), binary data (logistic regression), unordered categorical data (polytomous logistic regression) and ordered categorical data (proportional odds). MICE can also impute continuous two-level data (normal model, pan, second-level variables). Passive imputation can be used to maintain consistency between variables. Various diagnostic plots are available to inspect the quality of the imputations.

Copy Link

Version

Install

install.packages('mice')

Monthly Downloads

106,176

Version

2.18

License

GPL-2 | GPL-3

Maintainer

Stef van Buuren

Last Published

July 31st, 2013

Functions in mice (2.18)

bwplot.mids

Box-and-whisker plot of observed and imputed data
fdd

SE Fireworks disaster data
ic

Incomplete cases
mira-class

Multiply imputed repeated analyses (mira)
mice.impute.passive

Passive imputation
mice.impute.lda

Imputation by linear discriminant analysis
pool.r.squared

Pooling: R squared
cbind.mids

Columnwise combination of a mids object.
mice.impute.2l.pan

Imputation by a two-level normal model using pan
glm.mids

Generalized linear model for mids object
windspeed

Subset of Irish wind speed data
with.mids

Evaluate an expression in multiple imputed datasets
quickpred

Quick selection of predictors from the data
mice.impute.norm.predict

Imputation by linear regression, prediction method
icn

Incomplete cases n
fdgs

Fifth Dutch growth study 2009
rbind.mids

Rowwise combination of a mids object.
mice.impute.polr

Imputation by polytomous regression - ordered
ccn

Complete cases n
mice

Multivariate Imputation by Chained Equations (MICE)
mids2mplus

Export mids object to Mplus
squeeze

Squeeze the imputed values to be within specified boundaries.
selfreport

Self-reported and measured BMI
mice.impute.2lonly.mean

Imputation of the mean within the class
is.mipo

Check for mipo object
is.mira

Check for mira object
potthoffroy

Potthoff-Roy data
nhanes

NHANES example - all variables numerical
extractBS

Extract broken stick estimates from a lmer object
mammalsleep

Mammal sleep data
mice.impute.logreg.boot

Imputation by logistic regression using the bootstrap
supports.transparent

Supports semi-transparent foreground colors?
nhanes2

NHANES example - mixed numerical and discrete variables
pool

Multiple imputation pooling
pool.scalar

Multiple imputation pooling: univariate version
leiden85

Leiden 85+ study
walking

Walking disability data
pops

Project on preterm and small for gestational age infants (POPS)
densityplot.mids

Density plot of observed and imputed data
complete

Creates imputed data sets from a mids object
mice.impute.cart

Imputation by classification and regression trees
tbc

Terneuzen birth cohort
summary.mira

Summary of a mira object
pattern

Datasets with various missing data patterns
as.mids

Converts an multiply imputed dataset (long format) into a mids object
appendbreak

Appends specified break to the data
md.pairs

Missing data pattern by variable pairs
ici

Incomplete case indicator
mdc

Graphical parameter for missing data plots.
cci

Complete case indicator
mice.impute.2l.norm

Imputation by a two-level normal model
mice.impute.ri

Imputation by the random indicator method for nonignorable data
mice.impute.norm

Imputation by Bayesian linear regression
mice.impute.logreg

Imputation by logistic regression
mice.impute.norm.nob

Imputation by linear regression (non Bayesian)
fico

Fraction of incomplete cases among cases with observed
mice.impute.polyreg

Imputation by polytomous regression - unordered
ifdo

Conditional imputation helper
version

Echoes the package version number
fluxplot

Fluxplot of the missing data pattern
nelsonaalen

Cumulative hazard rate or Nelson-Aalen estimator
mice.mids

Multivariate Imputation by Chained Equations (Iteration Step)
stripplot.mids

Stripplot of observed and imputed data
plot.mids

Plot the trace lines of the MICE algorithm
popmis

Hox pupil popularity data with missing popularity scores
getfit

Extracts fit objects from mira object
xyplot.mids

Scatterplot of observed and imputed data
mipo-class

Multiply imputed pooled analysis (mipo)
boys

Growth of Dutch boys
lm.mids

Linear regression for mids object
md.pattern

Missing data pattern
as.mira

Create a mira object from repeated analyses
mice.impute.2lonly.norm

Imputation at level 2 by Bayesian linear regression
ibind

Combine imputations fitted to the same data
pool.compare

Compare two nested models fitted to imputed data
long2mids

Conversion of a imputed data set (long form) to a mids object
flux

Influx and outflux of multivariate missing data patterns
mids-class

Multiply imputed data set (mids)
cc

Complete cases
mice.impute.mean

Imputation by the mean
mice.impute.2lonly.pmm

Imputation at level 2 by predictive mean matching
mice.impute.norm.boot

Imputation by linear regression, bootstrap method
is.mids

Check for mids object
mice.impute.quadratic

Imputation of quadratric terms
print.mids

Print a mids object
mice.impute.pmm

Imputation by predictive mean matching
mids2spss

Export mids object to SPSS
mice.impute.sample

Imputation by simple random sampling
mice.theme

Set the theme for the plotting Trellis functions