Skip to content

mice

3.19.0

Multivariate Imputation by Chained Equations

170packages depend
1.1Mdownloads / year
57.0%test coverage
13/13checks pass

Overview

About
Maintained by Stef van BuurenFirst published 2006-04-0450 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 8.0 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.22
57.0%
Coverage · measured lines
100%
Documentation · exports
13
Dependencies · direct
Check history
  • OK2026-07-21
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-10
    11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 6 earlier snapshots
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-16
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-28
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 684 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
96%
Documented parameters
99%
Return-value docs
97%
References docs
47%

Downloads

1.1M
CRAN downloads in the past year
Rank #402 · ~3K/day · ~90.4K/mo
Daily download trend is not available in this view yet.
63.9K30 days
231.1K90 days
1.1M1 year
Compare downloads with other packages →
Also on19.8K r2u229 autocran17.3K conda_forge1.6K c2d4u

Repository

Repository
513Stars
124Forks
26Open issues
4Open PRs
22Releases
1,898Commits
45Contributors
imputationfcsmultivariate-datamicechained-equationsmultiple-imputationmissing-datamissing-values
License GPL-2.0 · 1,898 commits · Last activity 2026-07-07 · +1.2% stars, 30d

Stars over time

2025-07-21 · 4772026-07-18 · 512

Repository practices

Upstream repositoryBeta

9 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/amices/mice on 2026-07-19.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Docs source (1)
README.Rmd
Show all practices
Automation and maintenance (1)
Dependabot
Governance and community (1)
Issue templates
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
24 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.10.0
Imports (13)
broomdplyrglmnetgraphicsgrDeviceslatticemitmlnnetRcpprpartstatstidyrutils
LinkingTo (2)
Enhances (0)
none

Code & Tests

Code Composition
R 19,735 (62%)Rd 11,661 (37%)C++ 329 (1%)
Code characteristics
Object systems
S349
Cyclomatic complexity
2.0 median / 69 max
Test cases
194 / 0.22 per code line

Test coverage

Line coverage

57%

Expression

56.3%

Tests / Examples

57.0% / 59% ex

Functions

277 116 exported

Complexity

4.6 avg / 69 max

Call network

277 nodes / 364 edges

Loading call graph…

Lowest coverage

277 functions
FunctionCycloCoverage
.pmm.match exp20%
appendbreak exp20%
convergence exp100%
extractBS exp10%
fico exp10%
flux exp10%

Datasets

Bundled datasets · 24
NameClassRows × ColsAlso ships in
boysdata.frame748 × 9
brandsmadata.frame4,106 × 14
employeedata.frame20 × 3
fdddata.frame52 × 65
fdgsdata.frame10,030 × 8
leiden85vector
mammalsleepdata.frame62 × 11
mnar_demo_datadata.frame500 × 3
nhanesdata.frame25 × 4in 2 packages
nhanes2data.frame25 × 4
pattern1data.frame8 × 3
pattern2data.frame8 × 3
pattern3data.frame8 × 3
pattern4data.frame8 × 3
popmisdata.frame2,000 × 7
popsvector
potthoffroydata.frame27 × 6
selfreportdata.frame2,060 × 15
tbcdata.frame3,951 × 11
tbc.targetdata.frame2,612 × 3
toenaildata.frame1,908 × 5in 3 packages
toenail2data.frame1,908 × 5in 4 packages
walkingdata.frame890 × 5in 2 packages
windspeeddata.frame433 × 6

People & History

People (22)
Maintainer (1)
Author, Maintainer · added in 2.13
Authors (2)
Author, Maintainer · added in 2.13
Author · added in 2.13
Contributors (20)
Contributor · added in 3.10.0
Contributor · added in 3.14.0
Contributor · added in 3.14.0
Contributor · added in 2.15
Contributor · added in 3.19.0
Contributor · added in 2.30
Contributor · added in 2.46.0
Contributor · added in 2.16
Show 12 more contributors
Contributor · added in 2.30
Contributor · added in 3.8.0
Contributor · added in 3.15.0
Contributor · added in 2.13
Contributor · added in 3.12.0
Contributor · added in 2.30
Contributor · added in 2.13
Contributor · added in 3.14.0
Contributor · added in 3.17.0
Contributor · added in 3.8.0
Contributor · added in 3.19.0
Contributor · added in 3.14.0
Listed in earlier versions (4)
Package Timeline

50 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 3.19.0Latest
    2025-12-10 · current release · diff ↗
  • 3.18.0
    2025-05-27 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 3.17.0
    2024-11-27 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 3.16.0
    2023-06-05 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 3.15.0
    2022-11-19 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 3.14.0
    2021-11-24 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 3.13.0
    2021-01-27 · diff ↗
  • 3.12.0
    2020-11-14 · diff ↗
  • 3.11.0
    2020-08-05 · diff ↗
  • 3.10.0.1
    2020-08-02 · diff ↗
Show 62 earlier events
  • 3.10.0
    2020-07-13 · diff ↗
  • 3.9.0
    2020-05-14 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 3.8.0
    2020-02-21 · diff ↗
  • 3.7.0
    2019-12-13 · diff ↗
  • 3.6.0
    2019-07-10 · diff ↗
  • 3.5.0
    2019-05-13 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 3.4.0
    2019-03-07 · diff ↗
  • 3.3.0
    2018-07-27 · diff ↗
  • 3.2.0
    2018-07-24 · diff ↗
  • 3.1.0
    2018-06-20 · diff ↗
  • 3.0.0
    2018-05-26 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 2.46.0
    2017-10-24 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 2.30
    2017-02-18 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 2.25
    2015-11-09 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 2.22
    2014-06-11 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 2.21
    2014-02-05 · diff ↗
  • 2.20
    2014-02-04 · diff ↗
  • 2.18
    2013-08-01 · diff ↗
  • 2.17
    2013-05-12 · diff ↗
  • 2.16
    2013-04-27 · diff ↗
  • 2.15
    2013-04-03 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 2.14
    2013-03-19 · diff ↗
  • 2.13
    2012-07-04 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 2.12
    2012-03-25 · diff ↗
  • 2.11
    2011-11-22 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 2.10
    2011-09-15 · diff ↗
  • 2.9
    2011-09-01 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • 2.8
    2011-03-26 · diff ↗
  • 2.7
    2011-03-16 · diff ↗
  • 2.6
    2011-03-04 · diff ↗
  • 2.5
    2011-01-06 · diff ↗
  • 2.4
    2010-10-18 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • 2.3
    2010-02-14 · diff ↗
  • 2.2
    2010-01-14 · diff ↗
  • R
    R 2.10.0 released · 2009-10-26
  • 2.1
    2009-09-18 · diff ↗
  • 2.0
    2009-08-27 · diff ↗
  • R
    R 2.9.0 released · 2009-04-17
  • 1.21
    2009-03-17 · diff ↗
  • 1.16
    2009-02-19 · diff ↗
  • R
    R 2.8.0 released · 2008-10-20
  • R
    R 2.7.0 released · 2008-04-22
  • R
    R 2.6.0 released · 2007-10-03
  • R
    R 2.5.0 released · 2007-04-24
  • 1.15
    2007-01-10 · diff ↗
  • R
    R 2.4.0 released · 2006-10-03
  • R
    R 2.3.0 released · 2006-04-24
  • 1.14
    2006-04-04
  • R
    R 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
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →