A flag starts a question
An outlier is an observation identified as unusual under a particular comparison. Different rules can flag different observations. A comparison with the whole dataset asks a different question from a comparison with nearby readings. The method and the reference group belong beside any reported flag.
Hypothetical example
Suppose a sensor records a brief jump during a scheduled change in operating conditions. The reading may look exceptional beside the rest of the day, yet fit the event that produced it. A transcription error could produce a similar-looking jump for an entirely different reason.
Investigate before editing
Check available context before treating a flag as a reason to remove a record. Look for changes in units, recording procedures or equipment settings. An unusual observation may be an error, a meaningful event or simply part of a broad distribution. A numerical threshold cannot make that distinction alone.
Explain the consequence
Keep the original value and record the reason for any exclusion. Where useful, compare the interpretation with and without the flagged observation. The purpose is to show how much the conclusion depends on a judgment, rather than to make the dataset appear more orderly.
Before excluding an observation
Preserve the original value, the comparison group and the contextual reason for the decision.
Further reading: MathWorks: Identifying outliers.