Sign in

← All revision topics

English variety

Types of variable: qualitative, discrete quantitative and continuous; grouping data into intervals

Machine translation

Around age 11 · Usually taught in ⁨Year 4⁩ · Free

Learn

  1. A variable is what you ask about or measure in each case. Its results are the data. Favourite colour, number of brothers and sisters, and height are variables.

    If the data describe a quality, such as a colour or an animal, the variable is qualitative. With it you only count the data in each group.

    BlueRedGreen
    Favourite colour of 13 children: the data in each group are counted
  2. If the data say how much, the variable is quantitative. With it, it makes sense to add, to order from least to greatest and to compare using “more than”.

    Careful: a number is not always a quantity. A player's shirt number, a postcode and a phone number are numbers that only act as names. They are qualitative.

    Quantitative variables are of two kinds. Discrete ones are counted and only take separate values: 3 packages or 4 packages, but never 3.5. Continuous ones are measured and can take any value in between: a height can be 1.35 m or 1.358 m.

    VariableDataType
    Favourite colourblueQualitative
    Shirt number10Qualitative
    Siblings2Discrete
    Height1.35 mContinuous
    Four variables and their type
  3. Knowing the type of variable helps you decide what can be calculated and which graph is suitable. Graphs are discussed later on.

    If there are many different values, the data are grouped into intervals. “130 to <140” means from 130 up to less than 140. The 130 goes in this interval, but the 140 does not: it goes in the next one.

    The intervals in a table do not overlap, leave no gaps and are the same width. That width is the interval width: 140 − 130 = 10.

    Height (cm)Children
    120 a <1303
    130 a <1408
    140 a <1504
    Total | =15
    Heights of 15 children in intervals of width 10
  4. Then you count how many data fall in each interval.

Worked examples

Example 1

Ellie writes down three things about each customer: the type of bread they buy, how many loaves they buy and how much their shopping weighs. What type of variable is each one?

VariableDataType
Type of breadplait?
Number of loaves3?
Weight (g)250.5?
  1. The type of bread is a name, a group: a qualitative variable.
  2. The number of loaves is counted and only takes separate values (1, 2, 3…): discrete quantitative.
  3. The weight is measured and can take any value in between (250 g, 250.5 g…): continuous quantitative.

Qualitative, discrete quantitative and continuous quantitative.

Watch out! Here many people think that all quantitative variables are continuous.

Common mistake

Example 2

Tony writes down the shirt number of each player in his team. Is it a quantitative variable?

  1. Ask yourself whether the number says how much. Shirt number 10 is not double shirt number 5: it only says who the player is.
  2. Adding shirt numbers makes no sense.
  3. So the shirt number acts as a name.

No: it is a qualitative variable, even though its data are numbers.

Watch out! Here many people say it is quantitative because they are numbers.

Common mistake

Example 3

Vera measures the height (in cm) of 12 children: 128, 135, 141, 130, 139, 152, 126, 144, 133, 147, 138 and 131. Group them into intervals of width 10 starting at 120.

Height (cm)Children
120 a <1302
130 a <1406
140 a <1503
150 a <1601
Total | =12
  1. The intervals are 120 to <130, 130 to <140, 140 to <150 and 150 to <160.
  2. Place each piece of data. The 130 goes in “130 to <140”, not in “120 to <130”.
  3. Count: 2, 6, 3 and 1.
  4. Add: 2 + 6 + 3 + 1 = 12, the same as the data.

The frequencies of the intervals are 2, 6, 3 and 1.

Watch out! Here many people put the 130 in the interval below, “120 to <130”.

Common mistake

A challenge to think about

Write three questions for your classmates: one whose variable is qualitative, another discrete and another continuous. Ask five people and say what type each variable is.

Practise

Rounds of 10 questions. Choose a level:

Your grade in this topic:No grade yetDo a round at the Basic level to get a grade.