Calculating and Interpreting Statistics
Calculating Statistics Correctly and Saying What They Mean
Two jobs, not one
Every statistic involves two separate tasks: calculating it correctly and interpreting it correctly. A perfectly computed mean can still be misdescribed, and a well-worded interpretation is worthless if the arithmetic is wrong. A complete answer states the value, its units, what it measures in the context of the data, and any important limitation.
Measures of centre
Mean. Add the observations and divide by how many there are: x̄ = Σx/n. Interpretation: if the total were shared out equally, each observation would receive the mean. It is the balance point of the data.
Median. Order the data. With n odd, the median is the middle value; with n even, it is the average of the two middle values. Interpretation: about half the observations are at or below the median and about half at or above it.
Example. Commute times of 12, 15, 18, 22 and 48 minutes. Mean = 115/5 = 23 minutes. Median = 18 minutes.
The single long commute of 48 minutes pulls the mean above four of the five values, while the median is unaffected. That is what resistant means: the median barely responds to extreme values, while the mean does.
Measures of spread
Standard deviation (sample).
- Find the mean.
- Subtract the mean from each value to get deviations (these always sum to 0).
- Square each deviation and add them.
- Divide by n − 1 to get the sample variance s2.
- Take the square root: s.
For the data 2, 4, 6: the mean is 4, the deviations are −2, 0, 2, the squares sum to 8, s2 = 8/2 = 4, and s = 2. Dividing by n − 1 rather than n is the standard choice when the data are a sample used to describe a larger population.
The standard deviation has the same units as the data; the variance has squared units.
Interpretation: the standard deviation is roughly the typical distance of observations from the mean. It is not a boundary. Some observations can lie several standard deviations away.
Interquartile range (IQR). IQR = Q3 − Q1, the spread of the middle half of the data.
A common hand method finds Q1 and Q3 as the medians of the lower and upper halves of the ordered data; software packages use several slightly different conventions, so state the method.
A common screen flags values more than 1.5 × IQR below Q1 or above Q3 as possible outliers.
Comparing across groups: standardised scores
A raw difference from the mean means different things in groups with different spreads. The z-score z = (x − mean)/SD counts how many standard deviations an observation sits from its own group's mean.
For example, a score of 64 in a class with mean 58 and SD 4 has z = 6/4 = 1.5. A larger |z| means a more unusual value within its group.
Turning z into a percentile (such as "top 7%") requires knowing the shape of the distribution, typically that it is approximately normal; without that information, report the z-score and stop.
Interpreting without over-claiming
Statistic | Says | Does not say |
|---|---|---|
Mean | The equal-share or balance value | The most common value, or that half the data lie above it |
Median | About half the data at or below, half at or above | Anything about how far the extremes extend |
Standard deviation | Typical distance from the mean | That all values lie within one SD, or how many observations there are |
Proportion | The fraction of observations in a category (18 of 45 = 0.40 = 40%) | Anything about individuals outside the data unless the sample represents them |
Choosing what to report
When a distribution is roughly symmetric without outliers, the mean and standard deviation summarise it well.
When it is strongly skewed or has outliers (incomes, house prices, waiting times), the median and IQR usually describe a typical value and typical spread more faithfully. Reporting both centres can be informative, as long as the difference between them is explained.
A clinic records the waiting times, in minutes, of 8 patients: 3, 5, 6, 8, 9, 12, 14, 31. Which statement gives the correct median together with a correct interpretation?
Two sections of a statistics course wrote different versions of an exam.
- Section A: mean 72, standard deviation 4.
- Section B: mean 72, standard deviation 11.
Student X in Section A and student Y in Section B each scored 83. Nothing else is known about the shape of either distribution. Which statement is best supported?