# Outliers in Self-Tracked Data: Spotting Odd Readings Before You Average

By The Optimized Team (Product). Published: 2026-11-24T05:47:52.041933+00:00. Updated: 2026-11-24T05:47:52.657826+00:00.
Canonical: https://optimizedtracker.com/blog/outliers-in-self-tracked-data-before-you-average

One odd reading can drag an average well away from your typical values. Here is how to find it, check why it happened, and record your decision.

Before you average a set of self-tracked values, sort them and plot them. Any value far from the rest deserves a look. Find out why it is odd, then decide whether to correct it, keep it or exclude it, and write that decision down. Averaging first hides the problem, because a single wild value can pull a mean well away from your typical readings.

This is a record-keeping habit, not a medical one. Nothing here tells you what a value means for you. The aim is a log whose summaries you can trust.

## Where odd readings come from

An outlier is a data point that differs significantly from the other observations. There is [no rigid mathematical definition](https://en.wikipedia.org/wiki/Outlier) of one, and deciding whether a point qualifies is ultimately a judgment call. Keep that in mind, because the right response depends on the cause.

Common causes in a personal log:

- **A device or transmission glitch.** A sensor stalled, a sync repeated, or a value was transcribed wrong. Wikipedia lists [transient malfunctions and errors in data transmission or transcription](https://en.wikipedia.org/wiki/Outlier) among the usual causes.
- **A typo.** An extra digit or a misplaced decimal point is the classic case when you enter values by hand.
- **A different condition.** The reading is correct, but it was taken under different circumstances from the others. In statistical terms, it may belong to a different population than the rest of the sample.
- **A real, rare event.** A researcher studying groundwater measurements notes that [an analytically correct measurement could be flagged as an outlier](https://pmc.ncbi.nlm.nih.gov/articles/PMC9640456/), and that a flag alone does not make it wrong.

A gap is a different problem from an odd value. If you are unsure whether a zero is a measurement or a missing one, see [telling a device gap from a real zero](/blog/non-wear-periods-device-gap-vs-real-zero). Normal drift is another separate matter: [why your own values drift](/blog/within-person-variation-why-your-lab-values-drift) covers variation that is real but not odd.

## Why one odd value moves the average

The mean is sensitive to extremes. The median is not. Wikipedia's example is ten objects in a room: nine sit between 20 and 25 °C and one oven is at 175 °C. [The median stays between 20 and 25 °C, while the mean lands between 35.5 and 40 °C](https://en.wikipedia.org/wiki/Outlier).

Statisticians describe this with the breakdown point. [The median has a breakdown point of 50%](https://en.wikipedia.org/wiki/Robust_statistics): half the points would have to be bad before it could move outside the range of the good ones. The mean has a breakdown point of 0, because a single large observation can throw it off.

The spread suffers too. In one published example, the true mean was 10 and the true standard deviation 3. With outliers included, the sample mean was 11.5 and the standard deviation 5.3, [about 1.8 times too large](https://pmc.ncbi.nlm.nih.gov/articles/PMC11392271/). An inflated standard deviation then makes every later check weaker, since a fence built on it grows wider and lets the odd value hide.

Here is a small invented example, with unitless numbers, to show the effect. Seven morning readings: 61, 62, 60, 63, 61, 118, 62. The value 118 looks like a slipped digit or a different condition.

| Summary | Value | What it does with the 118 |
|---|---|---|
| Mean, all seven | 69.6 | Pulled up by about 8 |
| Median | 62 | Barely notices it |
| Trimmed mean (drop highest and lowest) | 61.8 | Ignores it by design |
| Mean without 118 | 61.5 | Only valid if 118 is confirmed wrong |

If you want a closer look at how single readings and smoothed averages differ, [single readings versus a rolling average](/blog/rolling-average-versus-single-reading-in-a-log) covers it. The same logic applies: a rolling mean is only as steady as its worst input.

## Three simple ways to flag a value

You don't need a statistics package. All three checks work in a spreadsheet.

### Sort and plot first

Sort the column from low to high and read both ends. Then plot the values in date order. A typo or a unit slip usually shows up as a lone point far from a tight cluster. It takes a minute and catches most of what the formulas catch.

### The interquartile range fence

Find the first and third quartiles (Q1 and Q3) and their difference, the interquartile range. John Tukey's rule flags anything outside Q1 minus k times that range and Q3 plus k times that range. [Using k = 1.5 marks an outlier, and k = 3 marks a point that is far out](https://en.wikipedia.org/wiki/Outlier). The interquartile range is itself [a robust measure of spread](https://en.wikipedia.org/wiki/Robust_statistics), so one wild value does not widen the fence the way it widens a standard deviation.

### Median and MAD

Take the median, then the absolute distance of every value from it, then the median of those distances. That last number is the median absolute deviation (MAD). A modified z-score built on the median and MAD is [more robust than the usual z-score because it uses the median rather than the mean](https://pmc.ncbi.nlm.nih.gov/articles/PMC9640456/), and a commonly used cutoff is 3.5.

In the invented example, the median is 62 and the distances from it are 1, 0, 2, 1, 1, 56 and 0. Their median is 1. The value 118 sits 56 MADs from the median, so every version of this check flags it. The other six sit within 2 MADs.

One caution: several odd values can hide each other. [Outliers can interact in such a way that they mask each other](https://en.wikipedia.org/wiki/Robust_statistics), so a clean result from a fence is not proof that nothing is odd.

## Flag first, then decide

A flag is a question, not a verdict. The groundwater study makes the point that values a method marks as potential outliers [need to be assessed against expert knowledge, other measurements or further checks](https://pmc.ncbi.nlm.nih.gov/articles/PMC9640456/).

Work through it in this order:

1. **Look for a cause.** Check the source: the device history, the original entry, the time and the conditions that day.
2. **If it is an error, correct it when you can.** Wikipedia notes that [if the origin is an error, removal is generally recommended, but correcting the value is more desirable](https://en.wikipedia.org/wiki/Outlier).
3. **If you find no error, keep it in the record.** Removing a point only because it is an outlier is [a controversial practice that can invalidate results](https://en.wikipedia.org/wiki/Outlier). Use a robust summary such as the median instead.
4. **If you exclude it, say so.** Excluded points [should be clearly stated](https://en.wikipedia.org/wiki/Outlier) in anything you report afterward.

Automatic cleanup has its own risk. Robust statistics notes that [early data showing the ozone hole over Antarctica were rejected as outliers by non-human screening](https://en.wikipedia.org/wiki/Robust_statistics). An odd value can be the most informative one in the set.

## What to record

Keep the raw value untouched and add fields around it. Later, you or anyone reading the log can see what happened.

- The original value, never overwritten.
- A flag column: blank, "checked, kept", "corrected" or "excluded".
- A short reason note: "sync repeated", "typo, 118 should be 61", "taken after travel".
- The method and cutoff you used, such as "IQR fence, k = 1.5".
- Both the median and the mean when you report a summary, so a gap between them is visible.

If your log is new, a [baseline period](/blog/baseline-period-for-your-log-one-reading-is-not-a-starting-point) gives your checks something steady to compare against. A tracker like OptimizedTracker can hold a note on each entry, which is the natural home for the reason you give a flag.

## The short version

Sort, plot, flag, find the cause, and only then average. Prefer the median when you cannot explain a value, correct clear errors rather than deleting them, and write down every exclusion. A log that shows its odd values and what you did about them is more useful than one that looks tidy.
