Use the median when the question is what a typical observation looks like and a few very large or very small values pull the arithmetic mean away from the main group. Use the mean when each value should contribute in proportion to its size, such as when estimating a total from an average. When the answers differ, show the distribution and explain which question your chosen summary answers.
How do you calculate the mean and median?
The arithmetic mean is the sum divided by the number of observations. The median is the middle value after sorting. For an even number of numeric observations, take the mean of the two central values. Both statistics retain the original units and can fall between observed values. The mean uses the magnitude of every value. The median mainly depends on which observations occupy the centre of the sorted list. NIST handbook on measures of location
Worked example 1. What changes when one reading is unusually large?
Take seven illustrative observations of 12, 13, 14, 14, 15, 16 and 35. They sum to 119, so the mean is 17. The fourth observation after sorting is 14, so the median is 14. The mean lies above six observations. If you describe a typical result for someone looking at the main cluster, 14 is more representative of that cluster. If you need to reconcile the total of all seven readings, the mean of 17 is the relevant summary because 17 × 7 returns 119.
For comparison, replace 35 with 17 while keeping the other readings the same. The new total is 101 and the mean is about 14.43. The middle observation is still 14. This is a sensitivity example with deliberately changed data, not a reason to remove a valid observation from an actual dataset. First establish whether the distant reading is a genuine event, a recording problem or a consequence of combining categories that should be reported separately.
Worked example 2. Which average helps with a resource estimate?
Suppose six independently recorded equipment sessions lasted 18, 19, 20, 21, 22 and 80 minutes. The median is (20 + 21) ÷ 2 = 20.5 minutes. The mean is 180 ÷ 6 = 30 minutes. If someone asks how long a middle session took, the median is a natural answer. If the sessions are representative and a manager wants an estimate of the combined time for ten comparable sessions, multiplying the mean by ten yields an estimate of 300 minutes. Multiplying the median by ten gives 205 minutes and underestimates the budget if long sessions occur at the same rate.
In this example the long session consumed 80 of the 180 recorded minutes. It still matters even if it is uncommon. For planning, report the mean and the observed frequency of long sessions alongside the median. A small sample gives only a rough picture of the tail. If the long session had a known cause, such as a scheduled maintenance check, identify it and decide whether future sessions will include that cause too.
What should you show alongside the centre?
| Question | Useful starting summary | What else to report |
|---|---|---|
| Where is the middle observation? | Median | Individual points or quartiles, plus the sample size |
| What is the total per observation? | Arithmetic mean | Sample size, variability and unusually large contributions |
| Why do two batches look different? | Group-specific summaries | Separate distributions, sample sizes and batch identifiers |
For a small sample, show individual points on a common scale. For larger samples, a histogram or box plot can help show the centre and tail. A median is often accompanied by the first and third quartiles, or by their difference, the interquartile range. Say which you report. Different software can calculate quartiles differently in small samples, so record your convention if exact reproduction matters. Similar medians can occur in datasets with very different tails or with two distinct clusters.
What if the surprising value looks incorrect?
Check the original file, units, instrument notes and documented exclusion rules. A value of 350 could reflect a misplaced decimal, a unit mismatch or a real observation. Keep the original entry traceable and document any correction. If the value remains valid, use a plot to show how it relates to the other observations. You can also report the mean and median together to make the influence of the tail visible. Avoid switching to the statistic that happens to make the result look closer to your expectation after examining the data.
How can a spreadsheet check prevent mistakes?
For numeric values in B2 through B8, =AVERAGE(B2:B8) returns the arithmetic mean and =MEDIAN(B2:B8) returns the median. Use =COUNT(B2:B8) to verify the number of numeric rows. A blank cell and a measured zero mean different things. When multiple batches are stacked in one worksheet, keep the batch identifier in its own column and verify each formula uses the intended group. If batches have unequal sizes, the simple mean of the batch means gives each batch equal weight. The mean of all readings gives each reading equal weight. Choose the result that matches the unit about which you intend to draw a conclusion.
What should you write in the report?
Identify the units, the number of observations and the reason for choosing the summary. For the dot plot example, you might write “The median was 14 units and the arithmetic mean was 17 units across seven observations. One observation at 35 units formed the upper tail.” Include the plot or raw values where possible. A reader can then see which description fits the question and understand why two correct averages differ. For choosing a spread or uncertainty summary, read the BMB-UOG guide to SD, SEM and confidence intervals.
When is a single centre insufficient?
Suppose readings from two instruments form separate clusters, one near 10 and one near 30. If the groups are equally sized and narrowly spread, the overall mean may be close to 20, a value that describes neither instrument well. The pooled median can also fall between the clusters. Report by instrument and ask whether the differences reflect a known change in conditions, a calibration issue or a real difference in the material measured. If the goal requires one combined summary, explain how the groups were sampled and weighted, and include the grouped plot. The plot reveals the two clusters immediately, while either centre by itself hides them.
How can you explain a change in the mean when the median is stable?
Compare the tails before concluding that the whole distribution shifted. Imagine two groups with the same set of central readings, but one group has more unusually long equipment sessions. Their medians can remain similar while the mean rises. If the question concerns routine experience, the median answers one part of it. If the question concerns workload or unusually long delays, show the number of observations in the upper tail and the share of total time they consumed. Define any cutoff in advance if you intend to compare tail counts formally.
The reverse pattern can also occur. A movement in the middle can be offset by a change at an extreme, leaving the mean unchanged. Report both summaries when the difference matters, then let a plot show which observations account for the change.
0 Comments
We will get back to you as soon as possible and thanks for the comment.