Multiple Imputation — MICE

Statistics
Introduced by
Donald B. Rubin
Year
1987
Type
Missing-data handling procedure

What does it do?

Multiple imputation (MI) is a statistical framework for handling missing data, formally introduced by Donald B. Rubin in 1987.

Rather than replacing each missing value once, MI fills the gaps m times, drawing plausible values from the posterior predictive distribution of the missing data, which produces m complete datasets. Each dataset is analysed separately and the results are combined using Rubin's pooling rules. MICE (Multivariate Imputation by Chained Equations) is a widely used algorithm for generating these imputations; it handles mixed variable types by imputing each variable in turn with a conditional regression model, and it is implemented in the mice package for R.

The intuition behind the method

Think of missing values as blank entries in a survey. Instead of guessing once and hoping for the best, multiple imputation makes m educated guesses — each slightly different, reflecting genuine uncertainty about what the true value might have been. The spread across those guesses carries the uncertainty forward into the analysis, so the final standard errors are honest rather than artificially narrow. If you had guessed only once, you would have pretended to know more than you really did; by guessing m times and combining the results, the uncertainty due to missingness is preserved in the reported estimates.

History

Donald B. Rubin set out the framework in his 1987 monograph Multiple Imputation for Nonresponse in Surveys. The book covers single and multiple imputation, the Bayesian theory behind analysing repeated draws from the posterior distribution of the missing values, and the pooling rules now called Rubin's rules. The chained-equations approach, MICE, is implemented in the mice package for R.

When to use it

Multiple imputation is appropriate when a dataset contains missing values, the missingness mechanism is plausibly MAR or MCAR, and the intended analysis can be fitted to each completed dataset and pooled. It is designed for continuous, categorical, binary, ordinal, and mixed-type variables. Under MNAR, standard multiple imputation is insufficient and must be supplemented by a sensitivity analysis or a selection model. Listwise deletion (complete-case analysis) is defensible mainly when missingness is MCAR and the proportion of missing data is small; otherwise multiple imputation is generally the preferred approach. The imputation model should include the variables that predict missingness and the variables in the analysis model, which is a practical reason to choose MI over deletion when many variables are incomplete.

Limitations and considerations

  • The procedure relies on the MAR or MCAR assumption; it does not correct for MNAR missingness without additional modelling.
  • Computational cost grows with the number of imputations and the size of the dataset, since the full imputation chain is run m times.
  • Imputed values depend on the imputation model: omitting strong predictors of missingness from that model can bias the results.
  • As the fraction of missing data grows, the between-imputation component of variance increases and intervals widen; with heavy missingness, inference depends more strongly on the imputation model's assumptions.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Under MAR, with a correctly specified imputation model, estimates can be approximately unbiased, whereas listwise deletion is biased unless missingness is MCAR.
  • Rubin's pooling rules carry the between-imputation variance into standard errors and confidence intervals, so the reported uncertainty is not artificially narrow as it would be after single imputation.
  • MICE handles mixed variable types by fitting a type-appropriate conditional model for each incomplete variable within one framework.
  • The imputation step is separate from the analysis step, so the intended analysis model can be used on each completed dataset without modification.
  • Implementations exist in standard software, including the mice, mi, and Amelia packages for R.

Applications

  • Handling item non-response in large-scale survey datasets in social and health sciences.
  • Preparing clinical trial data for analysis when follow-up measurements are missing.
  • Longitudinal and panel studies where participants drop out over time.
  • Econometric modelling with administrative records that have incomplete fields.
  • Preprocessing step in any analysis pipeline where downstream models require complete data.

How it works

How it works

1

Before imputing, the missingness pattern is examined to assess whether the mechanism is plausibly Missing Completely At Random (MCAR) or Missing At Random (MAR). MCAR means the probability of missingness does not depend on any observed or unobserved data. MAR means it may depend on observed values but not on the unobserved missing values themselves. If the mechanism is Missing Not At Random (MNAR), where the probability of a value being missing depends on that value itself, standard multiple imputation is not sufficient and a sensitivity analysis is required. The amount of missing data also bears on how many imputed datasets are needed, as discussed in the FAQ.

2

The MICE algorithm cycles through each incomplete variable and fits a regression model predicting that variable from all others, including previously imputed values. A draw from the posterior of this model is used to fill in the missing entries. The cycle repeats over all incomplete variables and is iterated until the imputed distributions stabilise; this stabilisation should be checked rather than assumed. This produces one completed dataset. The process is then repeated m times with different random seeds, yielding m independently imputed complete datasets. The choice of imputation model (predictive mean matching, logistic regression, classification trees, etc.) depends on the variable type: continuous, binary, ordinal, or nominal.

3

Each of the m completed datasets is analysed with whatever statistical model the researcher originally intended, such as regression, ANOVA, or structural equation modelling. This step produces m sets of parameter estimates and standard errors, which differ slightly because the m datasets differ in how the missing values were filled.

4

The m sets of estimates are combined using Rubin's rules. The pooled point estimate is the average of the m individual estimates. The pooled variance has two components: the average within-imputation variance, which is the variance the analysis would have had with complete data, and the between-imputation variance, which reflects the extra uncertainty from not knowing the missing values. The relative size of these components indicates how much missingness contributes to the uncertainty, and degrees of freedom are adjusted accordingly. The result is a single table of estimates and intervals that reflects both sampling variability and missing-data uncertainty. Standard pooling output, for example SAS PROC MIANALYZE, reports for each parameter the between- and within-imputation variance, the total variance, the degrees of freedom, the relative increase in variance, the fraction of missing information, and the relative efficiency. The degrees of freedom shrink as the fraction of missing data grows, and a value close to 1 signals that a larger m is needed.

Common pitfalls

  • Using too few imputations. Five imputations may be inadequate when a substantial share of cases is incomplete. White et al. suggest about 100 × f imputations, where f is the fraction of incomplete cases, so that key inferential statistics are reproducible if the imputation is repeated; the number should rise with the amount of missingness.
  • Omitting the outcome variable or other important predictors from the imputation model. This produces biased imputations, so the imputation model should be at least as rich as the analysis model.
  • Applying multiple imputation to MNAR data without a supplementary sensitivity analysis. The results can look valid while being substantially biased.
  • Pooling with Rubin's rules assumes the same analysis model is fitted to every completed dataset and that the MICE chain has converged. Convergence should be checked, for example with trace plots of the means and variances of imputed variables.

Frequently asked questions

How many imputed datasets (m) do I need?

There is no single fixed number. Five is a commonly used minimum, but it can be too few when much data are missing. White et al. recommend choosing the number of imputations M so that the key inferential statistics would be highly reproducible if the imputation analysis were repeated, and suggest using about 100 × f imputations, where f is the fraction of cases that are incomplete. For example, if 20% of cases are incomplete, this suggests about 20 imputations. Larger m also reduces Monte Carlo error in pooled estimates and improves reproducibility.

What is the difference between MCAR, MAR, and MNAR?

MCAR (Missing Completely At Random) means the probability of a value being missing is unrelated to any data, observed or unobserved, so the missingness is pure chance. MAR (Missing At Random) means the probability of missingness can depend on observed values but not on the unobserved missing value itself; once you condition on what you have observed, the missingness is random. MNAR (Missing Not At Random) means the probability of missingness depends on the missing value itself. Standard multiple imputation is valid under MCAR and MAR. Under MNAR, standard multiple imputation gives biased results unless it is supplemented by a sensitivity analysis or a selection model.

Does multiple imputation create real data?

No. Multiple imputation creates plausible values drawn from a model of the missing data distribution; these are not the true missing values. The method's purpose is not to recover the original data but to produce estimates and standard errors for the analysis model that correctly account for the uncertainty introduced by missingness.

Can I use multiple imputation with categorical or ordinal variables?

Yes. The MICE framework handles mixed variable types by fitting a type-appropriate conditional model for each variable: predictive mean matching or linear regression for continuous variables, logistic regression for binary variables, polytomous or ordinal regression for nominal or ordinal variables, and classification and regression trees as a flexible non-parametric option. Each variable is imputed in turn using the model appropriate to its type.

Related methods

Sources

  1. Rubin, D.B. (1987). Multiple Imputation for Nonresponse in Surveys. Wiley.

    Open DOI reference
  2. van Buuren, S. & Groothuis-Oudshoorn, K. (2011). mice: Multivariate Imputation by Chained Equations in R. Journal of Statistical Software, 45(3), 1–67.

    Open publication reference
  3. 2015_Book_RegressionModelingStrategies, Section 3.8, p. 55

  4. Using Multivariate Statistics (6th Edition), pp. 224, 230

  5. R in Action Data Analysis and Graphics with R, 2nd Edition, p. ?