Maths4UBETA

Maths4U · Learning together

Data types, stem-and-leaf diagrams and quartiles

Back-to-back diagrams, comparisons and missing values →

Notes

Objective

Choose a suitable representation, preserve every observation and read values and quartiles from an explicit key.

Before you start

Read scales, order numerical data and calculate with exact fractions.

Key ideas

Start with the variable

Categories such as colours are qualitative. Counts are discrete quantitative data. A measurement such as mass is continuous even when rounded before recording. A numerical label, such as a bus route number, is not a measured quantity.

A stem and a leaf form one value

Place stems vertically in order and leaves horizontally in order. Retain repetitions and empty intermediate stems. Choose a unit and a key; the same digits can represent different scales. For example, 2∣32\mid3 could mean 23 minutes or 2.3 grams.

StemLeaves
12 7 7
21 4 8
32

Key: 2∣32\mid3 represents 2323 minutes.

Read ordered positions, not the visual width alone

Count every leaf. For odd n the median is observation (n+1)/2(n+1)/2; for even n average the middle two. In this chapter, raw-data quartiles are medians of the two halves, excluding the overall median when n is odd. State this convention when another method is possible.

IQR=Q3−Q1.\mathrm{IQR}=Q_3-Q_1.

A representation has a purpose

A stem diagram preserves individual small-sample values; a histogram summarises a grouped distribution. A truncated bar-chart baseline can exaggerate a comparison. Choose a diagram that answers the question, and explain what information it retains or loses.

Method

  1. Identify the variable, units and any measurement rounding.
  2. Read the key, scale and relevant convention before calculating.
  3. Keep repeated observations and distinguish raw values from grouped estimates.
  4. Give a complete result and compare centre and spread in context.

Common mistakes

  • A leaf is a digit, not a whole observation; read the key.
  • A histogram area, not its height alone, represents frequency.
  • Grouped quartiles are estimates; raw-data conventions must be stated.
  • A diagram alone does not determine every original observation or its exact mean.

Worked examples

Preserve both copies of a repeated value

Display these durations in minutes: 12, 17, 17, 21, 24, 28, 32. Include a key.

Follow the solution
StemLeaves
12 7 7
21 4 8
32

Key: 2∣32\mid3 represents 2323 minutes.

There are seven leaves, including two copies of 17. The rows represent equal-width tens classes.

Read the measurement unit, not just the digits

A key says 4∣74\mid7 represents 4.7 g. Interpret 6∣26\mid2 and 10∣510\mid5.

Follow the solution

The values are 6.2 g and 10.5 g. The stem holds all digits before the tenths leaf; it is not restricted to one digit.

Find quartiles from the ordered positions

Find the median and IQR of 12, 17, 17, 21, 24, 28, 32. Exclude the overall median when splitting the halves.

Follow the solution

The middle observation is 21. The lower half is 12, 17, 17 and the upper half is 24, 28, 32.

Q1=17,Q2=21,Q3=28,IQR=11.Q_1=17,\quad Q_2=21,\quad Q_3=28,\quad\mathrm{IQR}=11.

A count and a rounded measurement differ

A survey records the number of journeys and a parcel mass to the nearest gram. Classify the underlying variables.

Follow the solution

The journey count is discrete quantitative data. The mass is continuous quantitative data; rounding changes the recorded precision, not the underlying type.

Practise this topic