Resources · 103
Missing data: distinguish absence, zero and estimation
Prevent silent replacement of absent values from changing the meaning of metrics.
· 4 min
What this guide helps achieve
- Name the states
- Check the denominator
- Compare coverage
- Document estimation
- Expose limitations
Quick check
- Should missing values become zero?
- Can a mean rise without a real increase?
Step-by-step method
- 01
Name the states
Separate not collected, unknown, not applicable and observed zero. Define each state at collection; a blank field does not explain its cause.
Deliverable: state dictionary.
- 02
Check the denominator
Record whether calculation uses all records or only supplied values. Reproduce sum, count and mean on a known small dataset including missing values.
Deliverable: explicit-denominator calculation.
- 03
Compare coverage
Measure missingness by period, channel and segment. Check whether a chart change comes from collection changes rather than new behaviour.
Deliverable: coverage by segment.
- 04
Document estimation
When a purpose justifies imputation, preserve original value, method and estimation flag. Compare decisions with and without the method, especially for lightly observed groups.
Deliverable: sensitivity analysis.
- 05
Expose limitations
Show partial-data status near the result. Assign an owner to complete or qualify gaps; preserve corrected versions instead of silently rewriting history.
Deliverable: visible status and history.
Choose how a value is handled
Check the observed state before choosing next steps.
Observed zero
Preserve its meaning and unit.
Missing observation
Show coverage and the known reason for absence.
Estimated value
Expose method, version and decision sensitivity.
Acceptance case to reproduce
Fictional example: these inputs describe no customer or observed result.
View case inputs
{
"values": [
10,
null,
0
],
"observed_count": 2,
"mean_observed": 5,
"mean_if_missing_replaced_with_zero": 3.3333333333,
"extended_sample": {
"values": [
10,
null,
0,
20,
null,
30
],
"known_count": 4,
"expected_count": 6,
"known_sum": 60,
"mean_observed": 15,
"mean_after_zero_fill": 10
},
"missing_only_sample": {
"values": [
null,
null
],
"known_count": 0,
"mean_observed": null
}
}Expected decision
The observed-value mean is 5. Replacing missing data with zero changes the population and result.
Same data, two means: show the rule
Fictional data: [10, missing, 0, 20, missing, 30]. Four known values out of six expected observations; known sum: 60. The existing zero is an observed value.
| Treatment | Mean calculation | Interpretation |
|---|---|---|
| Known values only | 60 ÷ 4 = 15 | The mean describes four known values. It does not establish that the two missing values would have the same distribution. |
| Missing values replaced with zero | 60 ÷ 6 = 10 | Two zeros were added by a rule, not observed. This mean answers a different question; justify the rule before comparing results. |
| Separate sample: [missing, missing] | Not calculable | No known values: show an unavailable state. A mean of zero would imply an observation that does not exist. |
Fictional variations to test
A Boolean indicator is unknown rather than false.
Preserve that separate state and test the decision rule. Do not turn missing information into implicit denial or authorisation.
An estimate replaces a missing observation.
Retain an imputation marker and its method. Report observed and estimated counts separately to avoid apparent precision.
A sentinel value is treated as a real measurement.
Check the data dictionary before replacement. Preserve the raw value and rule; unusual appearance alone does not establish that it is missing.
Evidence to retain
- Cause and status of missingness per variable.
- Observed, imputed and non-applicable counts.
- Versioned method and retained raw values.
Verification procedure
- Separate missing, zero and estimated values.
- Calculate means before and after excluding missing values.
- Keep counts and per-variable handling rules. Also test a group containing only missing values and check that it is not presented as a measured zero without an explicit rule.
Reusable worksheet
Complete with your authorised observations. These fields are a working template, not observed results.
| Field | Information to record |
|---|---|
| State | Cause and handling rule |
| Calculation | Population, count and units |
| Estimation | Method, version and sensitivity |
Worked example
Illustrative situation
Illustrative case: ten records contain two known amounts and eight missing values. Dividing the sum by ten answers a different question from dividing it by two.
Decision and expected evidence
Publish the denominator, supplied count and rule; do not turn the eight missing values into zero purchases.
Distinguish the mechanisms
| Mechanism | Purpose | Check or limitation |
|---|---|---|
| Zero | Measured null outcome | Do not create it to fill a blank |
| Missing | Unavailable observation | Show coverage |
| Estimated | Method-produced value | Preserve provenance |
Management indicators
| Indicator | What it measures | First action |
|---|---|---|
| Coverage | Usable values over expected records | Inspect missing segments |
| Sensitivity | Difference between documented calculations | Review unstable decisions |
Common pitfalls
- Turn every absence into zero
- Change the denominator without showing it
- Impute without provenance and sensitivity checks
Frequently asked questions
Should missing values become zero?
Only when the business definition establishes that absence actually means zero. Otherwise the result changes meaning.
Can a mean rise without a real increase?
Yes, if the supplied records change. Compare population and coverage before interpreting the trend.
Official references
References consulted: . The method and worksheet propose checks to adapt to your context; they do not constitute certification.
