Data Distributions and Statistics: Core practice
10 practice problems for this lesson. Work on paper, use hints when you need them, and check the answer or the full solution when you are ready.
Difficulty: Core (core-course level)
0 of 10 completed · 0 skipped
Progress saved in this browser.
Progress can't be saved in this browser, so your choices last for this visit only.
-
Problem 1 A squared-distance score
The total squared distance of a data set from a proposed center c is . Find the value of c that minimizes the score.
- Hint 1
The squared term is zero or positive for every real c.
- Hint 2
Choose c so that the squared term vanishes.
Answer
.
Full solution
The smallest possible value of is zero, achieved exactly when .
Therefore
Every other c adds a positive amount to , so is the unique minimizing center.
Answer
.
Key idea
The vertex of a total squared-distance quadratic identifies the minimizing center.
- Hint 1
-
Problem 2 The data display
Read the five-number summary from the box plot in the figure. The separate point belongs to the data set.
The box plot. Text description of this figure
A horizontal box plot drawn above a number axis labeled Value, running from 0 to 20 with a tick at every whole number and a label at every even number. The box stretches from 5 to 9, with a vertical median line inside it at 7. The left whisker runs from the box down to 2 and the right whisker from the box up to 11, each ending in a short vertical cap. Well to the right, a single filled point sits on its own at 18. No value is written on the plot.
- Hint 1
The five-number summary includes the actual minimum and maximum, even when an extreme is plotted separately.
- Hint 2
Read the two box edges, its middle line, and the smallest and largest plotted values.
Answer
Minimum 2, first quartile 5, median 7, third quartile 9, maximum 18.
Full solution
The left whisker ends at , the box starts at , its median line is at , and the box ends at .
The separate point at is the largest value.
The right whisker ends at , but it is not the maximum because the value lies beyond it.
Answer
Minimum 2, first quartile 5, median 7, third quartile 9, maximum 18.
Key idea
A five-number summary uses the largest observation, including an outlier beyond a box plot's whisker.
- Hint 1
-
Problem 3 A deviation record
A sample of four observations has deviations from its own mean. Find the sample variance.
- Hint 1
Sample variance averages squared deviations with divisor n minus 1.
- Hint 2
Square the four recorded deviations and divide their total by three.
Answer
.
Full solution
The squared deviations total
There are four observations, so the sample divisor is .
Thus
The deviations sum to zero, consistent with being measured from their mean.
Answer
.
Key idea
Sample variance divides the sum of squared deviations by one less than the sample count.
- Hint 1
-
Problem 4 Four observations
The data are . Find the value c minimizing total squared distance and the minimum total. Show algebraically that no other c gives a lower total.
- Hint 1
Expand the four squared distances as a quadratic in c.
- Hint 2
Complete its square; the remaining constant is the minimum.
Answer
; minimum total squared distance 18.
Full solution
Expanding the four terms gives
Completing the square yields
The squared term is zero or positive, so the minimum is , attained only at .
The mean is , and the squared deviations sum to .
Answer
; minimum total squared distance 18.
Key idea
Completing the square proves that the mean uniquely minimizes total squared distance.
- Hint 1
-
Problem 5 A collection point
Five pickup locations lie at positions 2, 6, 8, 12, and 14 km along a straight road. A collection point can be placed anywhere on the road. Find the position minimizing the sum of its distances to the five locations and the minimum total distance. Justify the choice.
- Hint 1
Pair the outermost locations, then the next outermost locations.
- Hint 2
A point between a pair contributes their fixed gap; the unpaired middle location determines the best position.
Answer
Position 8 km; minimum total distance 18 km.
Full solution
For the outer pair at and , the total distance is at least km.
For the pair at and , it is at least km.
Position lies inside both pairs and also makes the distance to the middle pickup zero.
The total is therefore
Moving away from adds a positive distance to the middle pickup and cannot lower either pair below its gap, so is the unique minimizer.
Answer
Position 8 km; minimum total distance 18 km.
Key idea
The median minimizes total absolute distance; for an odd count it is the unique minimizer, and for an even count every value between the two middle observations minimizes it.
- Hint 1
-
Problem 6 A distribution to summarize
The histogram in the figure shows daily rainfall totals in millimeters. Recommend measures of center and spread for a typical day. Identify the bin containing the median, and explain whether the exact median can be recovered.
Daily rainfall totals. Text description of this figure
A histogram with the horizontal axis labeled Daily rainfall (mm), marked every 10 millimeters from 0 to 60, and the vertical axis labeled Frequency, marked every 2 from 0 to 12. Six adjoining bars, each 10 millimeters wide, have heights 3 for 0 to 10, 12 for 10 to 20, 8 for 20 to 30, 3 for 30 to 40, 1 for 40 to 50, and 1 for 50 to 60. The tallest bar is near the left, and the bars trail off in a long, low stretch to the right. No center, spread or shape is labeled.
- Hint 1
Look for a long tail that would pull statistics based on squared distance.
- Hint 2
Pair a resistant center with a resistant spread when a long tail is present.
Answer
Median and IQR; the median lies in the 10-to-20 mm bin, but its exact value cannot be recovered from the histogram.
Full solution
Most days lie in the lower rainfall bins, and a thin tail extends toward heavy rainfall.
This is a right-skewed display, and the mean and standard deviation respond strongly to those large values, so the median and IQR describe a typical day more reliably.
The bars hold days, in all, with cumulative counts .
The median is the average of the th and th values, and both lie in the 10-to-20 mm bin.
A histogram records only how many values fall in each bin, not where they lie inside it, so the exact median cannot be recovered.
Answer
Median and IQR; the median lies in the 10-to-20 mm bin, but its exact value cannot be recovered from the histogram.
Key idea
This histogram supports the median and IQR, and here it locates the median's bin without fixing its exact value.
- Hint 1
-
Problem 7 An unknown upper value
The sorted data are , where . Exclude the median from both halves when finding quartiles. For which values of t is t an outlier under the times IQR rule?
- Hint 1
The middle observation is excluded, leaving four observations in each half.
- Hint 2
Check whether either quartile depends on t before forming the upper fence.
Answer
.
Full solution
The median is .
The lower half has middle values , so .
The upper half has middle values , so , independent of t.
Hence
The upper fence is
Values strictly beyond it are flagged, so .
Equality is not an outlier.
Answer
.
Key idea
When an extreme stays outside the quartile calculation, its outlier threshold can remain fixed as it moves.
- Hint 1
-
Problem 8 A spread report
A population has deviations from its mean. A student averages them and reports zero spread. Is this a valid conclusion? Find the population variance to support your answer. Explain why deviations from the mean sum to zero for every nonempty data set.
- Hint 1
Signed deviations cancel even when the values are different.
- Hint 2
Square the deviations to remove the cancellation, then use the population divisor.
Answer
No; the population variance is . Deviations sum to zero because copies of the mean total the same as the data.
Full solution
The signed deviations sum to zero, but that does not mean they individually vanish.
Their squares total
The four observations form the population, so
The positive variance confirms nonzero spread; the signed average hid it through cancellation.
In general, subtracting the mean once per observation subtracts the same total as the sum of the observations, which explains why their signed deviations sum to zero.
Answer
No; the population variance is . Deviations sum to zero because copies of the mean total the same as the data.
Key idea
Averaging signed deviations hides spread because deviations from the mean sum to zero.
- Hint 1
-
Problem 9 One sample's variance
Six independent random observations come from one population with variance . Their squared deviations from their sample mean total . A student calculates the sample variance and says that any answer above would prove the correction failed. Find the sample variance and assess the claim. Explain what the correction accomplishes across repeated samples.
- Hint 1
Distinguish one sample's estimate from the average of the estimates over many samples.
- Hint 2
Use the sample divisor, one less than the number of observations.
Answer
; the claim is false, since the correction makes the estimates right on average across repeated samples, and a single estimate can exceed .
Full solution
The sample variance divides the squared-deviation total by :
which is .
Measuring from the sample mean makes the squared-deviation total no larger than measuring from the population mean, with equality when the two means agree, so dividing by would underestimate the variance on average.
Dividing by removes that bias: over many independent random samples the estimates average to the population variance.
Any single estimate still varies, so shows ordinary sampling variation, not a failure of the correction.
Answer
; the claim is false, since the correction makes the estimates right on average across repeated samples, and a single estimate can exceed .
Key idea
For independent random samples, the n minus 1 divisor makes the sample variance correct on average, not in every sample.
- Hint 1
-
Problem 10 An observation to investigate
A measurement lies beyond an IQR fence. A student concludes it must be a recording mistake and should be deleted. Is that conclusion justified by the fence alone? Explain what the outlier flag establishes.
- Hint 1
A fence is a convention for flagging unusually distant observations.
- Hint 2
Consider whether an unusual value might still be an accurate measurement.
Answer
No; the observation warrants investigation, but the fence alone does not establish an error.
Full solution
The upper and lower fences are defined using a chosen multiplier:
and
Falling beyond one shows that the observation is far from the middle half under this convention.
It supplies no evidence by itself that the instrument or record is wrong.
The value could be valid, so its source should be investigated before deciding whether a correction is warranted.
Answer
No; the observation warrants investigation, but the fence alone does not establish an error.
Key idea
An IQR outlier flag identifies an observation to investigate rather than proving it should be removed.
- Hint 1