Choosing mean vs median and SD vs IQR
By Jude Wallis · Published
These 8 problems decide rather than compute: which measure of center and which measure of variability a distribution calls for, and how far each one moves when a value changes or an outlier arrives. Every choice is justified from the data and the question asked, not from a memorized rule.
AP Statistics: Unit 1 (topics 1.6 Descriptions for One Quantitative Variable Distributions, 1.7 Summary Statistics for One Quantitative Variable). These problems cover Unit 1 topics 1.6 (describing shape, center, and variability for one quantitative variable) and 1.7 (choosing and interpreting summary statistics, including which measures are resistant) in the Fall 2026 AP Statistics course. Quartiles follow the median-excluded (TI-84) convention.
What these problems build
These 8 problems ask a different question from the other Unit 1 sets on summary statistics. Standard deviation practice and quartiles and outliers practice compute a statistic once you know which one you want. These problems pick the statistic, then defend the pick from the distribution in front of you.
Two pairs are on offer. The mean ("x-bar") travels with the standard deviation , and the median travels with the interquartile range . The pairing is not decoration: measures distance from the mean, and the IQR measures the width of the middle half around the median, so a center from one pair with a spread from the other describes nothing.
The median, the quartiles, and the IQR are resistant, which this course also calls robust: one extreme value barely moves them. The mean, the range, and the standard deviation are not. That fact is the reason behind the usual advice, and the advice alone is not the answer. Problem 3 has a mean and a median 0.3 minutes apart, and both are useless. Problem 6 has a badly skewed data set where the mean is still the only measure that answers one of the two questions asked. Read the distribution and the question, then choose.
Three conventions run through every solution. Quartiles are median-excluded (the TI-84 rule): find the median, then take and as the medians of the values strictly below and strictly above it. A value is an outlier when it falls more than beyond or . Every data set is treated as a sample, so the standard deviation divides the sum of squared deviations by .
For the background, see mean vs median, standard deviation vs IQR, what a resistant statistic is, and how to describe a distribution. Check arithmetic with the five-number summary calculator, or drag a point into the tail in the descriptive statistics sandbox and watch which summaries follow it. The matching course pages are topic 1.6 and topic 1.7. More sets are on the practice index.
Problem 1
A nursery measures the height, in centimeters, of 11 seedlings from one tray: 23, 21, 26, 19, 23, 24, 22, 27, 23, 20, 25. Treat them as a sample. (a) Find the mean, the median, the standard deviation, and the IQR. (b) Which measure of center and which measure of variability should the nursery report, and what in the data justifies the choice?
Show the worked solution
Sort the heights: 19, 20, 21, 22, 23, 23, 23, 24, 25, 26, 27. There are seedlings.
(a) Mean: the heights sum to 253, so cm. Median: with 11 values it is the 6th, which is 23 cm.
(a) Quartiles, median excluded. The lower half is 19, 20, 21, 22, 23, so cm. The upper half is 23, 24, 25, 26, 27, so cm. Then cm.
(a) Standard deviation: the deviations from 23 are , whose squares sum to 60. So and cm.
(b) Run the outlier check first: cm, so the fences are cm and cm. The minimum of 19 and the maximum of 27 both sit well inside, so nothing is flagged.
(b) Now look at the sorted list. It falls away from 23 by roughly equal amounts on both sides, and the mean and the median agree exactly at 23 cm, so nothing is dragging the mean off center.
(b) That is the case where the mean and the standard deviation earn their keep, because both use every value. As a check that describes a typical distance, 7 of the 11 heights lie within cm of the mean.
(a) Mean 23 cm, median 23 cm, cm, cm. (b) Report the mean and the standard deviation. The distribution is close to symmetric, the mean and median land on the same value, and the 1.5 IQR rule flags nothing, so no extreme value is pulling the mean away from the center of the data.
Problem 2
A school club lists the 10 gifts, in dollars, its one-day online fundraiser received: 20, 15, 275, 12, 30, 10, 40, 18, 25, 15. (a) Find the mean, the median, the standard deviation, and the IQR. (b) The club newsletter wants one sentence about the typical gift. Which pair of summaries should it use, and what in the data settles that?
Show the worked solution
Sort the gifts: 10, 12, 15, 15, 18, 20, 25, 30, 40, 275. There are gifts.
(a) Mean: the gifts sum to 460, so dollars. Median: with an even count it is the average of the 5th and 6th values, dollars.
(a) Quartiles. The count is even, so the lower half is the first five gifts 10, 12, 15, 15, 18, giving dollars, and the upper half is 20, 25, 30, 40, 275, giving dollars. Then dollars.
(a) Standard deviation: the squared deviations from 46 sum to 59,008, so and dollars.
(b) Outlier check: dollars, so the fences are dollars and dollars. The 275-dollar gift is far beyond the upper fence, so it is an outlier.
(b) Look at what the outlier did to each summary. The mean of 46 dollars is larger than 9 of the 10 gifts, so it describes none of the donors. The standard deviation of about 80.97 dollars is larger than the entire range of the other nine gifts, which run from 10 to 40 dollars.
(b) The median of 19 dollars and the IQR of 15 dollars barely notice the 275-dollar gift, because the median depends on position and the IQR on where the middle half sits. Report those two, and mention the large gift separately rather than letting it hide inside an average.
(a) Mean 46 dollars, median 19 dollars, dollars, dollars. (b) Report the median and the IQR. The 275-dollar gift is an outlier by the 1.5 IQR rule, and it pushed the mean above 9 of the 10 gifts and pushed past the whole range of the rest, so the newsletter should say the typical gift was about 19 dollars with the middle half between 15 and 30 dollars.
Problem 3
A 10-person office logs each employee's commute, in minutes: 43, 8, 45, 7, 41, 9, 44, 6, 42, 8. (a) Find the mean and the median. (b) A manager argues that the mean and the median are within half a minute of each other, so the distribution must be roughly symmetric and the mean with the standard deviation is safe to report. Test that argument against the sorted data. (c) What should the office report instead?
Show the worked solution
Sort the commutes: 6, 7, 8, 8, 9, 41, 42, 43, 44, 45. There are employees.
(a) Mean: the commutes sum to 253, so minutes. Median: the average of the 5th and 6th values, minutes. The two are 0.3 minutes apart, exactly as the manager says.
(b) Now read the sorted list. Five commutes are 9 minutes or less, five are 41 minutes or more, and nothing lies between 9 and 41 minutes.
(b) Measure the distance from the center to the nearest real value. The closest commute to the mean is the 41-minute one, and it sits minutes away. No employee commutes anything close to 25 minutes, so the center describes nobody.
(b) The outlier rule does not rescue the argument either. is the median of 6, 7, 8, 8, 9, which is 8 minutes, and is the median of 41, 42, 43, 44, 45, which is 43 minutes, so minutes and the fences sit at and minutes. Nothing is flagged. Passing the outlier check is not evidence that a mean is safe.
(b) For the record, minutes here, which is smaller than the IQR of 35 minutes. Neither number is a typical distance from a center, because there is no typical commute.
(c) The honest summary starts with shape. This distribution has two separated clusters, one from 6 to 9 minutes and one from 41 to 45 minutes, which is what a report should say, with a center and a spread given for each cluster rather than one center for all 10 employees.
(a) Mean 25.3 minutes, median 25 minutes. (b) The argument fails. The sorted data splits into a cluster of 6 to 9 minutes and a cluster of 41 to 45 minutes with nothing between, and the nearest commute to the mean is 15.7 minutes away. The 1.5 IQR rule flags no outliers, so a clean outlier check is no evidence of symmetry either. (c) Report the two clusters separately and describe the shape, because no single center or spread describes this office.
Problem 4
A bakery times how long 8 loaves take to cool, in minutes: 35, 31, 38, 34, 40, 33, 37, 36. (a) Find the mean, the median, the standard deviation, and the IQR for those 8 loaves. (b) A ninth loaf, baked in a much larger tin, took 94 minutes. Before computing, predict which of the four summaries moves most. Then recompute all four with all 9 loaves. (c) What does the comparison show?
Show the worked solution
(a) Sort the 8 loaves: 31, 33, 34, 35, 36, 37, 38, 40. They sum to 284, so minutes, and the median is minutes.
(a) Quartiles: the lower half is 31, 33, 34, 35, so minutes, and the upper half is 36, 37, 38, 40, so minutes. Then minutes.
(a) Standard deviation: the squared deviations from 35.5 sum to 58, so and minutes.
(b) The prediction: the mean and the standard deviation should move most, because both use the value 94 itself, while the median and the IQR only care about where values sit in order.
(b) With the ninth loaf the sorted list is 31, 33, 34, 35, 36, 37, 38, 40, 94, summing to 378. New mean: minutes. New median: with 9 values it is the 5th, which is 36 minutes.
(b) New quartiles. The count is odd, so leave the median out. The lower half is 31, 33, 34, 35, giving minutes, and the upper half is 37, 38, 40, 94, giving minutes. Then minutes.
(b) New standard deviation: the squared deviations from 42 sum to 3100, so and minutes.
(c) Line up the four moves. The mean rose 6.5 minutes while the median rose 0.5 minutes, so the mean moved 13 times as far. The standard deviation went from about 2.88 to about 19.69 minutes, roughly 6.8 times larger, while the IQR went from 4 to 5.5 minutes.
(c) Note that the IQR did move. Resistant means barely moved, not frozen: adding a ninth value changes which values the quartiles land on. Note also that the new mean of 42 minutes is longer than 8 of the 9 cooling times, and that the 94-minute loaf is an outlier, since the new fences are and minutes.
(a) Mean 35.5 minutes, median 35.5 minutes, minutes, minutes. (b) Predict the mean and the standard deviation, since both use the value 94 itself. With the 94-minute loaf: mean 42 minutes, median 36 minutes, minutes, minutes. (c) The mean rose 6.5 minutes against the median's 0.5, and grew about 6.8 times while the IQR moved 1.5 minutes. The resistant pair shifted a little rather than not at all, and the mean now exceeds 8 of the 9 cooling times, so report the median and the IQR while the 94-minute loaf is in the data.
Problem 5
A soil lab weighs the dry mass, in grams, of 9 core samples: 32, 27, 38, 24, 36, 31, 37, 29, 34. The 24-gram core is re-weighed after the technician sees that it had been crumbling, and the corrected mass is 6 grams. No other value changes. First say which of the mean, median, , , IQR, and standard deviation must change. Then compute each one before and after and check the prediction.
Show the worked solution
Sort the original masses: 24, 27, 29, 31, 32, 34, 36, 37, 38. There are cores.
Prediction: the corrected value stays the smallest in the list, so no other value changes position. The median and the quartiles read positions, so they should hold; the mean and the standard deviation read values, so they should move.
Before, the masses sum to 288, so grams, and the median is the 5th value, 32 grams.
Before, the lower half is 24, 27, 29, 31, so grams; the upper half is 34, 36, 37, 38, so grams; and grams.
Before, the squared deviations from 32 sum to 180, so and grams.
After the correction the sorted list is 6, 27, 29, 31, 32, 34, 36, 37, 38. The 5th value is still 32 grams, the lower half is still four values (6, 27, 29, 31) whose median is still 28 grams, and the upper half has not changed at all. So the median stays 32, stays 28, stays 36.5, and the IQR stays 8.5 grams.
The mean does move, and by a predictable amount: the total fell by grams spread over 9 cores, so the mean falls grams, from 32 to 30 grams. Check it directly: the new total is 270 and grams.
The standard deviation moves more. The squared deviations from 30 sum to 756, so and grams, about 2.05 times its former value.
One more consequence. The fences are grams and grams in both versions, because the quartiles never moved. The 24-gram reading sat inside them; the corrected 6-gram core sits below 15.25, so it is now an outlier.
Only the mean and the standard deviation change: the mean falls from 32 to 30 grams (a drop of ) and rises from to grams. The median stays 32 grams and , , grams all hold, because the corrected value is still the smallest and no other value changed position. The unchanged fences of 15.25 and 49.25 grams now flag the 6-gram core, which the 24-gram reading was not.
Problem 6
A 9-person design studio pays annual salaries, in dollars, of 36000, 34000, 41000, 32000, 44000, 38000, 196000, 35000, and 39000, the largest belonging to the owner. (a) A job seeker asks what a typical person there earns. (b) The bookkeeper needs the total salary cost for next year's budget. Which measure of center answers each question, and what number does each one get?
Show the worked solution
Sort the salaries: 32,000, 34,000, 35,000, 36,000, 38,000, 39,000, 41,000, 44,000, 196,000. There are employees.
Compute both centers. The salaries sum to 495,000, so dollars, and the median is the 5th value, 38,000 dollars.
Check the shape with the quartiles. The lower half is 32,000, 34,000, 35,000, 36,000, so dollars; the upper half is 39,000, 41,000, 44,000, 196,000, so dollars; and dollars. The upper fence is dollars, so the owner's salary is an outlier.
(a) The mean of 55,000 dollars is above 8 of the 9 salaries, and it even sits above the 54,500-dollar outlier fence, so it describes no one at the studio. The median of 38,000 dollars is an actual salary with four people above it and four below. Report the median for a typical earner, with the IQR of 8,000 dollars for spread.
(b) The budget needs a total, and the total is exactly times the mean: dollars, which matches the sum of the nine salaries.
(b) The median cannot do that job. Nine salaries at the median would be dollars, which understates the real payroll by dollars.
The shape of the data did not change between the two parts, only the question did. Skew rules the mean out as a description of a typical value, and it does not rule the mean out when the quantity you need is a total.
(a) The median, 38,000 dollars, paired with the IQR of 8,000 dollars. The 196,000-dollar salary is an outlier past the 54,500-dollar fence, and it lifts the mean to 55,000 dollars, above 8 of the 9 salaries. (b) The mean, 55,000 dollars, because total payroll is dollars, while nine salaries at the median would come to 342,000 dollars and understate the budget by 153,000 dollars.
Problem 7
A hospital publishes summary statistics for the length of stay, in days, of 4,200 admissions: mean 6.4 days, median 3 days, standard deviation 7.9 days, minimum 1 day, days, days, maximum 96 days. No graph is published. (a) A reporter wants one number for a typical stay. Which should the reporter use, and why? (b) Use the 1.5 IQR rule to show that at least one stay is an outlier and that no stay can be flagged at the low end. (c) What do these summaries settle about the shape, and what do they leave open?
Show the worked solution
(a) Compare the mean with the quartiles. The mean of 6.4 days sits above days, so about three quarters of the admissions were shorter than the average stay, and the mean is more than double the median of 3 days.
(a) A summary that most of the data falls below is a poor answer to "typical". The reporter should use the median of 3 days, with the IQR for spread.
(b) days, so days.
(b) Upper fence: days. The maximum of 96 days is far beyond it, so at least one stay is an outlier. Lower fence: days. A length of stay cannot be negative and the minimum is 1 day, so no stay can fall below the lower fence and nothing can be flagged at the low end.
(c) Settled: the long tail runs to the right. The maximum sits 90 days above while the minimum sits only 1 day below , the distance from the median up to (3 days) is three times the distance from up to the median (1 day), and the mean has been pulled past .
(c) The standard deviation fits that story. At 7.9 days it is nearly double the IQR of 4 days, because counts the 96-day stay in full while the IQR only reports where the middle half sits, and part (b) already showed that the extreme values can only be at the high end.
(c) Left open: how many peaks the distribution has. Summary statistics cannot show clustering, which is the trap in problem 3, where a mean and a median 0.3 minutes apart sat in an empty gap between two groups. A histogram or a boxplot is needed before claiming the distribution has a single peak.
(a) The median, 3 days, with the IQR of 4 days. The mean of 6.4 days is above days, so about three quarters of the stays were shorter than it. (b) days and days, so the fences are and 12 days: the 96-day maximum is an outlier, and no stay can be below a negative fence. (c) Settled: a long right tail, with the mean pulled past and nearly double the IQR. Left open: the number of peaks, which no set of summary statistics can show.
Problem 8
A writer records the number of comments on each of 12 blog posts: 28, 25, 31, 22, 118, 27, 30, 24, 34, 25, 33, 29. (a) Find the mean, the median, the standard deviation, and the IQR. (b) Which pair should the writer report, and what in the data justifies it? (c) The 118-comment post was linked by a large newsletter. Recompute all four summaries without it and say how far each one moved. (d) A classmate claims that whenever the mean and the median are close, the mean and the standard deviation are safe to report. Judge that claim using the commute data in problem 3.
Show the worked solution
Sort the counts: 22, 24, 25, 25, 27, 28, 29, 30, 31, 33, 34, 118. There are posts.
(a) Mean: the counts sum to 426, so comments. Median: the average of the 6th and 7th values, comments.
(a) Quartiles. The count is even, so the lower half is 22, 24, 25, 25, 27, 28, giving comments, and the upper half is 29, 30, 31, 33, 34, 118, giving comments. Then comments.
(a) Standard deviation: the squared deviations from 35.5 sum to 7571, so and comments.
(b) Outlier check: , so the fences are and comments, and the 118-comment post is an outlier. The mean of 35.5 is above 11 of the 12 counts and above , and is larger than the gap between the smallest and largest of the other eleven posts, which run from 22 to 34.
(b) So report the median of 28.5 comments and the IQR of 7 comments, and mention the newsletter post on its own.
(c) Drop the 118-comment post. The remaining 11 counts sum to , so comments, and the median is now the 6th value, 28 comments.
(c) New quartiles: the lower half is 22, 24, 25, 25, 27, giving , and the upper half is 29, 30, 31, 33, 34, giving , so comments. New standard deviation: there are 11 posts now, so the divisor is 10. The squared deviations from 28 sum to 146, so and comments.
(c) The moves: the mean fell 7.5 comments (35.5 to 28) against the median's 0.5 (28.5 to 28), and fell from about 26.24 to about 3.82 comments while the IQR fell by 1 comment (7 to 6). The mean and the median now agree exactly, and no count is flagged by the new fences of 16 and 40 comments.
(d) The claim fails. In problem 3 the mean of 25.3 minutes and the median of 25 minutes are 0.3 minutes apart, yet the commutes split into a cluster near 6 to 9 minutes and a cluster near 41 to 45 minutes, with the nearest commute 15.7 minutes from the mean. Close centers are consistent with symmetry, not proof of it, so graph the data before trusting the mean and .
(a) Mean 35.5 comments, median 28.5 comments, comments, comments. (b) Report the median and the IQR: the 118-comment post is an outlier past the 42.5 fence and it pushes the mean above 11 of the 12 posts. (c) Without it, mean 28, median 28, , comments, so the mean fell 7.5 against the median's 0.5 and fell by a factor of about 6.9 against the IQR's 1 comment. (d) False. Problem 3 has a mean and median 0.3 minutes apart with two separated clusters and no commute within 15 minutes of either center.