What We Miss About Missing Values


As the old adage goes, a wise man once said nothing at all. Unfortunately, the same reverence is rarely extended to missing data. A row with a blank cell is often treated as a problem to be solved before analysis can begin: drop it, fill it with an average, do whatever is easiest and move on. The blank cell is, by this logic, a defect in the record rather than a fact about the world. But the absence of a measurement can provide real insight, and how we handle it may dramatically alter the conclusions we draw. Missingness is better understood not as an unfortunate nuisance, but as a byproduct of the process that also generates the data we observe.

In a clinical trial, the patients who drop out before the end-of-study assessment are not a random sample of those who enrolled. They are disproportionately the ones whose treatment failed, whose adverse events were severe, or whose underlying condition deteriorated. On a signup form, an optional income field is more likely to be left blank when the true figure is one the user would rather not disclose. In a product experiment, users who churn before the measurement window closes never produce the outcome that was meant to be recorded, and may be disproportionately likely to do so because of the treatment they received. In each case, the process determining whether something is observed may itself be related to the phenomenon we are trying to understand.

The same concern applies to sensors. Their impartiality over human self-report is real in that they cannot refuse to answer an awkward question or forget to make a recording, but this is often overstated as a guarantee of unbiasedness. Whether a value is recorded at all depends on the operating conditions of the instrument, which can itself be shaped by the phenomenon it was built to measure. A PM2.5 sensor sends a laser beam through a sample of air, using measurements of the light scattered by particulates to estimate pollutant concentration. But the particles being measured can also affect the instrument itself: high particulate loading can degrade sensor performance and lead to outages (Safarov et al., 2025). In this case, gaps may be more likely during the high-pollution events the network was built to capture. This is an increasingly common pattern in our brave new “Internet of Things”, with seismometers that clip during earthquakes, strain gauges that fail under heavy loads, and smart meters which drop outage reports precisely when a blackout is at its peak.

Rubin (1976) formalises three mechanisms by which data go missing, expressed as constraints on the missingness probability P(RYobs,Ymis)P(R mid Y_{obs}, Y_{mis})

Read Also:  Predictive Analytics in Healthcare: Improving Patient Outcomes

One response is to model the selection process directly. Suppose we want to estimate the value of a marketing offer using subsequent customer spending. Spending is only observed for customers who remain active long enough to make a purchase, and the factors that determine whether a customer remains active may also affect how much they would have spent. Simply analysing the customers who generated a transaction therefore selects on a process related to the outcome itself. Heckman (1979) formalised this class of problem by modelling the process that determines whether an outcome is observed. His canonical example was wages, which are only recorded for individuals who choose to work: if the same unobserved characteristics that influence the decision to work also influence wages, the observed workers are not a random sample of the population.

Heckman’s approach was to treat this selection process as part of the model. An outcome equation for Y is paired with a selection equation describing whether Y is observed, allowing the unobserved factors affecting selection and the outcome to be correlated. The original two-step estimator first models the probability that an observation appears in the dataset, then uses this information to correct the outcome equation for the fact that the observed sample is not random. This correction is captured by the inverse Mills ratio, λ(zi)=ϕ(zi)/Φ(zi)lambda(z_i)=phi(z_i)/Phi(z_i)

The strength of Heckman’s approach is also its limitation. The relationship between the unobserved factors driving selection and the outcome cannot be tested from the observed data alone. The correction works only because we have imposed a strong assumption about the hidden process generating missingness, namely that the unobserved components follow a joint normal distribution. Under the weaker MAR assumption, Robins, Rotnitzky and Zhao (1994) take a different approach. Rather than modelling selection on unobservables, they estimate the target parameter by reweighting the observed records according to their probability of being observed. Writing πipi_i

Rather than reweighting the observed records, another approach is to represent the uncertainty about the missing values directly. Multiple imputation replaces each missing value m times with draws from a model of plausible values, runs the analysis on each of the m completed datasets, and combines the results. The pooled point estimate is the average of the per-imputation estimates; the pooled variance is T=VˉW+(1+1m)VBT = bar{V}_W + left(1+frac{1}{m}right)V_B

Read Also:  Introducing computer use in Gemini 3.5 Flash

Where the missingness mechanism cannot be identified from the observed data alone, sensitivity analysis asks how much the conclusion depends on assumptions about what was not seen. Tipping-point analysis, discussed by Yan, Lee and Li (2009), does this by perturbing the imputed values by a shift parameter δdelta representing a departure from the MAR assumption, increasing δdelta until the primary conclusion changes, and reporting the amount of departure required to overturn the result. Cro et al. (2020) caution that the range of plausible δdelta values should be agreed before examining the result, because otherwise the analyst’s judgement of what counts as plausible can unconsciously move towards whatever value reverses the conclusion. If the conclusion only changes under an implausibly large departure from MAR, the result is relatively robust; if a plausible departure is sufficient, it is fragile.

The methods above also depend on what we are trying to learn from the data. Missingness is not an inherent property of a measurement; it depends on the question being asked. Consider an A/B test of a new checkout flow. If we want to know the effect of assigning users to the new version, then the outcome of every user assigned to it matters, including those who leave before reaching the checkout. If instead we want to know the effect of the new flow among users who actually use it, those who never reach it fall outside the population we are studying. These are different questions about the same experiment, and they can have different answers. The 2019 ICH E9(R1) addendum formalises this idea through the concept of an estimand: a precise specification of the quantity a study aims to estimate. Deciding how to handle missing data therefore starts with deciding what we want the analysis to tell us.

The right approach also depends on the purpose of an analysis. Sperrin, Martin, Sisk and Peek (2020) argue that missing data should be handled differently depending on whether the goal is inference or prediction. In inference, we want to estimate an underlying relationship (such as a treatment effect or regression coefficient), and the challenge is avoiding bias caused by the missingness process. In prediction, the goal is different: the question is whether the model performs well on future observations. If missingness itself contains information about the process generating the data, then discarding that information can make predictions worse. Consider a model that scores sales leads by how likely they are to convert. Whether a lead has filled in optional fields, such as company size or budget, may itself be predictive, because leads who complete more of the form are often more serious. The pattern of which fields are blank could therefore carry information about conversion that a model imputing over the gaps would discard. However, this only works when the missingness pattern available at prediction time matches the pattern seen during training; a model that learns from information unavailable in production will give an overly optimistic assessment of its performance.

Read Also:  A Gentle Introduction to Docker for Python Developers

One simple way to incorporate this information is the missing indicator method (MIM), where missing values are imputed while an additional binary feature records whether the original value was absent. Where missingness is informative, the model can learn from both the value itself and the fact that it was missing. Van Ness et al. (2023) show that this approach can improve predictive performance when missingness is informative, although in high-dimensional settings large numbers of uninformative indicators can themselves lead to overfitting. The same idea is handled implicitly by some modern tree-based models: gradient-boosted decision trees, for example, can learn default directions for missing values (Chen and Guestrin, 2016), allowing the absence of a measurement to become part of the model’s decision process rather than requiring it to be filled in beforehand. This illustrates the broader distinction between prediction and explanation: in a predictive system, a missing value may be a useful signal; in an inferential analysis, the same signal may represent precisely the source of bias that must be controlled.

How we handle a missing value should therefore depend on why it is missing and what we are trying to learn from the data. There is no neutral decision; every approach carries assumptions about the process that produced the gaps. The best we can do is think carefully about that process and be explicit about what we do not know.

···

References

Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 785–794. https://doi.org/10.1145/2939672.2939785

Cro, S., Morris, T. P., Kenward, M. G., & Carpenter, J. R. (2020). Sensitivity analysis for clinical trials with missing continuous outcome data using controlled multiple imputation: A practical guide. Statistics in Medicine, 39(21), 2815–2842. https://doi.org/10.1002/sim.8569

Heckman, J. J. (1979). Sample selection bias as a specification error. Econometrica, 47(1), 153–161. https://doi.org/10.2307/1912352

ICH E9(R1) Expert Working Group. (2019). Addendum on Estimands and Sensitivity Analysis in Clinical Trials to the Guideline on Statistical Principles for Clinical Trials. International Council for Harmonisation. https://database.ich.org/sites/default/files/E9-R1_Step4_Guideline_2019_1203.pdf

Robins, J. M., Rotnitzky, A., & Zhao, L. P. (1994). Estimation of regression coefficients when some regressors are not always observed. Journal of the American Statistical Association, 89(427), 846–866. https://doi.org/10.2307/2290910

Rubin, D. B. (1976). Inference and missing data. Biometrika, 63(3), 581–592. https://doi.org/10.1093/biomet/63.3.581

Safarov, R., Shomanova, Z., Nossenko, Y., Kopishev, E., Bexeitova, Z., & Atasoy, E. (2025). DynamicSeq2SeqXGB for PM₂.₅ imputation in extremely sparse environmental monitoring networks. PLoS One, 20(12), e0338788. https://doi.org/10.1371/journal.pone.0338788

Sperrin, M., Martin, G. P., Sisk, R., & Peek, N. (2020). Missing data should be handled differently for prediction than for description or causal explanation. Journal of Clinical Epidemiology, 125, 183–187. https://doi.org/10.1016/j.jclinepi.2020.03.028

Sterne, J. A. C., White, I. R., Carlin, J. B., Spratt, M., Royston, P., Kenward, M. G., Wood, A. M., & Carpenter, J. R. (2009). Multiple imputation for missing data in epidemiological and clinical research: potential and pitfalls. BMJ, 338, b2393. https://doi.org/10.1136/bmj.b2393

Van Ness, M., Bosschieter, T. M., Halpin-Gregorio, R., & Udell, M. (2023). The missing indicator method: From low to high dimensions. Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, 2447–2458. https://doi.org/10.1145/3580305.3599911

Yan, X., Lee, S., & Li, N. (2009). Missing data handling methods in medical device clinical trials. Journal of Biopharmaceutical Statistics, 19(6), 1085–1098. https://doi.org/10.1080/10543400903243009

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top