8A

Collecting and displaying data

Categorical and numerical data, census and sample, bias in sampling, and choosing displays such as column graphs, dot plots, stem-and-leaf plots and histograms.

Before you can calculate anything, you need to know what kind of data you have and where it came from. A survey that asks the wrong people, or a graph that suits the wrong kind of data, can make any statistic misleading.

Types of data

TypeWhat it isExamples
Categorical (nominal)Labels or groups with no ordereye colour, favourite sport
Categorical (ordinal)Groups with a natural ordershirt size S, M, L; survey ratings
Numerical discreteCounted, so only certain valuesnumber of pets, goals scored
Numerical continuousMeasured, so any value in a rangeheight, time, temperature

Census or sample?

A census collects data from every member of the population. A sample collects data from part of it. Samples are cheaper and faster, and sometimes they are the only option: you can't crash-test every car a factory makes.

A good sample is random and large enough to represent the whole population. A sample is biased if some groups are more likely to be chosen than others.

Frequency tables

A frequency table counts how often each value appears. A tally column helps while counting. Adding the frequencies gives the total number of data values.

For continuous data or widely spread data, group the values into class intervals such as $10$–$\lt 20$ (from $10$ up to, but not including, $20$).

Choosing a display

  • Column graph or dot plot: categorical data or small sets of discrete data.
  • Stem-and-leaf plot: small sets of numerical data. It keeps every value and shows the shape.
  • Histogram: grouped numerical data. The columns touch, because the intervals run on from each other. A frequency polygon joins the midpoints of the tops of the columns.

This stem-and-leaf plot shows the ages of $9$ people at a meeting. The stem is the tens digit, the leaf is the units digit.

StemLeaf
$3$$2 \ 5 \ 8$
$4$$0 \ 1 \ 1 \ 6$
$5$$3 \ 7$

Key: $3 \mid 2$ means $32$. The youngest person is $32$ and the oldest is $57$. Most people are in their forties.

A distribution is symmetric if it looks roughly the same on both sides of the centre. It is skewed if the data bunches up at one end and trails off at the other.

Example 1●●

Using the stem-and-leaf plot above, what percentage of the people are under $40$?

$3$ people out of $9$
The ages under 40 are on the stem 3: 32, 35 and 38.
$\dfrac{3}{9} \times 100\% \approx 33.3\%$

Your turn

A class records the number of goals each student scored in a netball season. Is this data categorical, discrete or continuous? Which display would suit it?

Show the working

Goals are counted, so it is numerical discrete data. A dot plot or column graph would suit a single class. A stem-and-leaf plot would also work if the numbers are spread out.

Practice
  1. Eye colour is:

  2. The number of siblings each student has is:

  3. The heights of students are:

  4. A factory wants to know how long its light bulbs last before they burn out. It should use:

  5. Which survey is most likely to be biased?

  6. Use the stem-and-leaf plot of ages ($3 \mid 2 \ 5 \ 8$; $4 \mid 0 \ 1 \ 1 \ 6$; $5 \mid 3 \ 7$). How many people are older than $40$?

  7. A stem-and-leaf plot of ages reads $3 \mid 2 \ 5 \ 8$; $4 \mid 0 \ 1 \ 1 \ 6$; $5 \mid 3 \ 7$. What is the oldest age?

  8. A frequency table shows quiz scores: score $1$ has frequency $3$, score $2$ has $5$, score $3$ has $8$ and score $4$ has $4$. How many students took the quiz?

  9. Challenge: quiz scores are $1$ (frequency $3$), $2$ (frequency $5$), $3$ (frequency $8$) and $4$ (frequency $4$). What percentage of students scored $3$ or more?

  10. Challenge: a histogram has classes $0$–$\lt 10$ (frequency $4$), $10$–$\lt 20$ ($7$), $20$–$\lt 30$ ($9$) and $30$–$\lt 40$ ($5$). How many values are at least $20$?

Formula sheet