03 · What You Need to Know
How to Distinguish Data Errors From Genuine Unusual Observations
Why Are Data Errors and Outliers Not the Same Thing?
A data error occurs when recorded information is incorrect according to the relevant source, measurement definition, or collection procedure. An outlier is an observation that differs markedly from other observations under a specified statistical criterion.
These categories can overlap, but neither implies the other.
For example, a participant's weekly study time might be recorded as 40 hours when the original questionnaire says 4. This is a transcription error, regardless of whether 40 hours is statistically unusual.
Another participant might genuinely report 40 hours of study. The value could be an outlier without being erroneous.
The National Institute of Standards and Technology (NIST) explicitly distinguishes outliers caused by bad data from those arising through natural variation or scientifically interesting processes. Its guidance cautions against automatically deleting observations whose validity remains uncertain.
Data error
An incorrect recording, coding, measurement, or processing result established through relevant evidence.
Legitimate unusual observation
An authentic observation that differs from typical values but remains valid under the study's definitions and collection procedures.
What Evidence Can Establish That a Value Is Wrong?
Different types of evidence support different conclusions. Researchers should distinguish evidence that establishes an error from evidence that merely raises suspicion.
| Evidence |
What It Can Establish |
Important Limitation |
|
Original questionnaire or source record
|
Whether a transferred value matches the recorded response. |
The original response itself may still contain measurement error. |
|
Codebook or instrument
|
Whether a value violates permitted codes or measurement boundaries. |
It may not reveal the correct replacement. |
|
Collection or processing logs
|
Whether an import, transcription, or transformation error occurred. |
Logs may be incomplete or insufficient to reconstruct the observation. |
|
Statistical outlier test
|
Whether a value is unusual under a selected criterion. |
Unusualness does not establish factual incorrectness. |
|
AI-generated explanation
|
A possible reason why an observation deserves investigation. |
A plausible explanation is not independent verification. |
For a confirmed transcription error, the original source can establish the correct value. For an unusual but accurately recorded response, the source may confirm what the participant reported without proving that the participant's report is factually accurate.
This distinction is particularly important in self-report research, where researchers ordinarily analyze what participants reported rather than independently verifying every experience described.
Can AI Recognize Impossible Values?
AI can help construct rules that identify values incompatible with the variable's definition.
For example, a response of 8 on a five-point Likert item is invalid if the codebook permits only integers from 1 to 5. A negative number of children is also invalid if the variable represents a nonnegative count.
However, invalidity does not reveal the intended value. A recorded response of 8 could result from a transcription error, an incorrect code, or a problem in the collection system.
The researcher should investigate the source before deciding whether to correct the value or designate it as unresolved.
The related task of detecting missing and impossible values concerns these explicit constraints. The present decision goes further by asking what the available evidence permits researchers to conclude about each flagged observation.
Can Statistical Methods Tell Whether an Outlier Is an Error?
Statistical methods can identify unusual observations, but they generally cannot establish whether those observations were recorded correctly.
Methods such as interquartile range fences, z-scores, robust deviation measures, and multivariate distances examine how observations compare with a reference distribution.
For example, a value more than three standard deviations above the mean may be flagged for investigation. Yet the threshold describes relative extremity, not the probability that the observation is a mistake.
Statistical thresholds are also sensitive to distributional characteristics. A strongly skewed variable may naturally contain many high observations, while an incorrectly entered value can fall comfortably within the typical range.
Consequently, identifying potential outliers should be understood as a screening procedure rather than an error-verification procedure.
Can an Incorrect Value Look Perfectly Normal?
Yes. Some of the most difficult errors are those that produce plausible observations.
Suppose a student selects 2 on a five-point academic self-efficacy item, but the researcher enters 4. Both values are permitted, and neither may be statistically unusual.
An AI system examining the completed dataset may have no reliable basis for detecting the mistake.
Independent double entry, comparison against source questionnaires, and systematic verification procedures can identify errors that distributional screening misses.
This is why detecting data entry errors cannot rely exclusively on identifying extreme values.
What If the Observation Is Unusual but Matches the Original Record?
Matching the source record establishes that the value was transcribed faithfully. It does not necessarily establish that the participant understood the question correctly or that the measurement instrument was error-free.
For example, a student might genuinely report using AI tools for 60 hours per week. The response may reflect extensive use, an unusual interpretation of what counts as AI use, or a misunderstanding of the reporting period.
If the original response cannot be clarified, the researcher should document the uncertainty rather than replace the value with a more typical number.
Depending on the analytical purpose, retaining the observation and conducting a sensitivity analysis may be more defensible than excluding it without sufficient evidence.
What If the Observation Is Statistically Influential?
An observation can be valid yet substantially influence a statistical estimate.
For instance, one student with exceptionally high weekly AI usage might affect the estimated relationship between AI use and academic performance.
Influence diagnostics can help determine how strongly the observation affects the fitted model. However, influence is not proof of error and does not automatically justify exclusion.
Researchers may consider robust methods, alternative model specifications, or sensitivity analyses where appropriate. Any decision should follow the research question and analytical assumptions.
NIST's guidance on outlier detection recognizes that unusual observations may contain scientifically important information and that robust statistical approaches may be preferable when outliers cannot be dismissed as erroneous.
Can AI Use Context to Decide Whether an Observation Is Plausible?
AI can help researchers identify contextual questions worth investigating. It might recognize that a reported 45 hours of weekly AI use is possible, whereas a value of 450 hours exceeds the number of hours in a seven-day week.
Even apparently straightforward contextual checks require careful variable definitions. A reported usage value might represent cumulative device time, overlapping activities, or a measurement collected over a different period.
The researcher should therefore supply the AI with the codebook, study population, units, and relevant collection rules rather than asking it to decide what values look realistic.
AI-generated contextual explanations should remain hypotheses for verification, not evidence that a participant made a mistake.
What Should Happen When the Evidence Is Inconclusive?
Some observations cannot be conclusively classified as correct or erroneous. The original questionnaire may be unavailable, collection logs may be incomplete, or the response may be ambiguous.
Researchers should avoid forcing every flagged observation into a binary classification of valid or invalid.
A useful review system distinguishes confirmed errors, verified source-consistent observations, unresolved anomalies, and observations requiring a separate analytical decision.
For unresolved cases, document the available evidence and consider whether the intended analysis is sensitive to reasonable alternative treatments.
The UK Data Service emphasizes documenting what was collected and how raw data were changed. Maintaining this information is essential when future researchers need to understand why an unusual observation was retained, corrected, or excluded.
How Should AI-Assisted Decisions Be Recorded?
Each flagged case should retain its record identifier, original value, reason for the flag, evidence examined, review conclusion, and any approved action.
For example, a record might state: "P118, weekly AI use = 45 hours, flagged by IQR rule, original questionnaire confirms 45, retained, sensitivity analysis planned."
This is more defensible than recording "AI detected an outlier" without explaining what happened afterward.
Researchers should preserve an audit trail of AI-assisted cleaning decisions so that unusual observations remain traceable to their original evidence.