1.4 Types of Data
A-level Maths Statistics and Mechanics Year 1 (AS) · Edexcel 9MA0 · Chapter 1: Data Collection
A free A-level Maths Stats and Mechanics Year 1 lesson for Pearson Edexcel A level Mathematics (9MA0) from OBA School: qualitative and quantitative, discrete and continuous, and grouped frequency tables. Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.
What you will learn
- Classify a variable as qualitative or quantitative, and quantitative data as discrete or continuous
- Read and use frequency tables and grouped frequency tables
- Find class boundaries, class widths and midpoints, including for rounded data
- Decide how data in a context (including the large data set) should be described
Key words
- Variable: A quantity or characteristic that can change, such as height, eye colour or the number of goals scored.
- Qualitative: Described in words, not numbers: eye colour, type of car, wind direction.
- Quantitative: Numerical: height, number of siblings, daily rainfall.
- Discrete: A quantitative variable that can only take particular values, often whole numbers: number of pets, shoe size.
- Continuous: A quantitative variable that can take any value in a range: mass, time, temperature.
- Class boundaries: The values that separate one class from the next, with no gaps. The class width is upper boundary minus lower boundary.
Kinds of variable
Before choosing a chart or a calculation, decide what kind of data you have. A variable described in words is qualitative. A numerical variable is quantitative, and is either discrete (it jumps between values) or continuous (it can be measured to any accuracy).
Worked example: classifying variables
Classify: (a) the number of texts sent in a day (b) the time taken to run 400 m (c) favourite flavour of crisps (d) dress size
(a) counted, whole numbers only: discrete. (b) measured, any value: continuous.
(c) words: qualitative. (d) only certain values (8, 10, 12, …): discrete.
Answer: (a) discrete (b) continuous (c) qualitative (d) discrete
Key fact: Ask: "Is it a count or a measurement?" Counts are discrete. Measurements (length, mass, time, temperature) are continuous, even when they are rounded.
Frequency tables
A frequency table shows how often each value occurs. For discrete data with only a few values, list each value with its frequency.
- Frequency; 0 14; 1 19; 2 11; 3 4; 4 2
Worked example: reading a frequency table
The table shows the number of pets owned by the households in a survey.
Number of households: 14 + 19 + 11 + 4 + 2 = 50
Households with at least 2 pets: 11 + 4 + 2 = 17
Answer: 50 households, 17 with at least 2 pets
When there are many possible values, or the data are continuous, group them into classes in a grouped frequency table. Grouping makes the data easier to read, but the exact values are lost.
Class boundaries, widths and midpoints
Classes must not overlap and must have no gaps. For continuous data written with inequalities, such as 10 ≤ t < 15, the boundaries are 10 and 15. When data have been rounded, the boundaries are halfway between the classes.
Key fact: Class width = upper class boundary − lower class boundary Midpoint = (lower class boundary + upper class boundary) ÷ 2
Worked example: rounded data
Masses are recorded to the nearest kg. Find the boundaries, width and midpoint of the class 50-59.
Lower class boundary 49.5, upper class boundary 59.5.
Width = 59.5 − 49.5 = 10. Midpoint = (49.5 + 59.5) ÷ 2 = 54.5
Answer: boundaries 49.5 and 59.5, width 10, midpoint 54.5
Worked example: inequality classes
Reaction times t seconds are grouped as 0.2 ≤ t < 0.25, 0.25 ≤ t < 0.35, …
Class 0.25 ≤ t < 0.35: boundaries 0.25 and 0.35, width 0.35 − 0.25 = 0.1
Midpoint = (0.25 + 0.35) ÷ 2 = 0.3
Answer: width 0.1 s, midpoint 0.3 s
Worked example: ages
A class "20-29 years" for age. Age is not rounded to the nearest year: you are 29 until the day you turn 30.
So the class contains ages from 20 up to (but not including) 30.
Boundaries 20 and 30, width 10, midpoint = (20 + 30) ÷ 2 = 25
Answer: midpoint 25 years, not 24.5
Data in the large data set
The large data set of daily weather records mixes all these kinds of data. Daily mean temperature, rainfall and sunshine are continuous. Cloud cover, measured in eighths of the sky (oktas), is discrete. Wind direction (N, NE, …) and the Beaufort description of wind strength (for example "Moderate") are qualitative.
Worked example: grouping recorded values
Daily maximum gust speeds are recorded to the nearest knot. One class is 25-29 knots.
Boundaries 24.5 and 29.5, so width 5 and midpoint 27.
Answer: width 5 knots, midpoint 27 knots
Common mistakes
- Calling a rounded measurement discrete. A mass recorded as 63 kg is still continuous data.
- Using the written class limits instead of the class boundaries: the class 50-59 has width 10, not 9.
- Treating age like rounded data: the class 20-29 years has midpoint 25, not 24.5.
- Thinking numbers are always quantitative. A shirt number or a postcode is really a label.
- Leaving gaps or overlaps between classes in a grouped table.
Revision questions
Try these, then check your answers below each one.
Question 1. Times are grouped in the class 10 ≤ t < 25 seconds. Find the midpoint of the class.
Answer: 17.5
Working: (10 + 25) ÷ 2 = 17.5.
Question 2. Hannah says, "Times recorded to the nearest second are discrete data, because they are whole numbers." Is Hannah correct?
Answer: No
Working: No. Time is measured, so it is continuous; rounding the values does not change that.
Question 3. Ages are grouped into the class 20-29 years. What is the midpoint of this class? (Choose from: 25; 24.5; 24; 29.5.)
Answer: 25
Working: The class covers ages from 20 up to (not including) 30, so the midpoint is (20 + 30) ÷ 2 = 25.
Related lessons
- Previous lesson: 1.3 Non-Random Sampling
- Next lesson: 1.5 The Large Data Set
- In this chapter: 1.1 Populations and Samples
- In this chapter: 1.2 Sampling
Continue in the full course
This lesson is section 1.4 of our free A-level Maths Statistics and Mechanics Year 1 (AS) course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved. Go to the full A-level Maths Statistics and Mechanics Year 1 (AS) course.