Twelve ways to summarize one list
Descriptive statistics reduces a list of numbers to a few values that capture its middle, its spread and its shape. This topic has twelve tools. For the center there are the Mean Median Mode Calculator, the Geometric Mean Calculator, the Harmonic Mean Calculator and the Root Mean Square Calculator. For spread there are the Range Calculator, the Variance Calculator, the Standard Deviation Calculator, the Mean Absolute Deviation Calculator and the Median Absolute Deviation Calculator. For position there are the Quartile Calculator, the Percentile Calculator and the Interquartile Range Calculator. Each one answers a different question, and picking the wrong one is the main way descriptive statistics goes astray.
Which average fits which data
Four tools produce an average, and they are not interchangeable. The arithmetic mean suits additive quantities. The geometric mean multiplies values and takes a root, so it fits growth factors: yearly changes of +10% and +21% are factors 1.10 and 1.21, whose geometric mean is about 1.1537, or about 15.4% a year, since the product is 1.331. The harmonic mean suits rates over equal distances, so driving 30 km/h one way and 60 km/h back averages 40 km/h, not 45. Root mean square squares first, which keeps negatives from cancelling, and it is used for alternating signals and error measures. Use the median when outliers could mislead.
Variance and standard deviation
Variance averages the squared distances from the mean, and the standard deviation is its square root, returning the measure to the original unit. For the list 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5 and the squared distances sum to 32. The population variance is 32 / 8 = 4 and the standard deviation is 2. The sample version divides by 7 and gives about 4.571 and 2.138. Both calculators have a calculation mode input for choosing the form. The sample form is the usual choice when the list is a sample from a larger group, because dividing by n − 1 corrects the tendency of a small sample to understate variability.
Absolute deviations as robust alternatives
Squaring gives large deviations a heavy weight, so a single extreme value can dominate a standard deviation. The Mean Absolute Deviation Calculator averages the absolute distances from the mean and treats every unit of distance equally. The Median Absolute Deviation Calculator takes the median of absolute distances from the median, which makes it very resistant to outliers: in the list 1, 2, 3, 4, 100 it stays small while the standard deviation explodes. Names are a source of confusion because mean absolute deviation and median absolute deviation share an abbreviation in some texts, so read the tool title. These measures are often scaled by a constant to compare with the standard deviation, and that scaling is a separate step.
Range, quartiles and percentiles
The range is the maximum minus the minimum. It is easy to read and easy to distort, since one extreme moves it. The Quartile Calculator and Percentile Calculator rely on rank. Take the list 3, 5, 7, 8, 12, 13, 14, 18, 21. The median is 12. With linear interpolation between ranks, which these calculators use, the first quartile is 7 and the third is 14, while the median-of-halves method gives 6 and 16, so the exact values depend on the method. The Interquartile Range Calculator subtracts them to describe the middle half of the data, 7 here with the interpolation method. Percentile methods differ in how they interpolate between ranks, so values from different software can differ slightly on short lists. State the method when a result is used in a report.
Choosing between mean-based and rank-based measures
Mean-based measures use every value precisely and have convenient mathematical properties, but they are sensitive to outliers. Rank-based measures such as the median, quartiles and median absolute deviation depend only on the order of values and shrug off extremes, at the cost of ignoring how large the extremes are. Compare them as a quick diagnostic. If the mean and median are close and the standard deviation is similar in size to the interquartile range divided by 1.35, the data are probably near symmetric. A big gap suggests skew or outliers, and the robust numbers will give a better picture of the typical case.
Preparing and entering the data
Clean the list before calculating. Remove text, units and footnote symbols. Decide how to treat missing entries, because skipping them changes the count while replacing them with zero distorts everything. Check that every value uses the same unit and scale. Geometric and harmonic means need positive values, since zero or negative entries make them undefined. Consider whether duplicates are real repeats or a copy error. Round only at the end, since intermediate rounding shifts variances. Record the sample size beside every statistic, together with the date the data were collected, because a mean from three points and a mean from three thousand points are very different kinds of evidence.
Reading the results responsibly
A summary describes the list in front of you. It does not prove anything about a wider population without a proper inference method, and none of these tools tests hypotheses. Two lists can have the same mean, spread and range and yet look completely different when plotted, so graph the data when the decision matters. Report the center and spread together, such as a median with an interquartile range or a mean with a standard deviation. Be careful about reading a small standard deviation as accuracy, since a measurement can be consistently wrong. Use the output to describe and compare, and keep a note of which formula produced each number. When a figure will be quoted elsewhere, include the sample size and the method in the same sentence so readers can judge it.
Weighted and grouped data
The simple tools assume every value counts once. When data come as a frequency table, with values and counts, or when different observations carry different weights, expand the list or compute weighted sums by hand before using any tool that expects raw values. A class with 10 students scoring 70 and 30 scoring 90 has a mean of 85, not 80, which is the usual error when averaging the two group means without weights. Grouped data, where only class intervals are known, can give approximate means and spreads from interval midpoints, and the results should be labeled as approximations.
Frequently asked questions
- Why is the harmonic mean of 30 and 60 equal to 40?
- For equal distances, total distance over total time gives the harmonic mean. Two trips of d km take d/30 and d/60 hours, so the average speed is 2d divided by d/20, which is 40.
- Which standard deviation should I report?
- Use the sample version when your list is a subset of a larger group, and the population version when it contains every value of interest.
- Why do two programs give different quartiles?
- There are several accepted interpolation methods, and they differ on short lists. State the method you used.
- When should I prefer median absolute deviation?
- When outliers are present or likely, since it hardly changes when a single extreme value is added.