st

Friday, November 13, 2026

Boxplots and Five-Number Summary: How to Calculate Q1, Q3, IQR and Outliers

 

BOXPLOTS AND THE FIVE-NUMBER SUMMARY: THE STOPS–FENCES–SAY METHOD FOR COMPARING DATA (AP STATISTICS, GCSE, A-LEVEL AND IB MATHS)

A boxplot is one of the most useful statistical graphs for understanding a data distribution. It shows the median, quartiles, interquartile range, spread and potential outliers in a compact visual form.

Learn how to calculate the five-number summary, find Q1 and Q3, construct a box-and-whisker plot, apply the 1.5 × IQR outlier rule, interpret skewness and compare two distributions using worked examples and examination-style questions.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

TWO RUNNING CLUBS, ALMOST THE SAME AVERAGE, BUT DIFFERENT STORIES

Tobias manages a local running club. A rival club has challenged his team to a relay race, and he must decide which runners would make the most consistent training group.

He collects the 5K running times, in minutes, for 15 runners from Riverside Club and 14 runners from Hillside Club.

The average times are:

Riverside: 31.13 minutes

Hillside: 31.43 minutes

At first glance, there is very little difference.

But an average cannot tell the entire story.

Riverside has a runner who took 52 minutes, while Hillside's times are more closely grouped. Their averages are similar, but their distributions are not identical.

This is where a boxplot becomes useful.

A boxplot, also called a box-and-whisker plot, allows us to compare the centre, spread and unusual observations in numerical data without examining every individual value.

The same technique appears in AP Statistics, GCSE Mathematics, A-level Statistics, IB Mathematics and introductory college statistics.

The objective is not simply to draw a box. It is to understand what the box tells us about the data.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. WHAT IS A BOXPLOT? UNDERSTANDING THE FIVE-NUMBER SUMMARY

A boxplot is constructed using five important statistical values called the five-number summary.

These are:

  1. Minimum: The smallest observation in the data set.

  2. First quartile (Q1): The lower quartile, marking approximately the 25th percentile.

  3. Median (Q2): The middle value, dividing the ordered observations into two halves.

  4. Third quartile (Q3): The upper quartile, marking approximately the 75th percentile.

  5. Maximum: The largest observation in the data set.

The five-number summary provides a quick description of the centre and spread of a numerical distribution.

How the five values appear in a boxplot

  • The box begins at Q1.

  • The box ends at Q3.

  • A line inside the box marks the median.

  • Whiskers extend towards the extreme observations, according to the type of boxplot being used.

  • In a modified boxplot, potential outliers are shown as individual points beyond the whiskers.

The box contains approximately the middle 50% of the observations.

Two additional measures are particularly important.

Range = Maximum − Minimum

The range measures the distance between the smallest and largest observations.

Interquartile Range (IQR) = Q3 − Q1

The IQR measures the spread of the middle 50% of the data.

The range is sensitive to extreme observations. The IQR is generally more resistant because it depends on the two quartiles rather than the endpoints.

An important quartile concept

Quartiles divide an ordered data set into four sections containing approximately equal proportions of observations.

Each section represents approximately 25% of the data.

However, the sections do not need to have equal widths.

For example, if the first quarter of a data set covers only three units while the final quarter covers twenty units, the first section is more concentrated.

A wider section does not contain more observations. It indicates greater spread.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

2. THE STOPS–FENCES–SAY METHOD

Many students understand the definition of a boxplot but lose marks when they have to construct or interpret one.

The problem usually comes down to three tasks:

  • Finding the quartiles correctly.

  • Identifying potential outliers.

  • Comparing distributions using appropriate statistical language.

A simple three-part method makes these tasks easier.

STOPS: Find the five-number summary.

FENCES: Calculate the outlier boundaries using the 1.5 × IQR rule.

SAY: Compare the centre, spread, shape and outliers in the context of the question.

Let us apply this method to Tobias's running-club data.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

3. STOPS: HOW TO CALCULATE THE FIVE-NUMBER SUMMARY

The first requirement is to arrange the observations in ascending order.

Riverside Club: 15 running times

22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36, 38, 52

All values are in minutes.

Step 1: Find the minimum and maximum.

Minimum = 22

Maximum = 52

Step 2: Find the median.

There are 15 observations.

For an odd number of observations:

Median position = (n + 1) ÷ 2

= (15 + 1) ÷ 2

= 8th observation

Therefore:

Median = 30

Step 3: Find the lower and upper halves.

When the number of observations is odd, the median is excluded from both halves under the median-of-halves method.

Lower half:

22, 24, 25, 26, 27, 28, 29

Upper half:

31, 32, 33, 34, 36, 38, 52

Step 4: Calculate Q1.

The median of the lower half is its fourth observation.

Q1 = 26

Step 5: Calculate Q3.

The median of the upper half is its fourth observation.

Q3 = 34

Therefore, the five-number summary is:

Minimum = 22

Q1 = 26

Median = 30

Q3 = 34

Maximum = 52

Calculate the IQR:

IQR = Q3 − Q1

= 34 − 26

= 8 minutes

Hillside Club: 14 running times

The ordered observations are:

25, 27, 28, 29, 30, 30, 31, 32, 33, 33, 34, 35, 36, 37

Step 1: Find the minimum and maximum.

Minimum = 25

Maximum = 37

Step 2: Calculate the median.

There are 14 observations, so the median is the average of the seventh and eighth observations.

Median = (31 + 32) ÷ 2

= 31.5

Step 3: Divide the observations into two equal halves.

Lower half:

25, 27, 28, 29, 30, 30, 31

Upper half:

32, 33, 33, 34, 35, 36, 37

Step 4: Calculate the quartiles.

The fourth observation in the lower half is 29.

Q1 = 29

The fourth observation in the upper half is 34.

Q3 = 34

Therefore:

Minimum = 25

Q1 = 29

Median = 31.5

Q3 = 34

Maximum = 37

Calculate the IQR:

IQR = 34 − 29

= 5 minutes

Compare the five-number summaries

StatisticRiversideHillside
Minimum2225
Q12629
Median3031.5
Q33434
Maximum5237
IQR85

Riverside has a wider middle 50% of running times. Hillside's central observations are more closely grouped.

IMPORTANT: DIFFERENT METHODS OF CALCULATING QUARTILES

Quartile calculations can differ depending on the method used.

The median-of-halves method used above is a common classroom approach.

Other methods use percentile-position formulas or interpolation.

For example, one common inclusive percentile-position convention uses:

Q1 position = 1 + 0.25(n − 1)

Q3 position = 1 + 0.75(n − 1)

For Hillside, this gives:

Q1 position = 4.25

Q3 position = 10.75

Interpolating between adjacent observations gives:

Q1 = 28.25

Q3 = 33.75

These differ from the median-of-halves results of 29 and 34.

This is why Excel, Google Sheets, statistical software and calculators can sometimes produce different quartiles for the same observations.

Do not assume that every examination board or software package uses the same convention. Follow the method specified by your teacher, examination board or calculator instructions.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

4. FENCES: HOW TO IDENTIFY OUTLIERS USING THE 1.5 × IQR RULE

An outlier is an observation that is unusually far from the rest of the data.

A common statistical convention for identifying potential outliers is the 1.5 × IQR rule.

It uses two boundaries called fences.

Lower fence = Q1 − 1.5 × IQR

Upper fence = Q3 + 1.5 × IQR

Any observation below the lower fence or above the upper fence is flagged as a potential outlier.

Notice that the fences are calculated boundaries. They are not necessarily observations in the original data.

Riverside outlier calculation

We already know:

Q1 = 26

Q3 = 34

IQR = 8

Calculate:

1.5 × IQR = 1.5 × 8 = 12

Lower fence:

= 26 − 12

= 14

Upper fence:

= 34 + 12

= 46

The smallest observation is 22, which is above the lower fence.

Therefore, there are no lower outliers.

The largest observation is 52, which is greater than the upper fence of 46.

Therefore, 52 is a potential upper outlier.

The largest observation that remains inside the upper fence is 38.

In a modified boxplot, the upper whisker ends at 38, and 52 is drawn separately as a point.

Hillside outlier calculation

Q1 = 29

Q3 = 34

IQR = 5

1.5 × IQR = 7.5

Lower fence:

= 29 − 7.5

= 21.5

Upper fence:

= 34 + 7.5

= 41.5

The minimum is 25, and the maximum is 37.

Both lie within the fences.

Therefore, Hillside has no potential outliers under the 1.5 × IQR rule.

Its whiskers extend to 25 and 37.

Final outlier comparison

ClubLower fenceUpper fenceOutliers
Riverside144652
Hillside21.541.5None

Is every outlier a mistake?

No.

The 1.5 × IQR rule identifies observations that deserve attention. It does not prove that a measurement is incorrect.

A 52-minute running time may be genuine. The runner might have stopped, experienced an injury or simply run more slowly.

An unusual observation should be investigated rather than automatically deleted.

Also remember that not every course uses modified boxplots. Some boxplots extend whiskers directly to the minimum and maximum. Always distinguish the plotting convention being used.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

5. HOW TO DRAW A BOX-AND-WHISKER PLOT

Once the five-number summary and outlier calculations are complete, constructing the graph becomes straightforward.

Follow these steps:

  1. Draw a horizontal number line with an appropriate numerical scale.

  2. Mark Q1 and Q3.

  3. Draw a rectangular box between the two quartiles.

  4. Draw a vertical line inside the box at the median.

  5. Draw the whiskers to the most extreme observations inside the fences if using a modified boxplot.

  6. Plot potential outliers separately.

  7. Label the axis and include the measurement units.

For Tobias's data, the important plotting positions are:

Riverside

  • Left whisker: 22

  • Q1: 26

  • Median: 30

  • Q3: 34

  • Right whisker: 38

  • Outlier: 52

Hillside

  • Left whisker: 25

  • Q1: 29

  • Median: 31.5

  • Q3: 34

  • Right whisker: 37

  • Outliers: None

Both plots should use the same horizontal scale to make comparison meaningful.

A boxplot drawn without a labelled scale can be misleading because the visual distances between quartiles and whiskers are essential to interpretation.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

6. HOW TO INTERPRET A BOXPLOT: CENTRE, SPREAD, SHAPE AND OUTLIERS

A boxplot is not simply a collection of lines and rectangles. Each feature communicates something about the distribution.

A. Centre: Read the median

The median is the line inside the box.

It divides the ordered observations into two halves.

A higher median indicates a higher typical numerical value.

Remember that a higher numerical value does not always mean better performance. For running times, a lower median means faster typical performance.

B. Spread: Compare the IQR

The width of the box represents the interquartile range.

A wider box means the middle 50% of the observations are more spread out.

A narrower box means the central observations are more concentrated.

Riverside:

IQR = 8 minutes

Hillside:

IQR = 5 minutes

Therefore, Riverside has greater variability in its middle 50% of running times.

C. Shape: Identify possible skewness

Skewness describes whether a distribution has a longer tail on one side.

Approximately symmetric distribution

The median is roughly central within the box, and the whiskers are approximately equal in length.

Right-skewed distribution (positive skew)

The upper side tends to extend further than the lower side. The upper whisker may be longer, and the median may sit closer to Q1.

Left-skewed distribution (negative skew)

The lower side tends to extend further. The lower whisker may be longer, and the median may sit closer to Q3.

These are visual clues, not definitive proof of distribution shape. A boxplot compresses the data, so a histogram or dot plot can provide additional evidence.

D. Outliers: Examine individual points

A point beyond a modified boxplot's whisker indicates a potential outlier.

Its position tells us whether it is unusually low or unusually high.

For Riverside, 52 is a high outlier.

What do the running-club boxplots tell us?

Riverside's median is 30 minutes, while Hillside's is 31.5 minutes.

The two central distributions are approximately symmetric based on their quartile and whisker positions.

Riverside has a high outlier at 52 minutes, but its central box and whiskers do not show a pronounced right skew.

Hillside has a smaller IQR and no identified outliers.

This distinction matters: an outlier on one side does not automatically prove that the entire distribution is skewed in that direction.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

7. HOW TO COMPARE TWO BOXPLOTS IN AP STATISTICS AND GCSE EXAMINATIONS

This is one of the most important applications of boxplots.

An examination question may show two boxplots and ask:

  • Which group has the higher median?

  • Which group has greater variation?

  • Which distribution is more symmetric?

  • Are there any outliers?

  • Which group is more consistent?

  • What can be concluded from the comparison?

A strong answer should cover four features.

CENTRE: Compare the medians.

SPREAD: Compare the IQRs.

SHAPE: Discuss symmetry or skewness where the graph provides evidence.

OUTLIERS: Identify unusual observations and explain their context.

Worked comparison: Riverside versus Hillside

Consider this model answer:

"The typical Riverside runner completes the 5K in less time than the typical Hillside runner, with median times of 30 and 31.5 minutes respectively. However, Riverside has greater variation in its central running times, with an IQR of 8 minutes compared with Hillside's 5 minutes. Both distributions have approximately symmetric central box-and-whisker structures, although Riverside has one unusually slow runner at 52 minutes, which is a potential outlier under the 1.5 × IQR rule. Hillside's smaller IQR indicates more consistent central running times."

This answer is effective because it:

  • Uses actual numerical evidence.

  • Compares both groups.

  • Identifies the statistical measure being discussed.

  • Includes the real-world context.

  • Avoids confusing an outlier with skewness.

A reusable boxplot comparison sentence

"The median of Group A is higher/lower than Group B (___ compared with ), while its IQR is larger/smaller ( compared with ___). The distribution appears approximately symmetric/right-skewed/left-skewed, and it contains ___ potential outliers."

Adapt the wording to the actual graph. Do not describe skewness if the evidence is insufficient.

The median-overlap rule: a useful visual clue

Students sometimes use the position of one group's median relative to the other group's box to judge how different the distributions appear.

If the median of one group lies outside the other group's box, that can suggest a noticeable difference in location.

However, if both medians lie inside the other group's boxes, the central distributions overlap.

In Tobias's example:

Riverside's median = 30, which lies inside Hillside's box (29 to 34).

Hillside's median = 31.5, which lies inside Riverside's box (26 to 34).

This indicates substantial overlap in the central portions of the distributions.

But boxplot overlap is not a formal significance test. It cannot establish whether population medians differ statistically.

For that, an appropriate inferential procedure is required.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

8. WHY MEDIAN AND IQR ARE USEFUL WHEN DATA CONTAINS OUTLIERS

Consider the Riverside data again.

The original mean is:

467 ÷ 15 = 31.13 minutes.

The original median is:

30 minutes.

Now consider what happens if the 52-minute observation is replaced by a less extreme value, such as 90.

The mean changes substantially, but the median remains 30.

The range also increases sharply.

This illustrates why the mean and range are sensitive to extreme values, while the median and IQR are generally more resistant.

There is an important distinction here.

Making an existing extreme endpoint more extreme does not necessarily change the quartiles.

However, removing an observation changes the number and positions of the observations. The quartiles may then change.

For example, removing the 52-minute observation gives:

New median = 29.5

New Q1 = 26

New Q3 = 33

New IQR = 7

The IQR has changed from 8 to 7.

Therefore, it is more accurate to say that the IQR is resistant to extreme values, not that it is guaranteed to remain unchanged whenever an outlier is removed.

When should you use median and IQR?

Use the median and IQR when:

  • The distribution is strongly skewed.

  • There are unusually extreme observations.

  • You want a resistant measure of centre and spread.

The mean and standard deviation are often more appropriate when the distribution is reasonably symmetric and free from influential outliers.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

9. WHAT BOXPLOTS CANNOT SHOW: THE BIMODAL DISTRIBUTION PROBLEM

A boxplot summarises data using five important positions.

That makes it efficient, but it also removes information.

Consider these ten observations:

1, 1, 2, 2, 2, 10, 10, 11, 11, 11

The median is:

(2 + 10) ÷ 2 = 6

Using the median-of-halves method:

Q1 = 2

Q3 = 11

IQR = 11 − 2 = 9

The boxplot shows a box from 2 to 11, with the median at 6.

However, there is a surprising feature.

There are no observations near 6.

Instead, the data contains two distinct clusters:

  • A lower cluster around 1 and 2.

  • An upper cluster around 10 and 11.

The distribution is bimodal: it has two concentrations of observations.

A histogram or dot plot would make this structure much easier to see.

A boxplot alone cannot reveal every cluster, gap or peak.

Which statistical graph should you use?

Boxplot: Comparing medians, quartiles, spread and potential outliers across groups.

Histogram: Understanding the overall distribution, concentration, gaps and skewness.

Dot plot: Examining individual observations and small data sets.

Stem-and-leaf plot: Displaying numerical values while preserving much of the original data.

For a proper statistical investigation, using more than one graph can provide a much clearer picture.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

10. CREATING BOXPLOTS USING EXCEL, GOOGLE SHEETS, CALCULATORS AND PYTHON

You do not have to calculate every boxplot manually. Statistical tools can construct them, although you should understand the quartile method used.

Excel

Modern versions of Microsoft Excel include a Box and Whisker chart.

General procedure:

  1. Enter numerical observations into a column.

  2. Select the data.

  3. Open Insert.

  4. Choose the Statistical Chart options.

  5. Select Box and Whisker.

Check the chart settings and quartile conventions before comparing the output with hand calculations.

Google Sheets

Google Sheets can be used to calculate the five-number summary through spreadsheet functions.

For example:

  • MIN calculates the minimum.

  • MEDIAN calculates the median.

  • MAX calculates the maximum.

  • QUARTILE functions calculate quartiles.

The results depend on the chosen quartile convention.

A boxplot can also be constructed using a suitable charting approach.

TI-83 and TI-84 graphing calculators

These calculators support statistical plots.

A general procedure is:

  1. Enter observations in a list.

  2. Open the statistical plotting menu.

  3. Select a boxplot or modified boxplot.

  4. Enable the plot.

  5. Adjust the viewing window to display all observations.

The modified boxplot option identifies potential outliers separately.

Python

Python can generate boxplots using libraries such as Matplotlib.

Example:

import matplotlib.pyplot as plt

riverside = [22, 24, 25, 26, 27, 28, 29,
             30, 31, 32, 33, 34, 36, 38, 52]

hillside = [25, 27, 28, 29, 30, 30, 31,
            32, 33, 33, 34, 35, 36, 37]

plt.boxplot([riverside, hillside],
            labels=["Riverside", "Hillside"])

plt.ylabel("5K running time (minutes)")
plt.title("Comparison of Running Times")
plt.show()

Software-generated quartiles can differ from classroom calculations because different programs use different conventions.

Always check the quartile method before interpreting or reporting the graph.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

11. TEN COMMON BOXPLOT MISTAKES IN STATISTICS EXAMINATIONS

1. Finding quartiles without sorting the observations.

Always arrange numerical data in ascending order first.

2. Including the median in both halves when the sample size is odd.

Follow the quartile method specified by your course.

3. Assuming that a wider box contains more observations.

The box always represents approximately the middle 50%.

4. Confusing the IQR with the range.

IQR = Q3 − Q1.

Range = Maximum − Minimum.

5. Drawing modified-boxplot whiskers all the way to the minimum and maximum.

Check for potential outliers first.

6. Claiming that a group has a higher average when you are actually comparing medians.

Use the correct statistical terminology.

7. Declaring a distribution skewed simply because it contains an outlier.

Consider the median position and both whisker lengths.

8. Forgetting the numerical scale and measurement units.

A boxplot must have a clearly labelled axis.

9. Automatically deleting outliers.

Investigate unusual observations before deciding how to handle them.

10. Assuming that a boxplot displays the mean or sample size.

A standard boxplot does not directly show either value.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

12. BOXPLOT PRACTICE QUESTIONS WITH ANSWERS

Test your understanding of five-number summaries, quartiles, IQR, outlier detection and boxplot interpretation.

Question 1: Calculate the five-number summary

Find the five-number summary and IQR for:

4, 7, 8, 9, 11, 12, 14, 20

Use the median-of-halves method.

Also determine whether any observation is a potential outlier.

Question 2: Apply the 1.5 × IQR rule

A data set has this five-number summary:

12, 18, 25, 31, 60

Determine whether the minimum or maximum is a potential outlier.

Show the fence calculations.

Question 3: Interpret skewness

A boxplot has its median close to Q1, while the upper whisker is considerably longer than the lower whisker.

What type of skewness does this suggest?

Question 4: Understand quartiles

True or false?

The section between Q1 and the median contains more observations than the section between the median and Q3 if its box segment is wider.

Explain your answer.

Question 5: Understand limitations

Why cannot a standard boxplot directly tell you the sample size or mean?

Question 6: Compare two distributions

Two classes sit the same examination.

Class P:

Median = 68

IQR = 10

Class Q:

Median = 68

IQR = 22

Write a statistical comparison of the two classes.

ANSWERS AND EXPLANATIONS

Answer 1

There are eight observations.

Median = (9 + 11) ÷ 2 = 10

Lower half:

4, 7, 8, 9

Q1 = (7 + 8) ÷ 2 = 7.5

Upper half:

11, 12, 14, 20

Q3 = (12 + 14) ÷ 2 = 13

Five-number summary:

4, 7.5, 10, 13, 20

IQR = 13 − 7.5 = 5.5

Lower fence:

7.5 − (1.5 × 5.5) = −0.75

Upper fence:

13 + (1.5 × 5.5) = 21.25

All observations lie within the fences.

There are no potential outliers.

Answer 2

Q1 = 18

Q3 = 31

IQR = 31 − 18 = 13

1.5 × IQR = 19.5

Lower fence:

18 − 19.5 = −1.5

Upper fence:

31 + 19.5 = 50.5

The minimum of 12 is above −1.5, so it is not a potential outlier.

The maximum of 60 exceeds 50.5, so it is a potential upper outlier.

Answer 3

The distribution appears right-skewed, also called positively skewed.

The longer upper whisker indicates a more extended spread towards higher values.

Answer 4

False.

Each section represents approximately 25% of the observations.

A wider section indicates that the values are more spread out, not that it contains more observations.

Answer 5

A standard boxplot displays the five-number summary rather than every individual observation.

Different data sets can have identical five-number summaries despite having different sample sizes and means.

Answer 6

"Both classes have the same median examination score of 68. However, Class Q has a substantially larger IQR of 22 compared with 10 for Class P. This indicates that the middle 50% of Class Q's scores are more spread out, while Class P has more consistent central scores."

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

13. FREQUENTLY ASKED QUESTIONS ABOUT BOXPLOTS

What is the difference between a boxplot and a box-and-whisker plot?

They are two names for the same type of statistical graph. The terms boxplot, box plot, box-and-whisker plot and box-and-whisker diagram are commonly used.

How do you calculate the five-number summary?

Arrange the data in ascending order and calculate the minimum, Q1, median, Q3 and maximum. The quartile method should follow your course or software convention.

How do you calculate the interquartile range?

Subtract the first quartile from the third quartile.

IQR = Q3 − Q1

What does the box represent in a boxplot?

The box extends from Q1 to Q3 and represents approximately the middle 50% of the observations.

What do the whiskers represent?

In a basic boxplot, whiskers generally extend to the minimum and maximum. In a modified boxplot using the 1.5 × IQR rule, they extend to the most extreme observations that are not flagged as outliers.

How do you identify outliers in a boxplot?

Calculate the lower and upper fences:

Lower fence = Q1 − 1.5 × IQR

Upper fence = Q3 + 1.5 × IQR

Values outside these boundaries are potential outliers.

Can a boxplot show negative values?

Yes. Boxplots can represent negative as well as positive numerical observations. The number line simply needs to accommodate the values.

Can a boxplot have no whiskers?

Yes. If Q1 equals the minimum, the lower whisker has zero length. If Q3 equals the maximum, the upper whisker has zero length.

Is the median always in the centre of the box?

No. The median can be closer to either quartile. Its position can provide a visual clue about the distribution's symmetry.

Does a boxplot show the mean?

No. The standard boxplot displays the quartiles, median and whiskers. Some specialised plots add a mean marker, but it is not part of the basic five-number summary.

Can you compare two boxplots?

Yes. Compare their medians, IQRs, whisker lengths, potential outliers and overall shape. For meaningful visual comparisons, use the same numerical scale.

When should you use a histogram instead of a boxplot?

Use a histogram when you want to examine the detailed distribution, including clusters, gaps, peaks and possible bimodality.

Are outliers always errors?

No. An outlier may represent a genuine observation, an unusual event or a recording error. It should be investigated rather than automatically removed.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

14. THE QUICK REVISION CARD: STOPS–FENCES–SAY

Before an examination, remember these three steps.

STOPS: FIVE-NUMBER SUMMARY

Minimum

Q1

Median

Q3

Maximum

FENCES: OUTLIER DETECTION

IQR = Q3 − Q1

Lower fence = Q1 − 1.5 × IQR

Upper fence = Q3 + 1.5 × IQR

Values outside the fences are potential outliers.

SAY: COMPARE DISTRIBUTIONS

Centre = Median

Spread = IQR

Shape = Symmetry or skewness

Outliers = Unusual observations identified in context

Use numerical evidence rather than vague descriptions.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

THE FINAL LESSON: FIVE NUMBERS CAN REVEAL MORE THAN ONE AVERAGE

Tobias initially believed Riverside and Hillside were almost identical because their average running times were close.

The boxplot revealed a more useful comparison.

Riverside had a slightly lower median, but its central running times were more variable. Hillside had a smaller IQR and no potential outliers under the 1.5 × IQR rule.

For a training group that values consistency, Hillside offers the more concentrated distribution.

That is the real purpose of descriptive statistics.

The mean gives one measure of centre. The five-number summary adds information about position and spread. The boxplot makes those differences visible.

Remember the method:

STOPS to calculate the summary. FENCES to identify potential outliers. SAY to explain what the distributions reveal.

Once you understand these three steps, boxplots become much easier to construct, interpret and compare in AP Statistics, GCSE Mathematics, A-level Statistics, IB Mathematics and introductory college statistics.

Monday, November 9, 2026

Dot Plots, Histograms and Stem-and-Leaf Plots | AP Statistics

 

DOT PLOTS, HISTOGRAMS AND STEM-AND-LEAF PLOTS IN AP STATISTICS

How to Read, Interpret and Compare Distributions: The Pile–Slice–Say Method for US and UK Students

═══════════════════════════════════════════════

THE PIZZA DELIVERY TEST: WHY AVERAGES CAN BE MISLEADING

Two pizza delivery apps make almost identical promises: your food should arrive in about half an hour.

You record 15 delivery times from each app.

App A — Delivery times in minutes

22, 24, 25, 26, 26, 27, 28, 28, 28, 29, 29, 30, 31, 33, 38

App B — Delivery times in minutes

15, 18, 20, 22, 25, 27, 28, 29, 31, 33, 35, 38, 41, 45, 50

At first glance, the results look remarkably similar.

StatisticApp AApp B
Number of deliveries1515
Median28 min29 min
Mean28.27 min30.47 min
Minimum22 min15 min
Maximum38 min50 min
Range16 min35 min

The median delivery times differ by just one minute.

But imagine ordering dinner.

With App A, most deliveries arrive within a relatively narrow window. With App B, you might receive your food in 15 minutes or wait 50 minutes.

The averages alone do not reveal this difference.

That is why statisticians use graphical displays of quantitative data.

A dot plot reveals individual observations. A histogram shows how observations are distributed across intervals. A stem-and-leaf plot organizes the numbers while preserving their original values.

These graphs help answer questions that a single average cannot:

  • Where do most observations occur?

  • Is the distribution symmetric or skewed?

  • Are there unusually high or low values?

  • How much variation exists?

  • Which of two groups is more consistent?

These are important skills in AP Statistics, GCSE Mathematics, IB Mathematics and A-level Statistics.

This article develops one practical method for reading, constructing and comparing statistical graphs.

═══════════════════════════════════════════════

WHAT YOU WILL LEARN

By the end, you should be able to:

  1. Read and interpret a dot plot.

  2. Describe the shape of a statistical distribution.

  3. Identify symmetric, skewed, unimodal, bimodal and approximately uniform distributions.

  4. Read a histogram and understand frequency and class intervals.

  5. Explain why histogram bin width matters.

  6. Construct a stem-and-leaf plot from raw data.

  7. Make split-stem and back-to-back stem-and-leaf diagrams.

  8. Calculate quartiles and the interquartile range.

  9. Identify potential outliers using the 1.5 × IQR rule.

  10. Compare two distributions using shape, outliers, center and spread.

  11. Understand frequency density in unequal-width histograms.

  12. Write better statistical explanations for AP Statistics free-response questions.

PART 1: THE PILE–SLICE–SAY METHOD

Instead of memorizing disconnected definitions, use three questions whenever you encounter a graph of quantitative data.

1. PILE: WHERE DOES THE DATA COLLECT?

Look for concentrations of observations.

Are most values grouped around 20? Are there several peaks? Is one side of the graph much longer than the other?

The concentration of values reveals the general shape of the distribution.

2. SLICE: HOW HAS THE DATA BEEN ORGANIZED?

Different graphs organize observations differently.

  • Dot plot: individual observations remain visible.

  • Stem-and-leaf plot: observations are separated into stems and leaves.

  • Histogram: observations are grouped into numerical intervals called bins or classes.

Understanding this organization tells you what information the graph preserves and what information it hides.

3. SAY: HOW DO YOU DESCRIBE WHAT YOU SEE?

Use the familiar AP Statistics checklist:

SOCS = Shape, Outliers, Center, Spread

  • Shape: Is the distribution symmetric, skewed or multimodal?

  • Outliers: Are any observations unusually distant from the rest?

  • Center: Where is the typical value?

  • Spread: How widely are the observations distributed?

Always describe the actual variable.

For example, write:

"The distribution of pizza delivery times is skewed to the right."

Do not simply write:

"The data is skewed."

Adding context makes your statistical explanation clearer.

═══════════════════════════════════════════════

PART 2: DOT PLOTS — HOW TO READ AND INTERPRET INDIVIDUAL VALUES

What is a dot plot in statistics?

A dot plot is a graphical representation in which each observation is represented by a dot above its corresponding value on a number line.

If a value occurs four times, four dots are stacked above that value.

Unlike a histogram, a dot plot does not group observations into intervals.

This makes it particularly useful for small or moderately sized quantitative data sets.

When should you use a dot plot?

Dot plots work especially well when:

  • The data set is relatively small.

  • Individual observations matter.

  • Values repeat frequently.

  • You want to identify clusters and gaps.

  • You want to compare two small groups visually.

Examples include:

  • Number of siblings per student.

  • Goals scored in a series of matches.

  • Number of mistakes made on a test.

  • Delivery times for a small number of orders.

  • Daily temperatures over a short period.

Example: App A as a dot plot

Recall the delivery times:

22, 24, 25, 26, 26, 27, 28, 28, 28, 29, 29, 30, 31, 33, 38

The frequency table gives the exact number of dots above each value.

Delivery timeNumber of dots
221
230
241
251
262
271
283
292
301
311
320
331
34–370
381

A dot plot constructed from this table would have its tallest stack at 28 minutes.

How to interpret a dot plot step by step

Step 1: Read the horizontal axis.

Identify the variable and its units. Here, the variable is delivery time, measured in minutes.

Step 2: Find the tallest stack.

The tallest stack is at 28 minutes, making 28 the mode.

Step 3: Identify clusters.

Most deliveries are concentrated between 25 and 31 minutes.

Step 4: Look for gaps.

There are no observations at 34, 35, 36 or 37 minutes.

Step 5: Look for isolated observations.

The observation at 38 minutes is separated from the main cluster.

Step 6: Count the dots.

There are 15 observations, so n = 15.

Describing the shape of App A

A suitable statistical description is:

"The distribution of delivery times is unimodal, with its highest concentration around 28 minutes. It has a slight right-hand tail, with a relatively isolated observation at 38 minutes."

Notice that this description identifies the variable, its units, the peak and the direction of the tail.

Understanding the main distribution shapes

SYMMETRIC DISTRIBUTION

A symmetric distribution has approximately similar shapes on either side of its center.

The left and right sides need not be perfectly identical.

RIGHT-SKEWED DISTRIBUTION

A right-skewed distribution has a longer tail extending towards larger values.

Most observations are concentrated towards the lower end.

Examples include some income distributions and waiting-time distributions.

LEFT-SKEWED DISTRIBUTION

A left-skewed distribution has a longer tail extending towards smaller values.

Most observations are concentrated towards the higher end.

An example might be a test on which most students score highly but a few obtain very low marks.

UNIMODAL DISTRIBUTION

A distribution with one main peak.

BIMODAL DISTRIBUTION

A distribution with two distinct peaks.

This can suggest that two different populations or groups have been combined.

For example, the commuting times of cyclists and car drivers might produce two concentrations.

APPROXIMATELY UNIFORM DISTRIBUTION

A distribution in which observations occur at roughly similar frequencies across the displayed values or intervals.

A finite sample from a uniform process will not normally be perfectly flat.

The most important rule about skewness

Skewness is named after the direction of the tail, not the location of the tallest peak.

  • Tail towards larger values = right skew.

  • Tail towards smaller values = left skew.

This distinction is particularly important in statistics examinations.

═══════════════════════════════════════════════

PART 3: HISTOGRAMS — HOW TO DESCRIBE SHAPE, CENTER AND SPREAD

What is a histogram?

A histogram displays quantitative data by grouping observations into numerical intervals called bins or classes.

The horizontal axis represents the numerical intervals.

The vertical axis represents frequency, relative frequency or frequency density, depending on the histogram.

The bars normally touch because the intervals represent consecutive sections of a numerical scale.

Histogram versus bar chart

This is a common examination question.

FeatureHistogramBar chart
DataQuantitativeCategorical
Horizontal axisNumerical intervalsCategories
BarsNormally touchingUsually separated
Main purposeShow a distributionCompare categories
Individual valuesGrouped into binsCategory totals

For example:

  • Delivery times grouped into 10-minute intervals: histogram.

  • Number of people choosing different pizza toppings: bar chart.

Do not confuse the two.

Worked histogram example: Travel times

Suppose 40 people report their journey times to school or work.

The grouped frequency table is:

Travel time (minutes)Frequency
0 to under 103
10 to under 209
20 to under 3012
30 to under 408
40 to under 505
50 to under 602
60 to under 701
Total40

The histogram would have seven adjoining bars.

The tallest bar represents the 20 to under 30 minute interval, with a frequency of 12.

PILE: Where are most observations?

The largest concentration is between 20 and 30 minutes.

The frequencies decrease towards the higher intervals.

There are only three observations in the intervals from 50 to under 70 minutes.

This suggests a distribution with one main peak and a longer tail towards larger travel times.

SLICE: What do the intervals tell us?

Each class has a width of 10 minutes.

The histogram shows how many observations fall inside each interval.

However, it does not reveal the exact travel time of any individual person.

For example, the bar from 20 to under 30 minutes tells us that 12 people fall within that interval. It does not tell us whether those people travelled for 21, 24 or 29 minutes.

That is an important limitation of grouped data.

SAY: Describe the distribution

Shape: The distribution is unimodal and appears right-skewed, with its highest frequency in the 20 to under 30 minute interval.

Center: The median lies in the 20 to under 30 minute interval.

Spread: The observations extend across class intervals from 0 to under 70 minutes. The actual minimum and maximum cannot be identified from the grouped table alone.

Unusual observations: The upper intervals contain relatively few observations, but the grouped table does not provide enough information to establish whether any individual observation is an outlier.

How do you estimate the median from a histogram?

This is a frequently misunderstood question.

You cannot normally read the exact median from a histogram.

You can identify the interval containing the median by using cumulative frequencies.

For the travel-time example:

IntervalFrequencyCumulative frequency
0–under 1033
10–under 20912
20–under 301224
30–under 40832
40–under 50537
50–under 60239
60–under 70140

There are 40 observations.

The median is the average of the 20th and 21st observations.

The cumulative frequency reaches 12 before the 20–30 interval and 24 after it.

Therefore, both middle observations lie in the 20 to under 30 minute interval.

The exact median is unknown.

Estimating the median using interpolation

If we assume that observations are approximately evenly distributed within the median class, we can estimate the median.

Estimated median:

20 + [(20 − 12) ÷ 12] × 10

= 20 + (8 ÷ 12) × 10

≈ 26.7 minutes.

This is an estimate, not an exact value. Its accuracy depends on the assumption about how observations are distributed inside the class.

Estimating the mean from grouped data

The mean can be estimated using class midpoints.

Formula:

Estimated mean = Σ(f × midpoint) ÷ Σf

For our example:

ClassMidpointFrequencyf × midpoint
0–105315
10–20159135
20–302512300
30–40358280
40–50455225
50–60552110
60–7065165
Total401,130

Estimated mean:

1,130 ÷ 40 = 28.25 minutes.

This is also an estimate because every observation within a class has been represented by its midpoint.

Mean versus median in skewed distributions

The mean is sensitive to extreme observations.

The median depends on the middle position and is much less affected by extreme values.

As a useful rule of thumb:

  • Right-skewed distribution: mean is often greater than median.

  • Left-skewed distribution: mean is often less than median.

  • Approximately symmetric distribution: mean and median are often reasonably close.

These are tendencies, not universal laws.

Which summary should you use?

DistributionPreferred summaries
Approximately symmetric, without influential outliersMean and standard deviation
SkewedMedian and IQR
Contains influential outliersMedian and IQR
Strongly asymmetricMedian and IQR

Why histogram bin width changes the picture

One of the most important ideas in graphical statistics is that the appearance of a histogram depends on how the intervals are selected.

Use App A's 15 delivery times again.

Bin width of 10 minutes

20 to under 30: 11 observations

30 to under 40: 4 observations

This creates a simple two-bar summary.

Bin width of 5 minutes

20 to under 25: 2

25 to under 30: 9

30 to under 35: 3

35 to under 40: 1

The main concentration becomes much clearer.

Bin width of 2 minutes

22 to under 24: 1

24 to under 26: 2

26 to under 28: 3

28 to under 30: 5

30 to under 32: 2

32 to under 34: 1

34 to under 36: 0

36 to under 38: 0

38 to under 40: 1

The distribution now reveals more detail, including the isolated observation at 38.

All three histograms represent exactly the same 15 observations.

The difference is the choice of intervals.

Very wide bins can conceal important patterns. Very narrow bins can make random fluctuations look like meaningful peaks.

Choose intervals that reveal the overall structure without creating a misleading impression.

Histogram class boundaries

A common convention is to include the left boundary and exclude the right boundary.

Therefore:

  • 20 belongs to 20 to under 30.

  • 29 belongs to 20 to under 30.

  • 30 belongs to 30 to under 40.

Always follow the class-interval notation given in the question.

═══════════════════════════════════════════════

PART 4: STEM-AND-LEAF PLOTS — BUILDING A GRAPH WITHOUT LOSING THE DATA

What is a stem-and-leaf plot?

A stem-and-leaf plot separates each observation into two parts:

  • Stem: the leading digit or digits.

  • Leaf: the final digit.

For example:

27 becomes 2 | 7.

Here, 2 is the stem and 7 is the leaf.

A stem-and-leaf plot organizes numerical observations while retaining the original values.

It is particularly useful for small and moderately sized data sets.

In the UK, the same representation is commonly called a stem-and-leaf diagram.

How to construct a stem-and-leaf plot

Use App B's delivery times:

15, 18, 20, 22, 25, 27, 28, 29, 31, 33, 35, 38, 41, 45, 50

Step 1: Arrange the data in ascending order.

The values are already sorted.

Step 2: Identify the stems.

For two-digit observations, use the tens digit.

Step 3: List every required stem.

Include empty stems between the smallest and largest observations.

Step 4: Write the leaves in ascending order.

The units digits become the leaves.

Step 5: Add a key.

A key is essential.

Example:

2 | 7 = 27 minutes.

App B stem-and-leaf plot

Stem | Leaves

  1  | 5 8
  2  | 0 2 5 7 8 9
  3  | 1 3 5 8
  4  | 1 5
  5  | 0

Key: 2 | 7 represents 27 minutes.

Count the leaves:

2 + 6 + 4 + 2 + 1 = 15.

The total matches the number of observations.

How to interpret the stem-and-leaf diagram

Shape: The observations are concentrated in the 20s and 30s, with fewer observations at the higher values.

Center: The eighth observation is 29, so the median is 29 minutes.

Spread: The minimum is 15 and the maximum is 50.

Range = 50 − 15 = 35 minutes.

Unusual observations: The observation at 50 is relatively high, but whether it qualifies as an outlier requires a separate calculation.

Split stem-and-leaf plots

Sometimes a single stem contains too many leaves.

For example, a stem containing the leaves:

0 1 2 3 4 5 6 7 8 9

does not show much detail.

A split-stem plot solves this problem.

Each stem is divided into two rows:

  • First row: leaves 0–4.

  • Second row: leaves 5–9.

App B becomes:

Stem | Leaves

  1  | 
  1  | 5 8
  2  | 0 2
  2  | 5 7 8 9
  3  | 1 3
  3  | 5 8
  4  | 1
  4  | 5
  5  | 0
  5  |

Key: 2 | 7 = 27 minutes.

The empty rows are retained to make the structure clear.

The key should explain that each stem has been divided into two rows.

Back-to-back stem-and-leaf plots

A back-to-back stem-and-leaf diagram is especially useful when comparing two small data sets.

The two groups share the same stems.

One group's leaves appear on the left, while the other group's leaves appear on the right.

Using App A and App B:

App A leaves | Stem | App B leaves

             |  1   | 5 8
9 9 8 8 8 7 6 6 5 4 2 | 2 | 0 2 5 7 8 9
8 3 1 0      |  3   | 1 3 5 8
             |  4   | 1 5
             |  5   | 0

Key:

Right side: 2 | 7 = 27 minutes for App B.

Left side: 9 | 2 = 29 minutes for App A.

For the left-hand side, leaves are written in descending order from left to right so that the values increase as you move towards the stem.

What does the back-to-back plot reveal?

App A has most observations concentrated in the 20s.

App B has observations extending from the teens through the 50s.

The difference in spread is immediately visible.

This is an example of how a graphical comparison can communicate information more effectively than a list of averages.

Stem-and-leaf plots with decimals

The same method works with decimal values.

Suppose the observations are:

3.4, 3.7, 4.1, 4.6, 4.8

The diagram is:

Stem | Leaves

  3  | 4 7
  4  | 1 6 8

Key: 3 | 4 = 3.4.

For three-digit values:

125, 131, 148

you could use:

Stem | Leaves

 12  | 5
 13  | 1
 14  | 8

Key: 12 | 5 = 125.

Common stem-and-leaf mistakes

  1. Writing leaves in the wrong order.

  2. Forgetting the key.

  3. Omitting empty stems.

  4. Putting more than one digit in a leaf when the chosen key requires single-digit leaves.

  5. Using inconsistent stems.

  6. Forgetting to check that the number of leaves equals the sample size.

Which graph should you choose?

SituationSuitable graph
Small data set with repeated valuesDot plot
Small data set where exact values matterStem-and-leaf plot
Comparing two small groupsBack-to-back stem-and-leaf plot
Large quantitative data setHistogram
Data with many distinct numerical valuesHistogram

These are useful guidelines, not rigid limits. The best graph depends on the size, type and purpose of the data.

═══════════════════════════════════════════════

PART 5: OUTLIERS AND THE 1.5 × IQR RULE

An outlier is an observation that is unusually far from the rest of a distribution.

A point that looks unusual on a dot plot is not automatically an outlier under a formal statistical rule.

AP Statistics commonly uses the 1.5 × IQR rule.

What is the interquartile range?

The interquartile range measures the spread of the middle 50% of observations.

IQR = Q₃ − Q₁

Where:

  • Q₁ is the first quartile.

  • Q₃ is the third quartile.

The 1.5 × IQR outlier rule

First calculate the interquartile range.

Then calculate two boundaries, called fences.

Lower fence:

Q₁ − 1.5 × IQR

Upper fence:

Q₃ + 1.5 × IQR

An observation below the lower fence or above the upper fence is classified as a potential outlier under this rule.

Worked example: Is App A's 38-minute delivery an outlier?

Sorted observations:

22, 24, 25, 26, 26, 27, 28, 28, 28, 29, 29, 30, 31, 33, 38

There are 15 observations.

The median is the eighth observation:

Median = 28.

Exclude the median when dividing the remaining observations into two equal halves.

Lower half:

22, 24, 25, 26, 26, 27, 28

Therefore:

Q₁ = 26.

Upper half:

28, 29, 29, 30, 31, 33, 38

Therefore:

Q₃ = 30.

Calculate the IQR:

IQR = 30 − 26 = 4.

Calculate the upper fence:

30 + 1.5 × 4 = 36.

Calculate the lower fence:

26 − 1.5 × 4 = 20.

The fences are 20 and 36.

The observation 38 is above 36.

Therefore, 38 minutes is an outlier under the 1.5 × IQR rule.

The value 22 is not an outlier because it lies above the lower fence.

Worked example: Does App B have any outliers?

Sorted observations:

15, 18, 20, 22, 25, 27, 28, 29, 31, 33, 35, 38, 41, 45, 50

Median = 29.

Lower half:

15, 18, 20, 22, 25, 27, 28

Q₁ = 22.

Upper half:

31, 33, 35, 38, 41, 45, 50

Q₃ = 38.

IQR = 38 − 22 = 16.

Upper fence:

38 + 1.5 × 16 = 62.

Lower fence:

22 − 1.5 × 16 = −2.

Every observation lies between −2 and 62.

Therefore, App B has no outliers under this rule.

An important statistical lesson

App B contains more extreme-looking delivery times than App A.

Yet App B has no outliers under the 1.5 × IQR rule.

Why?

Because its overall spread is much larger.

The outlier rule measures unusual observations relative to the distribution itself. It does not apply one fixed maximum or minimum to every data set.

Should outliers be removed?

Never delete an outlier automatically.

First investigate its origin.

Possible explanations include:

  • A recording or measurement error.

  • An unusual but genuine observation.

  • An exceptional event.

  • A different population or process.

An outlier can have a substantial effect on the mean and standard deviation.

The median and IQR are generally less sensitive to extreme observations.

An outlier should be reported and interpreted, not silently discarded.

═══════════════════════════════════════════════

PART 6: HOW TO COMPARE TWO DISTRIBUTIONS IN AP STATISTICS

Describing two graphs separately is not the same as comparing them.

A strong comparison identifies similarities and differences using the same statistical measures and the same context.

The same-scale rule

Before comparing two histograms or dot plots, check that the horizontal axes use the same scale.

For histograms, also check the class intervals and bin widths.

If one graph uses intervals of 5 minutes and another uses intervals of 10 minutes, the apparent shapes may not be directly comparable.

When sample sizes differ, consider relative frequencies rather than comparing raw counts.

A group of 300 observations will naturally produce larger frequency counts than a group of 30 in many situations.

Weak comparison versus strong comparison

Weak:

"App A has a median of 28 and App B has a median of 29."

This merely reports two numbers.

Stronger:

"App B's median delivery time is slightly higher than App A's, at 29 minutes compared with 28 minutes. However, App B has considerably greater variability, with an IQR of 16 minutes compared with just 4 minutes for App A."

This statement makes an actual comparison.

Comparing App A and App B using SOCS

SHAPE

App A has one main concentration around the upper 20s, with a high observation at 38 minutes.

App B has one main concentration in the 20s and a longer extension towards larger delivery times.

OUTLIERS

App A has one outlier at 38 minutes under the 1.5 × IQR rule.

App B has no outliers under the same rule.

CENTER

The medians are similar:

App A = 28 minutes.

App B = 29 minutes.

The means are:

App A = 28.27 minutes.

App B = 30.47 minutes.

The larger mean for App B is consistent with its greater concentration of high delivery times.

SPREAD

App A:

Range = 38 − 22 = 16 minutes.

IQR = 30 − 26 = 4 minutes.

Sample standard deviation ≈ 3.86 minutes.

App B:

Range = 50 − 15 = 35 minutes.

IQR = 38 − 22 = 16 minutes.

Sample standard deviation ≈ 10.05 minutes.

App B is substantially more variable by all three measures.

A complete comparison in context

"Both pizza delivery apps have similar median delivery times, with App A at 28 minutes and App B at 29 minutes. However, App B has considerably greater variability, with an IQR of 16 minutes compared with 4 minutes for App A. App A also has one high outlier at 38 minutes, while App B has none under the 1.5 × IQR rule. Therefore, App A provides more consistent delivery times in this sample."

This is a more meaningful conclusion than simply saying that one app is faster.

The data support a conclusion about consistency in the observed sample. They do not, by themselves, establish that App A will always be more reliable in the future.

Useful comparison vocabulary

Use precise language:

  • Higher than

  • Lower than

  • Approximately equal to

  • More variable than

  • Less spread out than

  • More consistent than

  • More concentrated than

  • More strongly skewed than

  • Whereas

  • In contrast

  • Unlike

  • Both distributions

Avoid writing two separate descriptions without connecting them.

Choosing the correct measures

SituationCompare
Roughly symmetric distributions without influential outliersMeans and standard deviations
Skewed distributionsMedians and IQRs
Distributions with outliersMedians and IQRs
Any two distributionsShape and unusual features as well

Remember that identical medians do not mean two distributions are identical.

Two groups can have the same center but completely different shapes and spreads.

═══════════════════════════════════════════════

PART 7: US AND UK STATISTICS — DIFFERENT TERMINOLOGY, RELATED METHODS

Students studying AP Statistics, GCSE Mathematics, IB Mathematics and A-level Statistics encounter many of the same graphical ideas.

Some terminology differs.

US terminologyUK terminology
Stem-and-leaf plotStem-and-leaf diagram
Dot plotDot plot
HistogramHistogram
Right-skewedPositively skewed
Left-skewedNegatively skewed
Interquartile rangeInterquartile range
FrequencyFrequency
Class intervalClass interval

The biggest additional point to understand is frequency density.

What is frequency density?

When histogram classes have unequal widths, the height of a bar cannot simply represent frequency.

Instead, the vertical axis represents frequency density.

Formula:

Frequency density = Frequency ÷ Class width

The area of each bar represents its frequency.

Worked frequency density example

Consider two intervals.

Class intervalFrequencyClass width
10 to 301220
30 to 3595

First interval:

Frequency density = 12 ÷ 20 = 0.6.

Second interval:

Frequency density = 9 ÷ 5 = 1.8.

The second bar is taller even though it contains fewer observations.

Why?

Because its class interval is much narrower.

Check the areas:

First bar:

0.6 × 20 = 12.

Second bar:

1.8 × 5 = 9.

The areas correctly represent the frequencies.

The examination rule

For equal-width histogram classes, bar heights can represent frequencies or relative frequencies.

For unequal-width classes, use frequency density so that bar area represents frequency.

This is particularly important for GCSE Higher and A-level Statistics questions.

═══════════════════════════════════════════════

PART 8: AP STATISTICS FREE-RESPONSE ANSWER TEMPLATES

A statistical graph question often requires more than identifying a peak or calculating a median.

Your explanation should identify the variable, give relevant numerical evidence and interpret the result.

Template 1: Describe one distribution

"The distribution of [variable and units] is approximately [shape]. It is [unimodal/bimodal] with a main concentration around [value or interval]. The center is approximately [mean/median]. The values range from [minimum] to [maximum], with an IQR of [value]. [Identify any outliers and explain the evidence.]"

Template 2: Compare two distributions

"[Group A] has a [higher/lower/similar] median [variable] than [Group B], at [value] compared with [value]. However, [Group A/Group B] is more variable, with an IQR of [value] compared with [value]. Their shapes are [comparison]. [Describe unusual observations.] In context, this suggests [interpretation]."

Template 3: Explain why the median is preferred

"Because the distribution is skewed and/or contains influential outliers, the median and IQR are more appropriate summaries than the mean and standard deviation. The mean and standard deviation are more sensitive to extreme observations."

Template 4: Identify a histogram limitation

"The histogram groups observations into intervals, so the exact individual values cannot be recovered. It is possible to identify the interval containing the median, but an exact median cannot generally be determined without the original observations."

Template 5: Interpret an outlier

"The observation of [value] is above the upper fence of [value], calculated using Q₃ + 1.5 × IQR. Therefore, it is an outlier under the 1.5 × IQR rule."

═══════════════════════════════════════════════

PART 9: TEN COMMON STATISTICS MISTAKES

  1. Naming skewness according to the peak rather than the tail.

    Correction: Skewness is named according to the direction of the tail.

  2. Confusing a histogram with a bar chart.

    Correction: Histograms display quantitative intervals; bar charts display categories.

  3. Reading exact observations from a histogram.

    Correction: A histogram provides grouped information, not individual values.

  4. Forgetting the key in a stem-and-leaf plot.

    Correction: Always explain what a stem and leaf represent.

  5. Omitting empty stems.

    Correction: Retain intermediate empty stems because they reveal gaps.

  6. Forgetting to sort the observations.

    Correction: Arrange the data before constructing a stem-and-leaf plot.

  7. Calling every isolated observation an outlier.

    Correction: Use the appropriate outlier rule when required.

  8. Treating the mean and median as interchangeable.

    Correction: Consider the shape and extreme observations before choosing a summary.

  9. Comparing frequencies when sample sizes differ.

    Correction: Relative frequencies may provide a fairer comparison.

  10. Assuming equal centers mean identical distributions.

    Correction: Compare shape, center, outliers and spread.

═══════════════════════════════════════════════

PART 10: AP STATISTICS PRACTICE QUESTIONS WITH ANSWERS

Try the questions before reading the solutions.

QUESTION 1: DOT PLOTS AND OUTLIERS

Twelve students report the number of siblings they have:

0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 4, 7

Answer the following:

(a) Construct a dot plot.

(b) Describe the distribution's shape.

(c) Calculate the median.

(d) Find Q₁, Q₃ and the IQR.

(e) Determine whether 7 is an outlier using the 1.5 × IQR rule.

QUESTION 2: HISTOGRAMS AND CUMULATIVE FREQUENCY

The examination scores of 50 students are grouped as follows.

Score intervalFrequency
0 to under 202
20 to under 405
40 to under 6010
60 to under 8018
80 to under 10015

Answer:

(a) Describe the distribution's shape.

(b) Which interval contains the median?

(c) What percentage scored at least 60?

(d) Would you expect the mean to be above or below the median?

QUESTION 3: STEM-AND-LEAF PLOT

The scores of 15 players are:

41, 43, 47, 52, 55, 55, 58, 61, 62, 64, 64, 67, 70, 71, 93

(a) Construct a stem-and-leaf plot.

(b) Include an appropriate key.

(c) Find the median.

(d) Calculate the IQR.

(e) Use the 1.5 × IQR rule to check for outliers.

QUESTION 4: COMPARING TWO DISTRIBUTIONS

Two groups take the same examination.

StatisticGroup XGroup Y
Median7272
IQR1024
Range3560
ShapeApproximately symmetricSkewed left
OutliersNoneNone

Write a statistical comparison of the two groups.

QUESTION 5: FIND THE ERROR

A student writes:

"This histogram has a tail extending towards the right, so the distribution is negatively skewed. The mean must therefore be smaller than the median."

Identify the mistakes and rewrite the statement correctly.

═══════════════════════════════════════════════

FULL ANSWERS AND EXPLANATIONS

ANSWER 1: DOT PLOT

(a) Frequency table:

Number of siblingsFrequency
01
13
24
32
41
50
60
71

(b) The distribution is unimodal, with a peak at 2 siblings. It has a right-hand tail and an isolated observation at 7.

(c) There are 12 observations.

Median = average of the 6th and 7th values.

Median = (2 + 2) ÷ 2 = 2.

(d) Lower half:

0, 1, 1, 1, 2, 2.

Q₁ = (1 + 1) ÷ 2 = 1.

Upper half:

2, 2, 3, 3, 4, 7.

Q₃ = (3 + 3) ÷ 2 = 3.

IQR = 3 − 1 = 2.

(e) Upper fence:

3 + 1.5 × 2 = 6.

Lower fence:

1 − 1.5 × 2 = −2.

Since 7 is greater than 6, the observation of 7 siblings is an outlier under the 1.5 × IQR rule.

ANSWER 2: HISTOGRAM

(a) The distribution is unimodal and skewed to the left. The highest frequency occurs in the 60 to under 80 interval, with a tail extending towards lower scores.

(b) There are 50 observations.

The median is between the 25th and 26th observations.

Cumulative frequencies:

2, 7, 17, 35, 50.

Both middle observations fall within the 60 to under 80 interval.

(c) Scores of at least 60:

18 + 15 = 33.

Percentage:

(33 ÷ 50) × 100 = 66%.

(d) The mean would generally be expected to be below the median because the distribution has a left-hand tail.

This is a tendency rather than a guarantee.

ANSWER 3: STEM-AND-LEAF

(a) The plot is:

Stem | Leaves

  4  | 1 3 7
  5  | 2 5 5 8
  6  | 1 2 4 4 7
  7  | 0 1
  8  |
  9  | 3

(b) Key:

6 | 1 = 61 points.

(c) There are 15 observations.

Median = eighth observation = 61.

(d) Lower half:

41, 43, 47, 52, 55, 55, 58.

Q₁ = 52.

Upper half:

62, 64, 64, 67, 70, 71, 93.

Q₃ = 67.

IQR = 67 − 52 = 15.

(e) Upper fence:

67 + 1.5 × 15 = 89.5.

Lower fence:

52 − 1.5 × 15 = 29.5.

The observation 93 exceeds 89.5.

Therefore, 93 is an outlier under the 1.5 × IQR rule.

There are no lower outliers.

ANSWER 4: COMPARING DISTRIBUTIONS

Both groups have the same median examination score of 72, suggesting similar typical performance.

However, Group Y has substantially greater variability, with an IQR of 24 compared with 10 for Group X. Its range is also larger, at 60 compared with 35.

Group X is approximately symmetric, whereas Group Y is negatively skewed, with a tail towards lower scores.

Neither group has identified outliers.

Overall, Group X has more consistent examination results, while Group Y has a wider spread of scores.

ANSWER 5: FIND THE ERROR

There are two errors.

Error 1: A distribution with a tail towards larger values is positively skewed, or right-skewed, not negatively skewed.

Error 2: In a right-skewed distribution, the mean is generally greater than the median, not smaller.

Correct statement:

"This histogram has a tail extending towards larger values, so the distribution is positively skewed. The mean would generally be greater than the median because the high values pull the mean towards the right-hand tail."

═══════════════════════════════════════════════

FREQUENTLY ASKED QUESTIONS ABOUT DOT PLOTS, HISTOGRAMS AND DISTRIBUTIONS

1. What is the difference between a dot plot and a histogram?

A dot plot represents each observation individually using a dot. A histogram groups observations into numerical intervals and displays their frequencies using adjoining bars.

Dot plots preserve individual values, while histograms provide a compact summary of larger data sets.

2. How do you describe the shape of a distribution in AP Statistics?

Describe whether the distribution is approximately symmetric, right-skewed or left-skewed. Also identify the number of peaks, such as unimodal or bimodal, and mention any unusual gaps or isolated observations.

3. What does SOCS mean in AP Statistics?

SOCS stands for:

S = Shape.

O = Outliers.

C = Center.

S = Spread.

It is a useful checklist for describing quantitative distributions.

4. How do you identify a right-skewed histogram?

Look for a longer tail extending towards larger numerical values.

The main concentration of observations will generally be towards the lower end of the scale.

5. How do you find the median from a histogram?

Use the cumulative frequencies to identify the class interval containing the middle observation.

The exact median generally cannot be determined from grouped data alone.

Interpolation can provide an estimate if an assumption about the distribution within the median class is made.

6. What is the difference between frequency and frequency density?

Frequency is the number of observations in a class.

Frequency density is frequency divided by class width.

Frequency density is needed when histogram intervals have unequal widths, because the bar area must represent frequency.

7. Why is a stem-and-leaf plot useful?

It organizes numerical data while preserving individual observations.

It also makes it easier to identify clusters, gaps, repeated values and potential unusual observations.

8. What is a split stem-and-leaf plot?

A split stem-and-leaf plot divides each stem into multiple rows to make a crowded distribution easier to read.

A common approach is to use one row for leaves 0–4 and another for leaves 5–9.

9. What is a back-to-back stem-and-leaf diagram?

It is a graphical method for comparing two numerical data sets.

Both groups share the same stems, but their leaves are displayed on opposite sides.

10. How do you calculate an outlier using the 1.5 × IQR rule?

Calculate:

IQR = Q₃ − Q₁.

Lower fence = Q₁ − 1.5 × IQR.

Upper fence = Q₃ + 1.5 × IQR.

Values outside these fences are outliers under this rule.

11. Should you use the mean or median for skewed data?

The median is generally more appropriate because it is less sensitive to extreme observations.

The IQR is a useful measure of spread to use alongside the median.

12. Can two distributions have the same median but different shapes?

Yes.

Two groups can have identical medians but different ranges, IQRs, standard deviations, skewness and outliers.

A center measure alone never provides a complete description of a distribution.

13. Are dot plots and stem-and-leaf diagrams included in UK statistics?

These graphical methods appear in UK mathematics and statistics education, although the precise requirements vary by qualification and examination board.

GCSE and A-level students should also understand histograms, class intervals and, where applicable, frequency density.

═══════════════════════════════════════════════

THE ONE-PAGE AP STATISTICS REVISION SHEET

PILE

Find where observations concentrate and where they become sparse.

SLICE

Understand how the graph organizes the data.

  • Dot plot = individual observations.

  • Stem-and-leaf = stems and leaves.

  • Histogram = numerical intervals.

SAY

Use SOCS:

  • Shape.

  • Outliers.

  • Center.

  • Spread.

SHAPE

  • Right-skewed = tail towards larger values.

  • Left-skewed = tail towards smaller values.

  • Symmetric = approximately balanced.

  • Unimodal = one main peak.

  • Bimodal = two main peaks.

  • Uniform = roughly equal frequencies.

CENTER AND SPREAD

  • Symmetric, without influential outliers: mean and standard deviation.

  • Skewed or containing influential outliers: median and IQR.

OUTLIERS

IQR = Q₃ − Q₁.

Lower fence = Q₁ − 1.5 × IQR.

Upper fence = Q₃ + 1.5 × IQR.

HISTOGRAMS

  • Bars touch.

  • Bin width affects appearance.

  • Exact individual observations cannot be recovered.

  • Unequal-width classes require frequency density.

STEM-AND-LEAF

  • Sort observations.

  • Keep necessary empty stems.

  • Add a key.

  • Check the number of leaves.

COMPARISON

  • Use the same scale.

  • Compare shape, outliers, center and spread.

  • Name both groups.

  • Include numerical evidence.

  • Explain the conclusion in context.

═══════════════════════════════════════════════

FINAL THOUGHT: A GRAPH IS MORE THAN A PICTURE

Return to the two pizza delivery apps.

Their median delivery times were almost identical.

But the graphical evidence revealed a much more useful difference.

App A had a compact cluster of delivery times, with one high outlier.

App B had a much wider spread, ranging from 15 to 50 minutes.

The difference was not obvious from the medians alone.

That is the purpose of statistical graphs: to reveal patterns that individual numbers can conceal.

Once you understand how to read a dot plot, construct a histogram, interpret a stem-and-leaf diagram and compare distributions using SOCS, you have a practical foundation for describing quantitative data.

The next time an AP Statistics question asks you to describe a distribution, do not start by guessing the answer.

Pile. Slice. Say.

First identify where the observations collect. Then understand how the graph has organized them. Finally, describe the shape, outliers, center and spread using numerical evidence and the context of the question.

That simple process turns an unfamiliar statistical graph into a structured problem you can explain confidently.

Wednesday, November 4, 2026

AP Statistics: Frequency Tables, Two-Way Tables and Bar Charts

 

FREQUENCY TABLES, RELATIVE FREQUENCY, TWO-WAY TABLES AND BAR CHARTS IN AP STATISTICS

The Box-Divide-Say Method: How to Read Categorical Data, Calculate Conditional Percentages and Identify Association (US and UK Statistics Guide)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

THE LIBRARY THAT LOOKED EQUALLY POPULAR

A school surveys 200 students about where they usually do their homework.

The results show:

  • 24 younger students study in the school library.

  • 22 older students study in the school library.

At first glance, the difference seems insignificant. The library appears almost equally popular among both groups.

But there is a problem.

The school surveyed 120 younger students and only 80 older students.

Now compare the percentages:

Younger students:

24 ÷ 120 = 0.20 = 20%

Older students:

22 ÷ 80 = 0.275 = 27.5%

The older students in this sample are 1.375 times as likely to choose the library as the younger students.

The original comparison was misleading because it compared counts from groups of different sizes.

This is one of the most important ideas in introductory statistics:

When comparing groups of different sizes, compare proportions rather than relying on raw counts.

Frequency tables, relative frequency tables, two-way tables, conditional distributions, bar charts, segmented bar charts and mosaic plots all help us understand categorical data.

This guide develops these ideas using a simple method called Box-Divide-Say. It also explains how to recognize association, avoid misleading statistical comparisons and write stronger AP Statistics examination answers.

The examples use original fictional datasets created for this guide.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

THE ESSENTIAL STATISTICS VOCABULARY

Before calculating percentages, understand these terms.

Individual: The person or object being studied. In our example, each student is an individual.

Variable: A characteristic recorded for each individual.

Categorical variable: A variable that places individuals into groups, such as preferred subject, transport method or study location.

Quantitative variable: A numerical variable that measures or counts something, such as age, height or number of books read.

Category: One possible group or value of a categorical variable.

Frequency: The number of individuals belonging to a particular category.

Relative frequency: The frequency divided by the total number of individuals, expressed as a proportion or percentage.

Frequency distribution: A summary showing how observations are distributed across categories or values.

Frequency table: A table listing categories and their corresponding counts.

Relative frequency table: A table showing the proportion or percentage belonging to each category.

Two-way table: A table that classifies the same individuals according to two categorical variables.

Contingency table: Another name for a two-way table.

Joint relative frequency: The proportion of the entire sample belonging to a particular combination of two categories.

Marginal relative frequency: The proportion belonging to a category of one variable, calculated using a row or column total.

Conditional relative frequency: The proportion belonging to a category within a specified group.

Conditional distribution: The complete distribution of one categorical variable within a particular category of another variable.

Association: A relationship between two categorical variables in which the distribution of one variable differs across the categories of the other.

Segmented bar chart: A chart in which each bar represents a group and is divided into segments showing the percentages of different categories.

Mosaic plot: A graphical display of two categorical variables in which rectangle areas represent frequencies or proportions.

One distinction is particularly important:

A frequency is a count. A relative frequency is a proportion. A conditional relative frequency is a proportion calculated within a specified group.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

PART 1: FREQUENCY TABLES AND CATEGORICAL DATA

What is a frequency table in statistics?

A frequency table organizes observations into categories and records how many individuals belong to each category.

Suppose a school surveys 200 students about where they usually complete their homework.

The results are:

Study location | Frequency

Home | 104

School library | 46

Café | 30

Friend's house | 20

TOTAL | 200

This is a frequency distribution for one categorical variable.

The variable is study location, and its four categories are Home, School Library, Café and Friend's House.

The table immediately tells us that studying at home is the most common response.

However, a reliable frequency table must satisfy three conditions.

1. Every observation must be counted.

The frequencies must add up to the total sample size.

104 + 46 + 30 + 20 = 200

2. Categories must be mutually exclusive.

An individual should not be counted in two categories when the question requires one response.

3. Categories must cover all possible responses.

Every student must have a suitable category.

These conditions prevent missing observations, overlapping categories and double counting.

Frequency tables for quantitative data

Frequency tables are not restricted to categorical variables.

They can also summarize quantitative data when the number of distinct values is manageable.

Suppose 25 students report how many books they read last month.

Books read | Frequency | Cumulative frequency

0 | 3 | 3

1 | 7 | 10

2 | 8 | 18

3 | 5 | 23

4 | 2 | 25

Cumulative frequency is the running total of observations.

For example:

The number of students who read two books or fewer is:

3 + 7 + 8 = 18

Therefore, the cumulative frequency at two books is 18.

When quantitative data contain many possible values, observations are often grouped into class intervals. Histograms and grouped frequency distributions are then useful.

Remember:

A categorical frequency table summarizes categories. A quantitative frequency table summarizes numerical values or intervals.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

PART 2: RELATIVE FREQUENCY TABLES AND PERCENTAGES

What is relative frequency?

Relative frequency tells us what fraction of the entire sample belongs to a particular category.

The formula is:

RELATIVE FREQUENCY = FREQUENCY ÷ TOTAL FREQUENCY

To convert a relative frequency into a percentage:

PERCENTAGE = RELATIVE FREQUENCY × 100

Return to the homework survey.

Study locationFrequencyRelative frequency
Home1040.52
School library460.23
Café300.15
Friend's house200.10
Total2001.00

Now convert each proportion into a percentage.

Home:

104 ÷ 200 = 0.52 = 52%

School library:

46 ÷ 200 = 0.23 = 23%

Café:

30 ÷ 200 = 0.15 = 15%

Friend's house:

20 ÷ 200 = 0.10 = 10%

The relative frequency distribution is:

  • Home: 52%

  • School library: 23%

  • Café: 15%

  • Friend's house: 10%

The percentages add to 100%.

This is the first important checking rule:

The relative frequencies for all categories of one complete variable should add to 1, or 100%.

Small differences caused by rounding are acceptable.

Why relative frequency is more useful than frequency when comparing samples

Imagine another school surveys 500 students.

Its results show that 240 students study at home.

School A:

104 ÷ 200 = 52%

School B:

240 ÷ 500 = 48%

School B has more students studying at home in absolute numbers.

However, School A has a higher proportion of students choosing home study.

The difference matters because the sample sizes are unequal.

This is why relative frequency is essential when comparing survey results, population groups, customer preferences and educational statistics.

Relative frequency versus percentage

These expressions describe the same information in different forms.

0.25 = 25%

0.60 = 60%

0.075 = 7.5%

A decimal proportion is useful in calculations, while a percentage is often easier to interpret in written answers.

Do not confuse relative frequency with frequency density. Frequency density is used when constructing histograms, particularly when class intervals have unequal widths.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

PART 3: BAR CHARTS FOR CATEGORICAL DATA

What is a bar chart in statistics?

A bar chart is a graphical representation of categorical data.

Each category is represented by a separate bar.

The height of the bar represents its frequency or relative frequency.

For our homework survey:

Home: 104 students

Library: 46 students

Café: 30 students

Friend's house: 20 students

A frequency bar chart would use these counts on the vertical axis.

A relative frequency bar chart would use 52%, 23%, 15% and 10%.

Both are valid representations of the same sample.

How to construct a bar chart correctly

Follow these rules:

  1. Give the graph a descriptive title.

  2. Label both axes.

  3. Identify whether the vertical axis represents frequency or relative frequency.

  4. Start the vertical axis at zero for an ordinary bar chart.

  5. Keep bar widths equal.

  6. Leave gaps between categories.

  7. Use an appropriate ordering of categories.

For nominal categories, you can use a meaningful order, alphabetical order or descending frequency order.

For ordinal categories, preserve their natural order.

For example, satisfaction ratings should normally appear in this sequence:

Very dissatisfied → Dissatisfied → Neutral → Satisfied → Very satisfied.

Bar chart versus histogram: What is the difference?

This distinction is frequently tested in introductory statistics.

Bar chartHistogram
Represents categorical dataRepresents quantitative data grouped into intervals
Bars are separated by gapsBars normally touch
Each bar represents a categoryEach bar represents an interval
Bar height represents frequency or relative frequencyFrequency or frequency density may be represented, depending on the vertical scale

Example of a bar chart:

Favourite subjects: Mathematics, Science, English and History.

Example of a histogram:

Students' examination scores grouped into intervals of 0–20, 20–40, 40–60 and so on.

For a histogram using frequency density:

Frequency density = Frequency ÷ Class width

When class widths differ, the area of each histogram bar represents frequency if the vertical axis is frequency density.

This is particularly important in UK GCSE and A-level statistics questions.

Common ways bar charts mislead readers

A graph can be mathematically constructed yet communicate a misleading impression.

Watch for:

Truncated vertical axes: Starting above zero exaggerates differences in bar heights.

Three-dimensional effects: Perspective can distort apparent bar sizes.

Unequal bar widths: Wider bars can attract attention even when their heights are similar.

Missing sample sizes: Percentages without the number of observations can conceal important information.

Comparing unequal groups using counts: A larger group can produce more responses even when its percentage is lower.

Always inspect the axis, units, categories and sample size before interpreting a statistical graph.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

PART 4: TWO-WAY TABLES AND CONTINGENCY TABLES

What is a two-way table?

A frequency table describes one variable.

A two-way table describes two categorical variables simultaneously.

It helps answer questions such as:

  • Do younger and older students prefer different study locations?

  • Is transport preference associated with age group?

  • Does product preference vary by customer category?

  • Are voting preferences distributed differently across demographic groups?

Let's reorganize our original survey.

There are 200 students:

  • 120 younger students.

  • 80 older students.

The study-location data are:

Study locationYoungerOlderTotal
Home7826104
School library242246
Café62430
Friend's house12820
Total12080200

This is a two-way frequency table, also known as a contingency table or cross-tabulation.

Each interior cell represents individuals belonging to one category of each variable.

For example:

The number 24 in the Café row and Older column represents older students who study at cafés.

Understanding marginal totals and the grand total

The right-hand column contains the row totals.

These are called marginal totals.

The bottom row contains the column totals.

The number in the bottom-right corner is the grand total.

There are three useful ways to read this table:

Row totals: The number of students in each study-location category.

Column totals: The number of students in each age group.

Interior cells: The number of students belonging to both specified categories.

A useful checking rule:

Every row must add to its row total, every column must add to its column total, and the marginal totals must agree with the grand total.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

PART 5: JOINT, MARGINAL AND CONDITIONAL RELATIVE FREQUENCY

This is one of the most important sections for AP Statistics students.

All three types of relative frequency involve division, but they answer different questions.

1. Joint relative frequency

Joint relative frequency describes the proportion of the entire sample belonging to a particular combination of categories.

Formula:

JOINT RELATIVE FREQUENCY = CELL FREQUENCY ÷ GRAND TOTAL

Example:

How many students are both younger and café users?

There are 6.

Joint relative frequency:

6 ÷ 200 = 0.03 = 3%

Therefore, 3% of all surveyed students are younger students who study at cafés.

The denominator is the entire sample.

2. Marginal relative frequency

Marginal relative frequency describes the proportion belonging to one category of either variable.

Formula:

MARGINAL RELATIVE FREQUENCY = MARGINAL TOTAL ÷ GRAND TOTAL

Example:

What percentage of all students study at home?

104 ÷ 200 = 0.52 = 52%

Another example:

What percentage of students belong to the younger age group?

120 ÷ 200 = 0.60 = 60%

Again, the denominator is the grand total.

3. Conditional relative frequency

Conditional relative frequency describes the proportion within a specified group.

Formula:

CONDITIONAL RELATIVE FREQUENCY = CELL FREQUENCY ÷ TOTAL OF THE GIVEN GROUP

Example:

What percentage of older students study at cafés?

There are 24 older students who study at cafés.

There are 80 older students altogether.

24 ÷ 80 = 0.30 = 30%

Therefore, 30% of older students in the sample study at cafés.

Notice that the denominator is no longer 200.

It is 80 because the question restricts our attention to older students.

This is the distinction that causes many mistakes in two-way table examination questions.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

PART 6: THE BOX-DIVIDE-SAY METHOD

A simple way to avoid choosing the wrong denominator is to use three steps.

BOX

Identify the group specified in the question.

Look for phrases such as:

  • Of the older students

  • Among library users

  • Given that a student studies at home

  • Of all students who prefer cafés

  • Among people aged 40 and over

Mentally box the entire row or column representing that group.

DIVIDE

Find the required cell and divide it by the total of the boxed group.

SAY

Write the answer as a complete sentence that identifies the group, category and percentage.

This final step matters because a percentage without context may answer a different question.

Worked example 1: Percentage of café users who are older

Question:

What percentage of students who study at a café are older?

BOX:

The specified group is café users.

The Café row total is 30.

DIVIDE:

24 ÷ 30 = 0.80 = 80%

SAY:

Of all students who study at a café, 80% are older students.

Worked example 2: Percentage of older students who study at cafés

Question:

What percentage of older students study at cafés?

BOX:

The specified group is older students.

The Older column total is 80.

DIVIDE:

24 ÷ 80 = 0.30 = 30%

SAY:

Of the older students, 30% study at cafés.

Why are the answers different?

Both questions use the same cell: 24.

But their denominators are different.

24 ÷ 30 = 80%

24 ÷ 80 = 30%

Neither calculation is wrong.

They answer different statistical questions.

This is the most important habit to develop when solving conditional relative frequency problems.

Never choose the denominator before identifying the group named in the question.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

PART 7: CONDITIONAL DISTRIBUTIONS AND ASSOCIATION

What is a conditional distribution?

A conditional distribution shows the complete distribution of one categorical variable within a particular category of another variable.

For example, we want to compare study-location preferences among younger and older students.

We must calculate percentages using each age group's own total.

Younger students: Total = 120

Home:

78 ÷ 120 = 65%

School library:

24 ÷ 120 = 20%

Café:

6 ÷ 120 = 5%

Friend's house:

12 ÷ 120 = 10%

Total = 100%

Older students: Total = 80

Home:

26 ÷ 80 = 32.5%

School library:

22 ÷ 80 = 27.5%

Café:

24 ÷ 80 = 30%

Friend's house:

8 ÷ 80 = 10%

Total = 100%

Now the two groups can be compared fairly.

Study locationYoungerOlder
Home65%32.5%
Library20%27.5%
Café5%30%
Friend's house10%10%
Total100%100%

Each column represents a conditional distribution.

How do you identify association between two categorical variables?

Two categorical variables are associated when the conditional distribution of one variable differs across the categories of the other variable.

In our example:

  • 65% of younger students study at home, compared with 32.5% of older students.

  • 5% of younger students study at cafés, compared with 30% of older students.

  • 20% of younger students use the library, compared with 27.5% of older students.

These differences suggest an association between age group and study location in the sample.

A strong statistical conclusion would be:

"Study location and age group appear to be associated in this sample. Older students are more likely to study at cafés than younger students, with percentages of 30% and 5%, respectively."

What if the conditional percentages are nearly identical?

Imagine that the conditional distributions were:

Study locationYoungerOlder
Home52%52%
Library23%23%
Café15%15%
Friend's house10%10%

The distributions are identical.

This would indicate no association between the two categorical variables in the observed sample.

In real datasets, distributions may be approximately rather than exactly equal.

Remember:

Association is about comparing conditional distributions, not simply comparing raw frequencies.

Association does not prove causation

Suppose older students are more likely to study in cafés.

Does being older cause students to choose cafés?

Not necessarily.

Other factors might include:

  • Greater independence.

  • Different school schedules.

  • Access to transport.

  • Different study habits.

  • Availability of money.

A two-way table identifies a pattern of association. It does not establish the cause of that pattern.

This distinction is essential in statistical interpretation.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

PART 8: COMPLETING A TWO-WAY TABLE WITH MISSING VALUES

AP Statistics and other school-level statistics courses may ask students to complete an incomplete frequency table.

The principle is straightforward:

Every row and column must add to its corresponding total.

Consider a survey of 100 students.

Club membershipWalksRidesTotal
Has club14?40
No club?22?
Total??100

Step 1: Complete the first row.

14 + ? = 40

Missing value = 26.

Step 2: Calculate the second row total.

100 − 40 = 60.

Step 3: Complete the second row.

? + 22 = 60

Missing value = 38.

Step 4: Calculate column totals.

Walks:

14 + 38 = 52.

Rides:

26 + 22 = 48.

Completed table:

Club membershipWalksRidesTotal
Has club142640
No club382260
Total5248100

Final check:

52 + 48 = 100.

All row totals, column totals and the grand total agree.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

PART 9: SEGMENTED BAR CHARTS AND 100% STACKED BAR CHARTS

What is a segmented bar chart?

A segmented bar chart displays two categorical variables simultaneously.

Each bar represents one category of a selected grouping variable.

The bar is divided into segments representing the categories of the second variable.

Every bar has the same total length: 100%.

This makes segmented bar charts particularly useful for comparing conditional distributions.

They are also called 100% stacked bar charts.

How to construct a segmented bar chart

Using our homework survey:

Step 1: Choose the variable that defines the bars.

We want to compare younger and older students, so age group determines the bars.

Step 2: Calculate the conditional percentages for each age group.

Younger:

Home 65%, Library 20%, Café 5%, Friend's house 10%.

Older:

Home 32.5%, Library 27.5%, Café 30%, Friend's house 10%.

Step 3: Draw two equal-length bars.

Each bar represents 100%.

Step 4: Divide each bar into segments according to the percentages.

Step 5: Use consistent colours or shading for the same categories.

Step 6: Add a title, percentage axis and legend.

Interpreting the segmented bar chart

Younger students:

Home 65% | Library 20% | Café 5% | Friend's house 10%

Older students:

Home 32.5% | Library 27.5% | Café 30% | Friend's house 10%

The Home segment is considerably larger for younger students.

The Café segment is considerably larger for older students.

The Friend's house segment is identical.

The overall distribution changes substantially between the two groups.

This is visual evidence of association.

The Line-Up Test for association

Here is a quick way to remember how segmented bar charts help identify association.

Imagine drawing horizontal lines at the boundaries between categories.

If the boundaries occur at approximately the same percentages in each bar, the conditional distributions are similar.

If the boundaries shift considerably, the conditional distributions differ.

In our example, the end of the Home segment occurs at:

Younger: 65%

Older: 32.5%

That is a substantial difference.

The boundaries therefore do not line up.

The variables appear to be associated.

Important: A single matching segment does not mean that the variables are independent. Compare the entire conditional distributions.

Segmented bar chart versus side-by-side bar chart

Both graphs can display two categorical variables, but they emphasize different comparisons.

A side-by-side bar chart places separate bars next to each other for each combination of categories.

A segmented bar chart places the categories inside equal-length bars representing groups.

For unequal group sizes, segmented bars are particularly useful because they emphasize conditional percentages rather than raw counts.

The AP Statistics framework also includes mosaic plots as a graphical method for displaying two categorical variables.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

PART 10: MOSAIC PLOTS AND TWO-WAY CATEGORICAL DATA

What is a mosaic plot in statistics?

A mosaic plot is another graphical representation of the relationship between two categorical variables.

Instead of using equal-length bars, it uses rectangles.

The width of each section represents the relative frequency of a category of the first variable.

The subdivisions within each section represent the conditional distribution of the second variable.

The area of each rectangle is proportional to the frequency or proportion of the corresponding combination of categories.

This is an important distinction.

A segmented bar chart gives every group an equal-width bar.

A mosaic plot can use different widths to represent different group sizes.

When should you use a mosaic plot?

A mosaic plot is useful when you want to display:

  • The relative sizes of different groups.

  • The distribution of categories within each group.

  • Differences in conditional percentages.

  • The relationship between two categorical variables.

For example, if one age group contains 120 students and another contains 80, a mosaic plot can represent their different sizes as well as their study-location distributions.

Segmented bar chart versus mosaic plot

FeatureSegmented bar chartMosaic plot
Group widthsEqualMay differ
Conditional distributionsShown by segment lengthsShown by subdivisions
Group sizeNot represented by bar widthRepresented by width
Main purposeCompare percentages across groupsDisplay group sizes and category proportions

Both graphs can help identify association.

When interpreting either graph, remember to consider the actual percentages and sample sizes rather than relying entirely on visual appearance.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

PART 11: HOW TO WRITE STRONG AP STATISTICS ANSWERS

A correct calculation is not always enough.

Statistical questions frequently require students to describe, compare and interpret results in context.

Use this three-part structure:

CONTEXT + NUMBERS + COMPARISON

1. Context

Name the variables and groups.

Avoid vague phrases such as "the first group" or "the second category".

2. Numbers

Include the relevant percentages or frequencies.

Identify the correct denominator when it helps clarify the comparison.

3. Comparison

Explain how the distributions differ.

Use phrases such as:

  • Higher than.

  • Lower than.

  • Approximately twice as high.

  • Similar proportions.

  • Noticeably different distributions.

Model AP Statistics answer

"Study location and age group appear to be associated in this sample. Thirty percent of older students study at cafés, compared with only 5% of younger students. Younger students are also more likely to study at home, with 65% compared with 32.5% of older students."

This answer includes context, numerical evidence and a comparison.

A weaker answer would be:

"Older students prefer cafés."

That statement does not provide enough statistical evidence to demonstrate the difference.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

PART 12: THE MOST COMMON EXAMINATION MISTAKES

Mistake 1: Using the grand total for a conditional percentage.

If the question says "of older students", divide by the older-student total, not the grand total.

Mistake 2: Reversing the condition.

"Of café users, what percentage are older?" is different from "Of older students, what percentage use cafés?"

Mistake 3: Comparing raw counts from unequal groups.

Compare relative frequencies when group sizes differ.

Mistake 4: Confusing joint and conditional relative frequencies.

Joint uses the grand total. Conditional uses the total of the specified group.

Mistake 5: Confusing a bar chart with a histogram.

Categorical data use bar charts. Quantitative data grouped into intervals use histograms.

Mistake 6: Forgetting to check totals.

Frequency totals must agree with the sample size.

Mistake 7: Claiming causation from association.

A difference between conditional distributions does not prove that one variable causes the other.

Mistake 8: Ignoring sample size.

A percentage based on 10 observations should not automatically be treated as equally informative as the same percentage based on 10,000 observations.

Mistake 9: Misreading a segmented bar chart.

Each bar represents a conditional distribution and should total 100%.

Mistake 10: Writing an answer without context.

A statistical conclusion should identify the variables, groups and numerical evidence.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

PART 13: AP STATISTICS PRACTICE QUESTIONS WITH ANSWERS

Consider a survey of 150 adults about their preferred book format.

There are 70 adults under 40 and 80 adults aged 40 or over.

The results are:

Book formatUnder 4040 and overTotal
Print184664
E-book302252
Audiobook221234
Total7080150

Use this table to answer the following questions.

Question 1

What percentage of all surveyed adults prefer e-books?

Question 2

What percentage of adults under 40 prefer audiobooks?

Question 3

What percentage of audiobook users are aged 40 or over?

Question 4

What percentage of all surveyed adults are aged 40 or over and prefer printed books?

Question 5

Calculate the conditional distribution of book-format preference for each age group.

Question 6

Is there an association between age group and book-format preference? Explain using numerical evidence.

Question 7

A student says:

"12 of the 80 older adults prefer audiobooks, but 12 out of 34 audiobook users are older. Therefore, 12 ÷ 34 = 35.3% of older adults prefer audiobooks."

Identify the error and calculate the correct percentage.

Question 8

A bar chart displays 92 library visitors in March and 96 in April. However, the vertical axis begins at 90.

Explain why the chart could be misleading.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

FULL ANSWERS

Answer 1: Marginal relative frequency

E-book users = 52.

Total adults = 150.

52 ÷ 150 = 0.3467.

Answer: Approximately 34.7%.

Answer 2: Conditional relative frequency

The specified group is adults under 40.

Their total is 70.

Audiobook users = 22.

22 ÷ 70 = 0.3143.

Answer: Approximately 31.4%.

Answer 3: Conditional relative frequency

The specified group is audiobook users.

Their total is 34.

Older audiobook users = 12.

12 ÷ 34 = 0.3529.

Answer: Approximately 35.3%.

Answer 4: Joint relative frequency

Older adults who prefer print = 46.

Total adults = 150.

46 ÷ 150 = 0.3067.

Answer: Approximately 30.7%.

Answer 5: Conditional distributions

Under 40, total = 70.

Print:

18 ÷ 70 = 25.7%

E-book:

30 ÷ 70 = 42.9%

Audiobook:

22 ÷ 70 = 31.4%

Total = 100%.

Aged 40 or over, total = 80.

Print:

46 ÷ 80 = 57.5%

E-book:

22 ÷ 80 = 27.5%

Audiobook:

12 ÷ 80 = 15%

Total = 100%.

Answer 6: Association

Yes, the conditional distributions differ.

For example, 57.5% of adults aged 40 or over prefer print books, compared with approximately 25.7% of adults under 40.

E-books are preferred by approximately 42.9% of younger adults and 27.5% of older adults.

The distributions are noticeably different, suggesting an association between age group and preferred book format in this sample.

Answer 7: Incorrect denominator

The student has reversed the condition.

12 ÷ 34 = 35.3% represents the percentage of audiobook users who are older.

The question asks for the percentage of older adults who prefer audiobooks.

The correct denominator is 80.

12 ÷ 80 = 0.15 = 15%.

Answer: 15%.

Answer 8: Misleading vertical axis

The vertical axis begins at 90 instead of zero.

The actual difference is only four visitors.

However, the truncated axis makes the bars appear dramatically different.

An ordinary bar chart should use a zero baseline so that differences in bar heights are not exaggerated.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

FREQUENTLY ASKED QUESTIONS ABOUT FREQUENCY TABLES AND TWO-WAY TABLES

1. What is the difference between frequency and relative frequency?

Frequency is the number of observations in a category. Relative frequency is the frequency divided by the total number of observations.

2. How do you calculate relative frequency from a frequency table?

Divide the frequency of the category by the total frequency. Multiply by 100 if you want the answer as a percentage.

3. What is a two-way frequency table?

A two-way frequency table organizes observations according to two categorical variables. It shows the frequency for every combination of categories.

4. What is a contingency table in statistics?

A contingency table is another name for a two-way table. It helps summarize and compare two categorical variables.

5. How do you calculate joint relative frequency?

Divide the frequency in the selected cell by the grand total of the table.

6. How do you calculate marginal relative frequency?

Divide the appropriate row or column total by the grand total.

7. How do you calculate conditional relative frequency?

Divide the frequency in the selected cell by the total of the group specified in the question.

8. What is the difference between joint and conditional relative frequency?

Joint relative frequency uses the entire sample as its denominator. Conditional relative frequency uses only the specified subgroup.

9. What is a conditional distribution?

It is the distribution of one categorical variable within a particular category of another categorical variable.

10. How do you determine whether two categorical variables are associated?

Compare their conditional distributions. If the percentages differ across groups, the variables show an association.

11. What is a segmented bar chart?

A segmented bar chart represents groups using equal-length bars divided into sections showing the conditional percentages of another categorical variable.

12. What is a 100% stacked bar chart?

It is another name for a segmented bar chart in which every bar represents 100% of its group.

13. What is the difference between a bar chart and a segmented bar chart?

A basic bar chart displays one categorical variable. A segmented bar chart displays two categorical variables and their conditional distributions.

14. What is a mosaic plot?

A mosaic plot represents two categorical variables using rectangles whose widths and subdivisions show group proportions and category distributions.

15. Does association mean causation?

No. Association indicates a relationship between variables, but it does not establish that one variable causes changes in the other.

16. Why do conditional percentages matter when comparing groups?

They account for differences in group sizes and allow a fairer comparison of distributions.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

THE ONE-PAGE AP STATISTICS CHEAT SHEET

  1. Frequency = number of observations in a category.

  2. Relative frequency = category frequency ÷ grand total.

  3. Percentage = relative frequency × 100.

  4. Joint relative frequency = cell frequency ÷ grand total.

  5. Marginal relative frequency = marginal total ÷ grand total.

  6. Conditional relative frequency = cell frequency ÷ specified group total.

  7. Conditional distribution = all conditional percentages for one group.

  8. Two-way table = a summary of two categorical variables.

  9. Bar chart = graphical display of one categorical variable.

  10. Segmented bar chart = graphical comparison of conditional distributions.

  11. Mosaic plot = graphical representation of two categorical variables using rectangle areas.

  12. Association = differences in conditional distributions.

  13. Association does not establish causation.

  14. For examination answers, include context, numerical evidence and comparison.

  15. Always check row totals, column totals and percentage totals.

The most useful habit is simple:

Identify the group. Choose its total. Divide the correct cell. Explain what the percentage means.

That is the foundation of accurate statistical interpretation.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

CURRICULUM AND STUDY COVERAGE

This guide supports the following areas of study:

AP Statistics (2026–27):

  • Unit 1: Exploring One-Variable Data and Collecting Data.

  • Topic 1.3: Tabular Representation and Summary Statistics for One Categorical Variable.

  • Topic 1.4: Graphical Representations for One Categorical Variable.

  • Unit 2: Probability, Random Variables, and Probability Distributions.

  • Topic 2.1: Tabular and Graphical Representations for the Distributions of Two Categorical Variables.

Other academic applications:

  • Introductory college statistics.

  • GCSE Mathematics and Statistics.

  • A-level Mathematics and Statistics.

  • IB Mathematics and data analysis.

  • High-school statistics.

  • Descriptive statistics and categorical data analysis.

The guide also develops skills useful for interpreting survey results, research data, business reports and statistical graphs.

The key is not memorizing a collection of formulas. It is understanding what each number represents, which group is being compared and why the denominator changes.


Boxplots and Five-Number Summary: How to Calculate Q1, Q3, IQR and Outliers

  BOXPLOTS AND THE FIVE-NUMBER SUMMARY: THE STOPS–FENCES–SAY METHOD FOR COMPARING DATA (AP STATISTICS, GCSE, A-LEVEL AND IB MATHS) A boxplot...