Tutorials › Introduction to Statistics › Investigating and Reporting an Unusual Observation

Comparing Groups and Handling Outliers · Tutorial 192 of 996

Investigating and Reporting an Unusual Observation

Use a documented, evidence-based workflow to check unusual values and report their consequences for group comparisons.

Beginner 9 min read

What You'll Learn

  • Distinguish an unusual observation from a confirmed data error
  • Check a flagged value against appropriate source records and measurement rules
  • Decide when to correct a value, retain it, or treat it as unavailable
  • Keep an audit trail of the original value and any change
  • Compare group summaries before and after a justified correction
  • Report the effect of a decision without hiding uncertainty

Why an Unusual Observation Needs Investigation

A value far from the rest of a group deserves attention, but its distance from the other values does not tell us whether it is wrong. It may reflect a recording error, a coding convention, a valid but rare case, or an event that genuinely occurred. The appropriate response depends on evidence about how the observation was collected and recorded—not on whether removing it makes a group comparison look more familiar.

Earlier material on outlier flags and group summaries gives tools for noticing unusual values and describing their effects. This tutorial focuses on what to do next: check the record, make a defensible decision, preserve the record of that decision, and report its effect. The examples use hypothetical data.

Definition: An unusual observation is a recorded value that stands out from other values in its group under a chosen descriptive rule or in context. A flag identifies a value to investigate; it does not establish that the value is erroneous. A verified correction is a change to a recorded value supported by an appropriate source record or documented data rule.

A sound investigation separates two questions. First, what value does the best available evidence support? Second, how much does the decision matter to the summaries or comparison being reported? The second question cannot answer the first: a value is not an error merely because it has a large effect on the mean.

A Practical Workflow

Before changing a record, identify the observation and the measurement precisely. Check the individual or sample identifier, group assignment, variable, units, and relevant time point. Then consult a source suitable for that measurement, such as the original form, instrument log, or a data dictionary. A value copied from another spreadsheet is not necessarily independent confirmation of the original.

1
Flag and locate.
Record which value looks unusual, which group it belongs to, and how it was flagged. Find the corresponding source record using the observation's identifier; do not rely on the numerical value alone to locate it.
2
Check what was measured and recorded.
Confirm the variable definition, units, permitted codes, and recording procedure. Compare the value with an appropriate original record or documented rule. Check whether the issue could be a unit mismatch, transcription error, or special code.
3
Make an evidence-based decision.
If reliable evidence establishes the intended value, correct it. If the unusual value is supported as a genuine measurement, retain it. If its meaning cannot be established, do not guess; follow the study's documented rule for unresolved or unavailable values.
4
Preserve the audit trail.
Keep the original entry and document any replacement, reason, evidence source, date, and person or process making the change. Record the treatment of an unresolved value as well. Never silently overwrite or delete an observation.
5
Recalculate and report.
Recompute relevant summaries for the affected group using the documented data decision. State what changed, what stayed the same, and how the group comparison is affected, with units and the analysis rule made clear.

The decision should be consistent with the variable's definition and the data-collection protocol. For example, a value beyond a typical range might be physically possible, while a value coded as “not measured” must not be treated as a numerical measurement. When the source is unavailable or ambiguous, uncertainty should remain visible rather than being replaced by a convenient guess.

Why a Single Value Can Change a Summary

For a group of \(n\) numerical observations, the sample mean is the sum of the values divided by \(n\). If one recorded value changes from \(x_{\text{old}}\) to \(x_{\text{new}}\), while the group membership and all other observations remain unchanged, the mean changes by a predictable amount:

$$ \bar{x}_{\text{new}}-\bar{x}_{\text{old}} = \frac{x_{\text{new}}-x_{\text{old}}}{n} $$

To see this, let \(S\) be the sum of all observations except the one under investigation. Before the change, the mean is \((S+x_{\text{old}})/n\); afterward, it is \((S+x_{\text{new}})/n\). Subtracting the first mean from the second gives \((x_{\text{new}}-x_{\text{old}})/n\). Thus, for a fixed group size, the mean changes in the same direction as the value and by the value's change divided by \(n\).

This result describes the arithmetic effect of changing a value; it does not justify making the change. Other summaries respond differently. A median depends on the ordered positions of values, so changing an extreme value may leave it unchanged if the middle positions are unaffected. The range, by contrast, can change substantially when the smallest or largest value changes. For any report, identify which summaries are relevant rather than assuming every summary moves in the same way.

Worked Example: Correcting a Verified Recording Error

In a hypothetical comparison of clinic waiting times, Group A has recorded times of 12, 14, 15, 16, 17, 18, 20, and 181 minutes. Group B has times of 13, 15, 17, 18, 19, 21, and 22 minutes. The value 181 minutes in Group A is flagged for checking. The original collection form for that identified visit clearly reads 18.1 minutes, and the data-entry record shows that the decimal point was lost. The protocol records waiting time to the nearest tenth of a minute.

The source record supports a correction from 181 to 18.1 minutes. It is appropriate to correct the value, retain both the original and corrected entries in the audit trail, and recalculate Group A's summaries. The correction does not change the group size: \(n=8\).

Group A mean as originally recorded: The sum is \(12+14+15+16+17+18+20+181=293\) minutes, so

$$ \bar{x}_{A,\text{recorded}}=\frac{293}{8}=36.625\text{ minutes}. $$

Group A mean after verified correction: The corrected sum is \(293-181+18.1=130.1\) minutes, so

$$ \bar{x}_{A,\text{corrected}}=\frac{130.1}{8}=16.2625\text{ minutes}. $$

The mean decreases by \(181-18.1=162.9\) minutes divided by 8, or \(20.3625\) minutes. This agrees with the direct calculation \(36.625-16.2625=20.3625\) minutes.

Group B's mean is \((13+15+17+18+19+21+22)/7=125/7\approx17.86\) minutes. As originally recorded, Group A's mean appears much higher than Group B's; after the verified correction, its mean is about 16.26 minutes, lower than Group B's. This comparison describes these group summaries only. The value should be corrected because the source record supports the correction, not because the correction reverses the comparison.

The median of Group A is 16.5 minutes both before and after correction: with eight values, it is the average of the fourth and fifth ordered values, 16 and 17. The range changes from \(181-12=169\) minutes to \(20-12=8\) minutes. A concise report would state that a decimal-point entry error was verified against the original form, that the value was corrected from 181 to 18.1 minutes, and that Group A's mean changed from 36.63 to 16.26 minutes while its median remained 16.5 minutes.

Retain Genuine Values and Treat Codes Correctly

Not every extreme value is a mistake. If the source supports the recorded measurement and it belongs to the population and period being described, retaining it is generally the honest primary analysis. Report summaries that convey the distribution appropriately, and explain the value's effect where it matters. If a supplementary calculation excludes a valid observation, label it clearly as a sensitivity description, state the reason for the exclusion, and do not present it as the primary result without justification.

Worked Example: Retaining a Confirmed Extreme Measurement

In a hypothetical laboratory, turnaround times for seven completed batches are 9, 10, 11, 12, 13, 14, and 42 hours. The 42-hour value is flagged. The batch log confirms the identifier, units, and entry; a documented equipment interruption explains why this batch took longer. It was still a completed batch under the definition used for this summary.

The measurement is unusual, but the records support it as a genuine observation. Retain all seven values in the primary summaries. Their mean is

$$ \bar{x}=\frac{9+10+11+12+13+14+42}{7} =\frac{111}{7}\approx15.86\text{ hours}. $$

The median is 12 hours, the fourth ordered value, and the range is \(42-9=33\) hours. The mean is higher than the median, reflecting the influence of the long turnaround. If someone asks how much the 42-hour batch affects the mean, the mean of the other six values is \((9+10+11+12+13+14)/6=69/6=11.5\) hours. That comparison describes the arithmetic effect of omitting the batch; it does not make omission appropriate.

A suitable report says that the 42-hour turnaround was confirmed in the batch log and retained; the seven-batch mean was 15.86 hours and the median was 12 hours. It may also note the documented equipment interruption. This makes both the decision and its relevance clear without implying that the value was erroneous.

If a record uses a special numeric code, first determine what that code means. Do not include it in calculations as if it were an actual measurement, and do not replace it with zero unless the documentation explicitly defines zero as the correct value.

Worked Example: Recognizing a Code That Is Not a Measurement

In a hypothetical data file, a group's recorded values are 8, 9, 10, 11, 12, and 999 units. The value 999 looks extreme. The data dictionary specifies that 999 means “measurement not available,” and the original form for that individual has no measurement recorded. There is no evidence for an actual value of 999 or for any particular replacement value.

The code is not a measured quantity. Following the documented rule, treat that observation as unavailable for this variable's numerical summaries, rather than as zero or as 999 units. The five observed measurements sum to \(8+9+10+11+12=50\) units, giving

$$ \bar{x}=\frac{50}{5}=10\text{ units}. $$

The report should make clear that five measurements were available and one record was coded as unavailable. If 999 were incorrectly included, the calculated mean would be \((50+999)/6=1049/6\approx174.8\) units, which would summarize the coding convention rather than the measured quantity. Do not guess the missing measurement from the other values; document the code's meaning and apply the stated data rule.

Reporting the Decision and Its Effect

A useful report gives enough information for a reader to understand and reproduce the handling of the observation. Include the group and variable, the original value, what evidence was checked, the decision and its reason, and which summaries were recalculated. When a correction is made, provide the corrected value and preserve the original value in the audit trail. When a valid extreme value is retained, say so; when a documented code represents an unavailable measurement, report that treatment and the number of available observations.

For group comparisons, be explicit about whether the reported summaries use the corrected or retained data. If the decision changes the apparent comparison, describe that change in context and with units. A difference between descriptive summaries does not, by itself, establish why the groups differ. Avoid language suggesting that a correction was made because it produced a preferred result.

Key takeaway: Investigate an unusual value using records and measurement rules, not its effect on the results. Correct only when evidence supports a correction; otherwise retain a valid observation or follow a documented rule for unresolved or unavailable data. Keep an audit trail and report how the decision affects relevant group summaries.

Common Mistakes

  • Deleting a flagged value automatically. An outlier flag is a reason to check a record, not proof that the observation is invalid. Verify its source and meaning before deciding how to handle it.
  • Changing a value because it makes the comparison look better. A desirable-looking mean is not evidence. Base a correction on the source record or a documented rule, and report the effect after making the decision.
  • Replacing an unclear value with a plausible guess. A value that seems typical is not necessarily the value that was measured. Preserve uncertainty and follow the documented procedure for unresolved data.
  • Reporting a corrected result without the correction history. State the original value, the evidence supporting the change, and the corrected value; retain the original entry in the audit trail.
  • Treating a special code as a measurement. Check code definitions before calculating numerical summaries. A code for unavailable data is not a large measurement or a zero.

Check Your Understanding

Answer each question using the evidence and reporting principles in this tutorial.

  1. A flagged value is far from the rest of its group, but the original measurement record confirms it. What should you do before deciding whether to retain it?
  2. A source form verifies that 73 was entered instead of 7.3. What information should be preserved and reported when correcting the record?
  3. Why does changing one observation by 12 units change a group mean of size \(n\) by \(12/n\) units, if the group membership is unchanged?
  4. A data dictionary defines 999 as “not recorded.” Should it be included as a measurement of 999, changed to zero, or treated according to the documented missing-value rule? Explain.
  5. A valid extreme observation raises the mean but leaves the median unchanged. Is that difference a reason to remove the observation? What should a transparent report say?