Skip to content
ML Academy

Feature engineering and preprocessing · insight-0115

Avoid single mean imputation when the analysis is inferential rather than predictive

Evidence type
documented fact
Difficulty
medium
Roles
Data scientist, Data analyst
Industries
healthcare, public-sector

Summary: situation, action, reason, boundary

  1. Situation

    A stakeholder wants coefficients, confidence intervals or group comparisons from data with substantial missingness.

  2. Action

    Diagnose the missingness mechanism, then use multiple imputation or a model that handles missingness explicitly, and report how results change across approaches.

  3. Reason

    A single imputed value is treated as observed, so the uncertainty about what was missing never enters the standard errors.

  4. Boundary

    Regression coefficients, causal estimates, survey analysis and KPI comparisons.

Symptom or risk

Mean imputation shrinks variance, weakens correlations and makes intervals too narrow; conclusions look more certain than they are.

Exceptions

For pure prediction, simple imputation plus indicators is often adequate if validated on held-out data.

Trade-offs

Multiple imputation needs more modelling and computation, and its validity still depends on MAR-type assumptions.

Pitfalls

Treating MNAR data (people skip questions because of the answer) as if any imputation fixes it; sensitivity analysis is needed.

Lessons and concepts

Claims and their sources