Field notes
Single Readings Versus a Rolling Average: What Each Shows in a Log
A single reading is a dated fact. A rolling average is a view calculated from several of them. Here is what each one shows in a personal log, what each one hides, and why the raw entries stay.
A single reading is a dated fact: this value, recorded at this time. A rolling average is a view calculated from several readings, and it answers a different question. Keep the readings as your record. Think of the average as something you compute from them, never as something you type in.
This article is about reading a log, not about what to do with what it shows. Neither view tells you why a number moved.
What a single reading shows#
A single reading shows exactly what was entered, when it was entered, and nothing else. That makes it the only part of a log you can audit later. If an entry looks odd, you can open it, check the timestamp, and ask whether it was a typo, a different device, or a real outlier.
A single reading also keeps the unusual days visible. A spike or a dip is right there on the row where it happened. An average spreads that day across its neighbors, and the day is no longer visible on its own.
| | Single reading | Rolling average | |---|---|---| | What it is | One recorded value with a timestamp | The mean of the last several entries | | Shows well | Outliers, exact values, entry errors | Direction over several entries | | Hides | Whether it is typical | Individual spikes and the spread | | Can you audit it | Yes, it is the source | Only by going back to the readings | | Stored or computed | Stored | Computed |
What a single reading cannot tell you#
One reading cannot tell you whether it is typical. Repeated measurements of the same thing are rarely identical. A paper on regression to the mean in health data puts it this way: "Rarely are any two observations identical, even if taken minutes apart, due to natural biologic variability or measurement error." The same paper notes that over many repeated observations, that variability narrows around the true mean.
There is a second effect. An unusually high or low value tends to be followed by one closer to the middle, even when nothing changed. This is regression to the mean, and it is a good reason to be careful about reading a story into one extreme entry.
Individual variation is real, so no number from a study carries over to your own entries. The point is only that one entry is thin evidence about a pattern.
What a rolling average does#
A rolling average, also called a moving average, replaces each point with the mean of the last few. Wikipedia describes the purpose as "to smooth out short-term fluctuations and highlight longer-term trends or cycles". Each time a new entry arrives, it joins the window and the oldest entry drops out.
The window is the number of entries included. A short window follows the data closely and still looks jumpy. A long window looks smooth. What counts as short-term or long-term, in the words of the same article, "depends on the application." There is no correct window in the abstract.
That smoothness has a price in timing. A simple average of past entries lags behind the latest value by about half the window width. If a window covers seven entries, the line is describing a point roughly three entries ago, not today.
What a rolling average costs you#
A rolling average gives up four things, and none of them are obvious on the chart.
Timing. Because of the lag above, the line turns after the data has already turned. Reading it as "where things are now" overstates how current it is.
Spread. Averaging removes the ups and downs, and the ups and downs are information. A flat line can be built from steady entries or from wild ones that cancel out. A study of home blood pressure readings makes a related point: the authors say that one would expect a reduction in variability by averaging repeated measurements, yet they still found regression to the mean in seven-day home averages. Those averages did not necessarily reflect the readings from the preceding or following twelve months. Smoothing narrows noise. It doesn't make a short window stand in for a long period.
Outlier handling. The mean is pulled by rare extreme values. Wikipedia notes that a moving average is susceptible to rare events and that a moving median is a more robust estimate of the trend. If one entry was a typo, a plain average carries that typo along for as many entries as the window is wide. Catching typos before they become trends is easier when the raw rows are still there; see reading a chart of your own log for how that looks on a plot.
Uneven spacing. Most averages count entries, not days. If you logged daily for two weeks and then weekly for a month, "the last seven entries" covers very different stretches of time. The line looks continuous, but the clock underneath it is not.
Choosing a window#
Think of the window as a labeling choice, not a measurement. Pick one, write it next to the average, and keep it the same when you compare periods. Changing the window between two charts changes the look of the line without changing a single entry.
Count entries or count days, and say which. A seven-entry window and a seven-day window are different things whenever entries are missing. If you are unsure how much history a review should cover, how far back a review should look covers that question separately.
Watch the first few points. Until the window fills, the average rests on fewer entries and is noisier than the rest of the line. Many tools still draw it at full confidence.
What to record#
Keep the following in the log itself.
- The raw entry, with its own timestamp, untouched.
- The unit on every row, so averages are never mixed across units.
- A note when an entry is a known error, kept in place and flagged instead of overwritten.
Keep the following outside the entries, as computed views.
- The rolling average, calculated from the rows and never typed over them.
- The window, stated as a number of entries or days.
- The count of entries that went into each point, so a thin average is easy to spot.
If you are just starting, a baseline period gives the first average something to stand on. OptimizedTracker stores each entry as its own row, so any average you view is derived from rows you can still open.
Keep both views, and label them#
Single readings are the evidence, and a rolling average is a summary of it. Use the average to see direction and the single entries to check what sits underneath. Label the window, keep the raw rows, and remember that neither one explains a change on its own. Correlation in a personal log is not causation.
Frequently Asked Questions#
Should I replace single readings with the average?#
No. The average is calculated from the readings, so deleting them removes the only thing you can audit. Store the entries and compute the average as a view.
Does a rolling average show whether something worked?#
No. It shows a smoothed version of what you recorded, with a delay. It cannot tell you what caused any change, and a smooth line can look more certain than the data behind it.
How wide should the window be?#
There is no general answer. A narrow window follows the entries closely and a wide one smooths more but lags further behind. Choose one, state it beside the average, and keep it constant when you compare periods.
Share
Related
01
