Access this content offline
Omniguides
Skip to the reading

Compare Quantitative Distributions and Relative Position

Two samples can differ in several ways at once. A clear comparison uses the same variable and units, considers both distributions explicitly, and separates typical position from spread or unusual extremes. A standardized score adds another kind of comparison: how far an individual value stands from its distribution’s mean.

Compare Ordered Graphs

Histograms, back-to-back stem-and-leaf plots, and dotplots can compare center, variability, shape, outliers, clusters, and gaps for two or more distributions of the same quantitative variable. Use comparable scales and the same bin rules. For different sample sizes, relative-frequency histograms can compare shares more clearly than raw counts.

Office A’s sampled commutes are 10,11,12,13,14,15,16,17 minutes. Office B’s are 8,10,12,14,16,18,20,34 minutes. A is fairly balanced around 13.5 minutes, with a compact range. B spreads farther, especially toward 34 minutes, and has a long upper tail and a gap above 20. In dots, A has one observation at each listed minute while B’s exact values show the long gap. Wider histogram bins merge this detail, so do not invent peaks or gaps that the chosen binning cannot show.

Office A dots at 10,11,12,13,14,15,16,17 minutes.
Both dotplots use the same 0–40-minute axis.
Office B dots at 8,10,12,14,16,18,20,34 minutes.
The isolated 34-minute commute lies well above B’s main group.

A back-to-back stem-and-leaf version gives an exact-value comparison on one set of stems:

A leaves, read outward from stemTens stemB leaves
08
7 6 5 4 3 2 1 010 2 4 6 8
20
34

Key: left leaf 7 with stem 1 means 17 minutes; stem 1 with right leaf 0 means 10 minutes. No value is omitted when the stem has leaves on only one side.

Compare Summary Representations

Boxplots can compare center, variability, outliers, and skewness or symmetry. They do not expose all internal clusters or gaps. Numerical summaries can supplement the graphs: A has mean/median 13.5 minutes, IQR 4 minutes, and SD about 2.449 minutes; B has mean 16.5, median 15, IQR 8, and SD about 8.124 minutes. B’s median is only 1.5 minutes above A’s, while its IQR is twice as large and its high outlier has a large effect on the mean and SD.

Common-scale boxplots: A median 13.5 IQR 4; B median 15 IQR 8 with outlier 34.
Modified boxplots use the IQR rule. B’s 34-minute maximum is plotted separately; its upper whisker ends at 20.

Justify a Comparison

To support “Office B’s commutes are more variable,” state the measure and evidence: IQR 8 versus 4, SD 8.124 versus 2.449, or observed range 26 versus 7 minutes. To assess “every B commute is longer,” note B’s 8-minute observation below every A value. Multiple quantitative graphical representations can support contextual claims, but the claims must fit the sample and cannot establish the cause of an office difference.

Calculate a Population z-Score

A standardized score gives the number of standard deviations a value falls above or below a mean. With population mean μ\mu and population standard deviation σ\sigma, calculate

z=xi−μσz=\frac{x_i-\mu}{\sigma}

Here xix_i is the data value. The numerator is its difference from the population mean; the denominator expresses that difference in population-SD units. A positive score is above the mean, a negative score below, and zero at the mean. Original measurement units cancel, so z is unit-free. If population mean/SD are unknown, sample mean/SD may be used for a sample-based standardization; distinguish that estimated/reference sample standardization from a known-population calculation.

Worked Example: A Known Population Reference

Suppose complete records give a population mean commute of 14 minutes and SD 3 minutes. A 20-minute commute has z=(20−14)/3=2, two population SDs above that mean. An 8-minute commute has z=−2, two below. These interpretations do not require a Normal shape and do not by themselves tell us percentiles or probabilities.

Compare Relative Positions

Use z-scores to compare individual positions within a distribution or between distributions. In the population above, 20 minutes stands above 17 minutes because scores are 2 and 1. For another population with mean 18 and SD 6 minutes, 24 minutes has z=1. Although 24 is a longer absolute commute than 20, it is only one SD above its own mean, compared with two for the 20-minute commute.

The reference distributions matter. Standardization compares distances from means in SD units. Converting those scores to percentile or tail-area claims requires additional distribution information; equal z-scores in differently shaped distributions need not imply equal percentile ranks.

Independent Practice

Use the information in each question to make your own calculation, representation, or argument. Explain what your result means in its setting.

Original generated practice for the Fall 2026 course.

Compare both samples
Commutes 10–17 minutes.
Office A sample.
Commutes 8,10,12,14,16,18,20,34 minutes.
Office B sample.

Part a

Compare approximate center, spread, shape, clusters/gaps, and unusual values. Include both offices and units.

Worked answer and rubric

Add numerical evidence
A Q1 11.5 median 13.5 Q3 15.5; B Q1 11 median 15 Q3 19, outlier 34.
Modified commute boxplots.

Additional sample summaries: A mean 13.5, SD 2.449; B mean 16.5, SD 8.124. Units are minutes.

Part a

Compare centers and spreads using median, mean, IQR, and SD. Explain the boxplot’s limitation for modes/gaps.

Worked answer and rubric

Signed distance

A population of test scores has mean 70 points and SD 8 points.

Part a

Calculate and interpret scores 86,62,70 in population-SD units. Define each variable in your formula.

Worked answer and rubric

Absolute and relative can differ

Population A has mean 50 and SD 5 points; B mean 80 and SD 20. Individuals score 60 in A and 100 in B.

Part a

Compare absolute scores and relative positions. State why the larger raw score need not have the larger z-score.

Worked answer and rubric

Build a supported comparison
4,5,6,7,8,9,10,11 minutes.
Office C commute observations.
3,5,7,9,11,13,15,35 minutes.
Office D commute observations.
Counts 6,2,0,0 for bins [0,10),[10,20),[20,30),[30,40).
C histogram, 10-minute bins.
Counts 4,3,0,1 for bins [0,10),[10,20),[20,30),[30,40).
D histogram, identical bins and vertical scale.
C Q1 5.5 median 7.5 Q3 9.5; D Q1 6 median 10 Q3 14 with separate 35.
IQR-rule modified boxplots.

Samples are independent. For population-reference parts only, complete records separately establish μC=8, σC=2 and μD=12, σD=5 minutes. Those population parameters need not equal the sample summaries.

Part a

Compare the two distributions using the dots and histograms. Address center, variability, shape, outliers, clusters, and gaps; explain one detail the broad bins hide.

Part b

Construct a back-to-back stem-and-leaf comparison with tens stems and use it to check the graph comparison. Supply both keys and retain all observations.

Part c

Use the boxplots and calculate mean, median, IQR, and SD to compare samples. Explain why the mean difference is larger than the median difference.

Part d

Justify or reject “every D commute is longer than every C commute” and “D is more variable.” Name the numerical/graphical evidence and its sample scope.

Part e

Using the known population references, calculate z for C commutes 12,4,8 and D commute 17. Define the variables and interpret every sign.

Part f

Compare C12 with C10 within C, then C12 with D17 between populations. Explain whether the scores alone establish percentile ranks.

Part g

If C’s population parameters were unknown, standardize its sampled 11-minute observation using sample mean 7.5 and sample SD √6. Explain the fallback and its limit.

Worked answer and rubric

Glossary and deeper reading · 12 refreshers

These editorial refreshers supplement the reading. Definitions and examples are added guidance; original source wording and recorded answers remain in their original context.

  • Sample

    A sample is the subset of a population actually studied. How it is selected matters for the conclusions that can be drawn about the population. For example, 60 selected students may be a sample from a school’s full enrollment.

    Read more: Sample in the captured Statistics reading →

  • Mean

    The mean is a measure of center often called an average. For a finite data set, the arithmetic mean is the sum of the values divided by their number; for a random variable, the mean is its probability-weighted expected value when that value exists. Means can be pulled toward extreme values and are not generally resistant. For example, the arithmetic mean of 2, 4, and 9 is 5.

    Read more: Mean in the captured Statistics reading →

  • Histogram

    A histogram groups quantitative observations into numerical intervals and displays their frequencies or proportions. Neighboring bars represent adjacent intervals, so the graph preserves numerical order. For example, a histogram can group travel times into ten-minute intervals.

    Read more: Histogram in the captured Statistics reading →

  • Stemplot

    A stemplot splits each numerical observation into a stem and a leaf. A key specifies the place values, so the original observations can be recovered. For example, a key of 3 | 7 = 37 means that stem 3 with leaf 7 represents 37.

    Read more: Stemplot in the captured Statistics reading →

  • Boxplot

    A boxplot displays the median and quartiles with a box and extending whiskers. A modified boxplot uses whiskers ending at the most extreme observations within the outlier fences and plots flagged observations separately. For example, parallel boxplots can compare the centers and spreads of two classes’ scores.

    Read more: Boxplot in the captured Statistics reading →

  • Outlier

    An outlier is an observation unusually far from the overall pattern. The 1.5-IQR rule flags possible outliers below the first quartile minus 1.5 IQR or above the third quartile plus 1.5 IQR. For example, a very long commute may be flagged for investigation without automatically being a recording error.

    Read more: Outlier in the captured Statistics reading →

  • Interquartile range

    The interquartile range is the third quartile minus the first quartile. It measures the spread of the middle half of the ordered data. For example, quartiles of 10 and 18 give an IQR of 8.

    Read more: Interquartile range in the captured Statistics reading →

  • Observation

    An observation is a recorded value or set of values for an individual or occasion. The individual may be a person, object, or event rather than a human subject. For example, one plant’s measured height is an observation in a plant-growth study.

    Read more: Observation in the captured Statistics reading →

  • Standard deviation

    Standard deviation measures spread around the mean using squared deviations and a square root. A sample standard deviation uses the sum of squared deviations divided by one less than the sample size before taking the square root. For example, a larger standard deviation of travel times indicates greater variability, in the original time units.

    Read more: Standard deviation in the captured Statistics reading →

  • Population

    A population is the full set of individuals or measurements a study aims to describe. It must be defined clearly before deciding whether a sample supports generalization. For example, all students enrolled in a particular school this year form a population.

    Read more: Population in the captured Statistics reading →

  • Z-score

    A z-score expresses a value’s distance from its distribution’s mean in standard-deviation units. It is found by subtracting the mean from the value and dividing by the standard deviation. For example, a z-score of −1.5 places the value 1.5 standard deviations below the mean.

    Read more: Z-score in the captured Statistics reading →

  • Percentile

    A percentile identifies a location in an ordered distribution by the proportion below or at that location. Ties and finite samples require a stated convention, so methods can produce slightly different percentile values. For example, the 80th percentile marks a value with roughly 80% of observations at or below it.

    Read more: Percentile in the current summary-statistics lesson →

Search lessons, terms and problems