Multivariate Imputation by Chained Equations
Overview
Multiple imputation using Fully Conditional Specification (FCS) implemented by the MICE algorithm as described in Van Buuren and Groothuis-Oudshoorn (2011) doi:10.18637/jss.v045.i03. 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.
Major changes
- Added
predict_mi()to generate predictions from models fitted on multiply imputed datasets. The function pools predictions across imputations using Rubin’s rules, and can return point predictions or prediction intervals at a specified confidence level. Typical workflow: 1. Fit a model separately on each completed dataset. 2. Callpredict_mi()with the list of models and the corresponding new data (per imputation). 3. Obtain either pooled predictions (pool = TRUE) or per-imputation predictions (pool = FALSE). This functionality makes it easier to evaluate predictive performance on test sets while correctly accounting for imputation uncertainty. Contributed: @fdvanleeuwen, @thomvolker (#720)
Show all changes in 3.19.0Hide the rest of the changes in 3.19.0
- Adds a correction for the Barnard-Rubin degrees of freedom calculation that provides stabler results for small samples and zero within-imputation variance. Contributed: @frederikfabriciusbjerre (#726)
Minor changes
- Adds fallback for
lmerobjects inpool()without requiringbroom.mixed. Contributed: @anya-decarlo (#728) - Explicitly load
toenaildata from themicepackage to avoidlme4conflict. Contributed: @bbolker (#730)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-21
- ERROR11 OK, 2 ERROR2026-07-10
- OK13 OK2026-06-09
Show 8 earlier changesHide 8 earlier changes
- ERROR12 OK, 1 ERROR2026-06-07
- OK13 OK2026-05-02
- ERROR11 OK, 1 ERROR2026-04-25
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-04-16
- NOTE13 OK, 1 NOTE2026-03-28
- OK14 OK2026-03-10
Documentation
- Help pages
- 153 (17 internal)includes a package overview page
- Examples that run
- 93%78 run in a plain check · 5 never run · 1 hold no code
- Exported functions with examples
- 58%
- Documented parameters
- 99%
- Return-value docs
- 97%
- Help pages citing references
- 47%
Downloads
Repository
- PRs merged (all time)
- 83%
- Median days to close, 50 most recently updated closed issues
- 19
- Median days to close, 50 most recently updated closed PRs
- 12
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
13 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/amices/mice on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-07-07
pkgdown site last built 2026-07-05
Show all practicesHide 3 practices
Dependencies
Installing mice adds 52 packages (30 with compiled code, 39 MB of source tarballs). Heaviest: stringi 11 MB, lme4 4.1 MB, glmnet 2.7 MB.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 37 more dependents and 99 packages that suggest it on CRAN ↗
Code & Tests
Datasets
People & History
Show 12 more contributorsHide 12 contributors
Previously maintained by Roel de Jong (1.14 to 1.16).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 3.19.0Latest
- 3.18.0
- RR 4.5.0 released · 2025-04-11
- 3.17.02024-11-27 · diff ↗ ·
removed 4 exports
ampute.continuous, ampute.default.patterns, ampute.discrete, ampute.mcaradded 4 exports
mads, mids, mira, pool.table - RR 4.4.0 released · 2024-04-24
- 3.16.02023-06-05 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 3.15.0
- RR 4.2.0 released · 2022-04-22
- 3.14.02021-11-24 · diff ↗ ·
added 7 exports
mcar, mice.impute.lasso.logreg, mice.impute.lasso.norm, mice.impute.lasso.select.logreg, mice.impute.lasso.select.norm, pool.scalar.syn, pool.syn - RR 4.1.0 released · 2021-05-18
- 3.13.02021-01-27 · diff ↗
- 3.12.0
- 3.11.02020-08-05 · diff ↗
- 3.10.0.12020-08-02 · diff ↗
Show 62 earlier eventsHide 62 earlier events
- 3.10.0
- 3.9.02020-05-14 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 3.8.02020-02-21 · diff ↗ ·
added 6 exports
bwplot, densityplot, mice.impute.mnar.logreg, mice.impute.mnar.norm, stripplot, xyplot - 3.7.02019-12-13 · diff ↗
- 3.6.02019-07-10 · diff ↗
- 3.5.02019-05-13 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 3.4.02019-03-07 · diff ↗
- 3.3.02018-07-27 · diff ↗
- 3.2.02018-07-24 · diff ↗
- 3.1.0
- 3.0.02018-05-26 · diff ↗ ·
added 26 exports
D1, D2, D3, as.mitml.result, cbind, construct.blocks, estimice, fix.coef, getqbar, is.mitml.result, make.blocks, make.blots, make.formulas, make.method, make.post, make.predictorMatrix, make.visitSequence, make.where, mice.impute.2l.bin, mice.impute.jomoImpute, mice.impute.panImpute, mipo, name.blocks, name.formulas, nimp, rbind - RR 3.5.0 released · 2018-04-23
- 2.46.02017-10-24 · diff ↗ ·
removed 3 exports
cbind.mids, mice.impute.fastpmm, rbind.midsadded 1 export
mice.impute.2l.lmer - RR 3.4.0 released · 2017-04-21
- 2.302017-02-18 · diff ↗ ·
removed 2 exports
ccn, icnadded 13 exports
ampute, ampute.continuous, ampute.default.freq, ampute.default.odds, ampute.default.patterns, ampute.default.type, ampute.default.weights, ampute.discrete, ampute.mcar, is.mads, mice.impute.midastouch, ncc, nic - RR 3.3.0 released · 2016-05-03
- 2.252015-11-09 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 2.22
- RR 3.1.0 released · 2014-04-10
- 2.212014-02-05 · diff ↗
- 2.20
- 2.18
- 2.17
- 2.16
- 2.152013-04-03 · diff ↗ ·
removed 29 exports
sampler, padModel, check.df, remove.lindep, find.collinear, updateLog, mice.impute.pmm2, mice.impute.logreg.boot, mice.impute.2L.norm, mice.impute.2L.pan, .norm.draw, .norm.fix, .pmm.match, augment, cc, ic, cci, ici, is.mids, is.mira, is.mipo, is.passive, with.mids, stripplot.mids, bwplot.mids, densityplot.mids, xyplot.mids, long2mids, ifdoadded 2 exports
fico, mice.impute.cart - RR 3.0.0 released · 2013-04-03
- 2.14
- 2.132012-07-04 · diff ↗ ·
removed 1 export
wp.twinadded 7 exports
mice.impute.pmm2, mice.impute.2l.pan, mice.impute.2L.pan, mice.impute.2lonly.pmm, mice.impute.2lonly.norm, mice.impute.quadratic, .pmm2.match - RR 2.15.0 released · 2012-03-30
- 2.122012-03-25 · diff ↗ ·
added 11 exports
nelsonaalen, as.mira, getfit, supports.transparent, flux, fluxplot, long2mids, ifdo, appendbreak, extractBS, wp.twin - 2.11
- RR 2.14.0 released · 2011-10-31
- 2.102011-09-15 · diff ↗
- 2.92011-09-01 · diff ↗ ·
added 5 exports
mice.impute.norm.predict, mice.impute.norm.boot, mice.impute.logreg.boot, mice.impute.2L.norm, mids2spss - RR 2.13.0 released · 2011-04-13
- 2.82011-03-26 · diff ↗
- 2.72011-03-16 · diff ↗
- 2.62011-03-04 · diff ↗ ·
added 6 exports
mdc, mice.theme, stripplot.mids, bwplot.mids, densityplot.mids, xyplot.mids - 2.5
- 2.4
- RR 2.12.0 released · 2010-10-15
- RR 2.11.0 released · 2010-04-22
- 2.32010-02-14 · diff ↗
- 2.2
- RR 2.10.0 released · 2009-10-26
- 2.1
- 2.02009-08-27 · diff ↗ ·
added 31 exports
mice, mice.mids, sampler, mice.impute.norm, mice.impute.norm.nob, mice.impute.pmm, mice.impute.logreg, mice.impute.polyreg, mice.impute.lda, mice.impute.mean, mice.impute.sample, mice.impute.passive, mice.impute.2l.norm, squeeze, md.pattern, md.pairs, quickpred, is.mids, is.mira, is.mipo, is.passive, cbind.mids, rbind.mids, ibind, complete, lm.mids, glm.mids, pool, pool.scalar, pool.r.squared and 1 more - RR 2.9.0 released · 2009-04-17
- 1.212009-03-17 · diff ↗
- 1.162009-02-19 · diff ↗
- RR 2.8.0 released · 2008-10-20
- RR 2.7.0 released · 2008-04-22
- RR 2.6.0 released · 2007-10-03
- RR 2.5.0 released · 2007-04-24
- 1.152007-01-10 · diff ↗
- RR 2.4.0 released · 2006-10-03
- RR 2.3.0 released · 2006-04-24
- 1.142006-04-04
- RR 2.2.0 released · 2005-10-06
Package metadata
- First published
- 2006-04-04
- Total releases
- 50 / 20 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 2.10.0
- Bundled data
- 245 KB / 26 files
- Download size
- 609 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("mice")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v045.i03.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.