Missing Data: Diagnose Why Values Are Missing Before Choosing a Method
Learn how MCAR, MAR, and MNAR differ, what missingness patterns can reveal, why observed data cannot settle every mechanism, and how to choose and report an analysis without treating filling or deletion as automatic fixes.
Missing data are values needed for an analysis that were not recorded, leaving part of the information unavailable. Replacing every blank with zero or deleting every affected row is not always safe: depending on why values are missing, the remaining data may no longer represent the population you intended to study. Define the analysis goal and examine how the missingness arose before choosing a treatment.
A missing value is more than an empty cell
Do not assume that 0, an empty string, NA, null, and -999 mean the same thing. Zero may be a real measurement; -999 may be a missing-value code, but it could also fall within the valid range. Check the codebook and source system first. “Question not asked,” “respondent declined,” “not applicable,” and “measurement failed” also mean different things. If they are all collapsed into one missing code, it may be difficult to recover the reason later.
Missingness can affect one cell or variable, or several variables can become unavailable together after a particular time. Skipping only an income question after completing a survey resembles item nonresponse; no longer responding to follow-up visits is closer to loss of a whole record or follow-up. In the latter case, selection or attrition may also arise if remaining under observation is related to the outcome. This connects to sampling bias, which asks who entered the sample in the first place, but it is distinct from asking why a value is absent within an observation included in the analysis.
Why the missing percentage alone cannot tell you whether an analysis is safe
A small amount of missing data is not always harmless, and a large amount does not always make analysis impossible. A percentage describes how much information is unavailable, but not which cases are affected. Even a low rate can change an estimate if the missing values are concentrated among cases relevant to the result. Conversely, if many values are missing for reasons unrelated to the analytical question, the main consequence may be lower precision. There is no universally safe missingness threshold for every study.
Rubin’s framework distinguishes mechanisms by how the probability of a value being missing depends on observed and unobserved data. The examples below are hypothetical and concern monthly spending in a subscription survey.
| Type | Technical meaning | Hypothetical monthly-spending example | What observed data can tell you |
|---|---|---|---|
| Missing completely at random (MCAR) | The probability that a value is unobserved does not depend on that value or on other observed or unobserved data. | A survey-storage error randomly deletes some answers, independently of respondent characteristics and spending. | If missingness is associated with observed age or plan, that challenges MCAR. Finding no association does not prove MCAR. |
| Missing at random (MAR) | After conditioning on other observed variables, the probability of missingness does not additionally depend on the missing value itself. | Response rates differ by age and plan, but within each age-and-plan group, missingness is assumed not to depend on actual spending. | The pattern may be compatible with observed-variable predictors, but observed data alone cannot conclusively distinguish MAR from MNAR. |
| Missing not at random (MNAR) | Even after accounting for observed information, the probability of missingness depends on the unobserved value itself. | The example assumes that, even within age and plan groups, respondents with higher spending are more likely to skip the spending question. | Spending among nonrespondents is unobserved, so this dependence cannot be established from the dataset alone without external information or additional assumptions. |
“Random” in MAR is technical language; it does not mean “for no reason.” If response differs by age and survey mode, missingness is not random before considering those variables. It may be compatible with MAR if, after conditioning on them, missingness no longer depends on spending itself. If people with high spending skip the question and that tendency cannot be explained by observed variables, MNAR may be plausible.
These are not permanent labels attached to a dataset. The assumptions can differ by variable, by the relationship being estimated, and by which other variables were observed. Comparing a missingness indicator with known variables can provide clues and can challenge MCAR. A nonsignificant test does not prove MCAR, however, and observed data alone cannot conclusively identify MAR versus MNAR. The principled approaches to missing data in epidemiologic studies and a statistical framework for practice explain these distinctions and diagnostic limits.
Define the analysis before inspecting missingness
First define the quantity you want to estimate. “Average spending among respondents with complete records” and “average spending among all active subscribers” are different questions. If you analyze only complete respondents, do not describe the result as applying to all subscribers without further justification. Then examine not only the count and percentage missing for each variable, but also which variables are missing together and whether missingness varies by time, group, or survey mode.
A practical sequence is:
Fix the unit and target quantity. Record the population, period, outcome, denominator, and required covariates. Decide which observations can contribute despite missing values and which would be excluded.
Preserve the meaning and reason for absence. When possible, distinguish zero, unknown, declined, not applicable, not collected, and measurement failure with separate codes and documentation. Keep the original data and transformation history.
Summarize missingness patterns. Inspect rates by variable, the number of missing variables per record, combinations of missing variables, timing, and subgroup rates. Do not report only one overall percentage.
Explore relationships between missingness and observed variables. Compare or model whether known age, plan, survey mode, or prior measurements are associated with response. This is exploratory work that helps investigate plausible causes; it does not prove MAR.
Choose an analysis and disclose its assumptions. Complete-record analysis, likelihood-based methods, weighting, and multiple imputation serve different purposes and rely on different conditions. Explain plausible MNAR concerns that the observed data cannot resolve, using sensitivity analysis where appropriate.
Consider the hypothetical subscription survey again. Knowing that 10% of monthly-spending answers are missing is not enough to choose a method. If the answers were lost completely at random, the observed mean may be less precise without necessarily being substantially biased. If response differs by observed age and plan and those variables are included appropriately, a method based on MAR may be considered. But if higher spenders are more likely to decline within the same age-and-plan groups, MAR may not be adequate. In that case, vary the assumed spending distribution among nonrespondents over a defensible range and report which assumptions change the conclusion. This scenario is illustrative, not evidence about actual subscriber behavior.
What are the trade-offs between exclusion and filling values?
Complete-case analysis keeps only records with observed values for every variable needed for the analysis. It is simple to implement but discards cases and information. Whether it is biased depends on the missingness process, the analysis model, and the estimand. MCAR is a strong sufficient condition for validity in common settings, but it is not the only possible condition in every model. Under some MAR or specific MNAR structures, a complete-case estimate of a particular coefficient may still be valid. It is therefore inaccurate to say either that complete-case analysis is always valid or that it is always wrong unless MCAR holds. See the discussion of complete-case validity and efficiency under different assumptions.
Replacing every missing value with one number, such as the mean, zero, or the last observed value, can make a table look complete while ignoring uncertainty and distorting variability or relationships among variables. Multiple imputation creates several completed datasets based on observed information, analyzes each, and combines the uncertainty in the results. Likelihood-based methods and weighting are other options. These methods depend on assumptions such as MAR, suitable model specification, and useful auxiliary variables; they are not automatic recovery tools. If MNAR is a material concern, use external evidence and explicit scenarios to examine how results change. See the discussion of assumptions and limits of missing-data imputation methods and the practice framework, including sensitivity analysis. Detailed imputation methods are a separate topic.
Reduce missingness and report decisions transparently
Preventing avoidable missingness during collection is usually better than guessing values afterward. In a survey, distinguish “do not know,” “prefer not to answer,” and “not applicable.” In a system, track measurement failures and data that were never transmitted. Required fields can reduce blanks, but they can also drive users away or encourage arbitrary entries; forcing every field is not a universal fix. Monitor whether missingness is concentrated in particular groups or periods.
At a minimum, report:
The analysis population and denominator, plus missing counts and percentages for key variables and differences across groups
The number of excluded records, exclusion rules, missingness reasons, and how the analysis handled them
The assumptions and models used for complete-case analysis, imputation, or weighting
The possibility of MAR or MNAR that cannot be verified from observed data alone
Any sensitivity-analysis assumptions and how the conclusions changed under them
Handling missing data is not simply the task of eliminating blank cells. It is an analytical decision about what is unknown and how that unknown information could affect a result. Define the target population and missingness pathway, disclose assumptions, and show how conclusions change when those assumptions change so readers can judge where the findings apply.
References
Morris, White & Royston, “Missing data: A statistical framework for practice” “Principled Approaches to Missing Data in Epidemiologic Studies” “Missing Data and Imputation Methods”