Why the Status of a Value Matters
A data record may have an empty cell, a response such as “don’t know,” or a value marked “not applicable.” These entries can all mean that a usual measurement is unavailable, but they do not say the same thing. One may indicate that nobody recorded an answer; another says the respondent could not provide one; a third says the question does not fit the case at all.
Keeping these states distinct helps make a data set interpretable. It clarifies what was observed, which cases were eligible for a variable, and which records can be used in a particular summary. It also prevents a tempting but incorrect shortcut: treating every unavailable value as zero. Zero is a numerical value with a meaning of its own; it does not mean “we do not have an answer.”
These labels describe the status of information, not necessarily the underlying value. A blank does not tell us why an answer is absent. An “unknown” response tells us that the answer could not be provided, but does not reveal what the answer would have been. A not-applicable response tells us that the question is outside the relevant scope for that case.
Three Different Situations
Consider a hypothetical survey asking people how many shifts they missed at their current workplace during the previous month. The wording assumes the person has a current workplace. The following entries have different interpretations:
| Entry in the record | What it indicates | What it does not establish |
|---|---|---|
| Blank cell | No value was recorded for this case. | Why the value is absent, or what it would have been. |
| “Don’t know” | The respondent could not provide the requested count. | The count itself. |
| “Not applicable” | The person has no current workplace, so the stated question does not fit. | That the number of missed shifts was zero. |
| 0 | The person had a current workplace and reports missing no shifts. | That the information was absent or the question did not apply. |
The details depend on how a variable is defined. For example, “number of shifts missed at your current workplace” does not apply to someone without a current workplace. A different question—such as “number of paid work shifts missed at any job”—might apply to a wider group. The question’s wording and the case determine applicability.
An unknown response can sometimes be useful in its own right. If the variable being studied is “whether the person knows their monthly medication cost,” then “does not know” is an informative response category. But if the variable is the cost itself, “does not know” is not a cost amount. It should not be mixed with numerical costs as though it were an ordinary amount.
Worked Example: Classifying Survey Entries
A hypothetical workplace survey asks each person with a current job how many shifts they missed at that job last month. Four records contain these entries: 2, 0, “Don’t know,” and blank. A fifth person has no current job and is marked “Not applicable.” Classify each entry.
2: This is a recorded numerical count: the person reports missing two shifts.
0: This is also a recorded numerical count. The person reports missing no shifts; it is not an absent answer.
“Don’t know”: This is an explicit response that the person cannot provide the count. It does not tell us whether the count is 0, 2, or another number.
Blank: No count or explicit response was recorded. The record alone does not reveal whether the person skipped the question, the survey process failed, or the value was lost.
“Not applicable”: The person has no current job, so the question about shifts missed at that job does not apply as worded. This is not evidence that the person missed zero shifts at a current job.
Why Unavailable Values Are Not Zero
Zero is a valid numerical value when it represents none of the measured quantity. A person who had an eligible workplace and missed no shifts can have a recorded count of 0. By contrast, a blank value, an explicit “don’t know,” or a not-applicable response does not report a count of zero. Replacing any of these states with zero changes the meaning of the record.
The effect on a numerical summary can be shown directly. Suppose two applicable, recorded values are 10 and 14 units, while two other values are unavailable. The mean of the two recorded values is 12 units. If the two unavailable values are replaced with zero, the total remains 24 units because adding zero does not change a sum. However, the number of values included in the calculation increases from two to four, so the calculated mean becomes 6 units.
Here, \(\bar{x}_{\text{recorded}}\) is the mean of the available numerical records, not automatically the mean for every eligible case. The calculation with substituted zeros is a different calculation: it treats both unavailable entries as actual zero measurements. Unless zero is known to be the true value for each case, that substitution is not justified.
Worked Examples in Recording and Counting
Worked Example: Keeping Response Statuses Separate
In a hypothetical survey, 12 people are asked for the number of shifts they missed at their current workplace last month. Two people have no current workplace, so the question does not apply to them. Of the remaining 10 eligible people, eight provide numerical counts, one answers “Don’t know,” and one has no recorded response. How should these records be described?
Step 1: Separate eligible from not applicable. There are 12 people in the survey. Two are marked not applicable, leaving \(12-2=10\) people for whom the question applies.
Step 2: Describe what is available among the eligible cases. Eight of the 10 eligible people supplied numerical counts. One explicitly could not provide a count, and one has an unrecorded value.
Step 3: Check the counts. The eligible records add up to \(8+1+1=10\), and including the two not-applicable records gives \(10+2=12\) total people.
A summary of the recorded numerical counts would use the eight numerical values, with units of shifts. It should not silently count the unknown, blank, or not-applicable entries as zero. A clear report would state both the number of applicable cases and how many had numerical values, rather than giving a count without its data status.
Worked Example: A Legitimate Zero Beside an Unrecorded Value
A hypothetical service log records the number of late deliveries for four applicable routes during one week. The entries are 0, 1, blank, and 3. Find the mean among the recorded numerical values, and explain why the blank should not automatically be entered as zero.
The recorded values are 0, 1, and 3 late deliveries. Their sum is \(0+1+3=4\), and there are three recorded numerical values. Therefore,
The mean of the recorded values is about 1.333 late deliveries per route for this calculation. The zero remains in the calculation because it is an observed report of no late deliveries. The blank is excluded because no count was recorded. If the blank were replaced by zero, the sum would still be \(4\), but the calculation would use four values:
That result of 1 late delivery per route treats the blank route as if it had a recorded count of zero. The log does not support that interpretation. The value \(1.333\) is the mean of the three recorded counts; neither calculation by itself establishes the unobserved route’s count.
A Short Justification for Tracking the Denominator
A mean is a sum divided by the number of values being averaged. If the numerical values available for an applicable variable are \(x_1,\ldots,x_m\), their mean is the sum of those \(m\) values divided by \(m\). The number \(m\) must match the values actually included. An unavailable entry is not part of that set unless a defensible rule supplies a value for it.
Suppose the recorded values have sum \(S\), and there are \(m\) recorded values. The mean of those recorded values is \(S/m\). If \(k\) unavailable entries are instead assigned zero, the sum remains \(S\), since \(S+0+\cdots+0=S\), but the denominator becomes \(m+k\). When \(S\) is positive and \(k>0\), \(m+k>m\), so \(S/(m+k)<S/m\). Thus zero substitution can lower the mean even though it did not change the sum. This arithmetic explains the issue; it does not determine whether the recorded cases are representative of cases with unavailable values.
The arithmetic also shows why reporting only a mean can hide important information. A reader needs to know what cases the variable applies to and how many actual numerical values contributed. A mean based on recorded values describes those values. It does not, without further information, tell us the values that were missing or the values for cases where the variable did not apply.
Good Recording Practice
A well-organized data record makes the status of each entry apparent. Preserve the distinction between a numerical value, an explicit response such as “don’t know,” a value that was not recorded, and a not-applicable case. If a system uses codes such as “UNK,” “NA,” or a special number, document what each code means; otherwise, someone reading the data may mistake a code for a real response or measurement.
When reporting a count or summary, state the relevant denominator in words. For example, “Eight of the ten people for whom the question applied provided a numerical count” tells the reader more than “Eight responses were available.” It distinguishes the eligible group from the people who supplied numerical values.
These distinctions are useful even before any advanced analysis. They support accurate descriptions of the data, make record-keeping clearer, and help prevent unsupported assumptions about cases with unavailable values. Whether a later analysis can use additional information or a particular strategy is a separate question; the first requirement is to know which kind of value status each record represents.
Common Mistakes
- Wrong: “The cell is blank, so the value must be zero.” Correction: A blank says that no value was recorded. It gives no numerical answer.
- Wrong: “A respondent who does not know the answer gave the same response as someone who skipped the question.” Correction: “Don’t know” is an explicit response; a blank has no recorded explanation.
- Wrong: “Not applicable means the answer is zero.” Correction: Not applicable means the question does not fit the case as defined. A zero is a numerical answer for an applicable case.
- Wrong: “Filling missing cells with zero leaves a mean unchanged because it does not change the sum.” Correction: The sum of the recorded values remains unchanged, but the number of values used increases. The mean can change because it divides by that larger number.
- Wrong: “A mean of the available values must describe everyone who was eligible.” Correction: The calculation describes the values included. The unavailable records remain unavailable, and the mean alone does not supply their values.
Check Your Understanding
For each question, explain what the recorded information does—and does not—tell you.
- A blank cell appears for an otherwise eligible case. What can you conclude about why the value is absent?
- A respondent answers “Don’t know” to a question asking for a numerical amount. Why is this not itself a numerical amount of zero?
- A question asks for the number of shifts missed at a current workplace, but the person has no current workplace. Why is “not applicable” different from a count of zero?
- The recorded numerical values are 5 and 9, and two other entries are unavailable. Calculate the mean of the recorded values. Then calculate the mean if the unavailable entries are replaced with zero, and explain the difference.
- What information should be reported alongside a mean when some cases are not applicable and other applicable cases have no recorded numerical value?