Types of data

Classify variables as categorical or numerical, and numerical data as discrete or continuous, and select appropriate displays and summary measures.

Worked examples

Classifying variables as categorical or numerical

Straightforward

Problem

A researcher records the following information for each student in a class: (a) the student's hair colour, (b) the number of hours of sleep they got last night, (c) their score on a maths test out of 100100. Classify each variable as categorical or numerical.

Classifying numerical data as discrete or continuous

Moderate

Problem

Classify each of the following as discrete or continuous numerical data: (a) the number of customers who visit a shop each day, (b) the weight (in kg) of a customer's shopping bag.

Identifying data type and choosing an appropriate display

Challenging

Problem

A school records two variables for each student: (a) their house group (Red, Blue, Green, Yellow), and (b) the number of books they read during the year. For each variable, identify the data type and suggest the most appropriate display.

Practise

Q1·Straightforward
A survey asks students to name their favourite sport. This variable is best described as:
Q2·Straightforward
A researcher records the height (in centimetres) of each student in a class. This variable is best described as:
Q3·Straightforward
Which of the following is an example of categorical data?
Q4·Straightforward
A school records the suburb where each student lives. This variable is best described as:
Q5·Moderate
The number of goals scored in a soccer match is an example of:
Q6·Moderate
The time (in seconds) taken by a student to complete a 100 m100\text{ m} sprint is an example of:
Q7·Moderate
Which of the following is an example of continuous data?
Q8·Moderate
A geologist records the mass (in kilograms) of each rock in a sample. This data is best described as:
Q9·Challenging
A class survey records the eye colour of each student. The most appropriate display for this data is:
Q10·Challenging
A researcher measures the heights (in cm) of 5050 students. The most appropriate display for this data is:
Q11·Challenging
A class is asked to name their favourite subject. The most appropriate measure of centre to summarise this data is:
Q12·Challenging
A teacher wants to compare the exam scores of two classes side by side to see how their distributions differ. The most appropriate display is: