Missing data is often treated as a preprocessing problem: fill the blanks, train the model, move on. That is too shallow. The reason a value is missing can carry information, introduce bias, or signal that the production process has changed.
Before choosing an imputation method, ask why the data is missing.
Three Missingness Mechanisms
| Mechanism | Meaning | Example |
|---|---|---|
| MCAR | missing completely at random | a sensor packet is lost due to random network noise |
| MAR | missing at random conditional on observed variables | lab test missingness depends on age and clinic |
| MNAR | missingness depends on the unobserved value itself | high-income customers skip income questions |
These categories are not academic decoration. They determine whether simple imputation is reasonable or whether the missingness process itself must be modeled.
Missingness Can Be Predictive
In many operational systems, missingness is a signal:
- a missing lab test may mean a clinician did not suspect a condition;
- a missing sensor value may indicate device failure;
- a blank form field may reflect user reluctance;
- an absent inspection record may reflect low perceived risk.
Adding missingness indicators can help a model learn this signal. However, this must be done carefully. If the missingness pattern reflects biased access, using it directly may reproduce that bias.
Imputation Choices
Common strategies include:
- Mean or median imputation: simple baseline, but can distort variance.
- Model-based imputation: predicts missing values from observed features.
- Multiple imputation: accounts for uncertainty by creating several plausible datasets.
- Tree-based native handling: some algorithms route missing values directly.
- Domain-specific defaults: useful when missing has an operational meaning.
The best choice depends on the mechanism, the model, and the decision context.
Validation Rules
Missing data handling must be validated inside the training pipeline. Do not impute before splitting data, because global imputation can leak information from validation or test periods into training.
Practical checks:
- Fit imputers only on training data.
- Compare missingness rates across train, validation, and production windows.
- Evaluate model performance separately for records with and without missing values.
- Monitor missingness indicators after deployment.
- Revisit imputation when data collection processes change.
For time series, imputation should also respect time order. A future value should not fill a past gap unless the operational system would have known it at prediction time.
When Missingness Becomes a Monitoring Alert
A sudden increase in missing values may indicate:
- ingestion failure;
- vendor API change;
- sensor degradation;
- survey redesign;
- workflow change;
- population shift.
Missingness monitoring should therefore sit beside data drift monitoring. A feature with the same non-missing distribution can still become less reliable if the missingness pattern changes.
Conclusion
Missing data is part of the data-generating process. Treating it as a nuisance can create biased estimates, unstable models, and misleading validation results.
High-quality machine learning pipelines document missingness mechanisms, validate imputation inside the model workflow, and monitor missingness after deployment. The question is not only what value to fill in. The question is what the missing value is trying to tell you.
References
- Little, R. J. A., & Rubin, D. B. (2019). Statistical Analysis with Missing Data (3rd ed.). Wiley.
- van Buuren, S. (2018). Flexible Imputation of Missing Data (2nd ed.). CRC Press.
- Rubin, D. B. (1976). Inference and missing data. Biometrika, 63(3), 581-592.
- Josse, J., & Reiter, J. P. (2018). Introduction to the special section on missing data. Statistical Science, 33(2), 139-141.



