Megaphone illustration
Something new for you!
A New World in Magimot: The Enchanted Garden

Review your spelling words while you face off with new monsters

Types of Statistical Variables

Secondary 1-2

  • The characteristic of a variable is a common trait shared by the elements of a set.

  • A qualitative variable takes the form of a word, expression or code (colour, password, spoken language, etc.). It is not a quantitative trait.

  • A quantitative variable takes the form of a number or quantity. Depending on the nature of this number, this variable can be either discrete or continuous.

    • A discrete quantitative variable can only have certain values within a given range. In general, these are quantities that can be counted, meaning they are natural numbers.

    • A continuous quantitative variable can have any value in a given range. These are quantities that are real numbers.

Here are some examples of statistical variables that are related to survey questions:

Qualitative Variable

  1. What is your favourite colour?
    Possible answers: red, blue, green, purple, etc.

Favourite colour is a qualitative variable.

The possible answers are colours.

  1. What emotion are you feeling right now?
    Possible answers: joy, sadness, anger, etc.

Emotion is a qualitative variable.

The possible answers are emotions.

Discrete Quantitative Variable

  1. How many siblings do you have?
    Possible answers: 0, 1, 2, 3, etc.

Number of siblings is a discrete quantitative variable.

The possible answers are numbers of people, which means a positive integer (whole number).

  1. How many books do you own?
    Possible answers: 0, 1, 5, 20, 50, etc.

Number of books is a discrete quantitative variable.

The possible answers are numbers of books, so a positive integer (whole number).

Continuous Quantitative Variable

  1. What is your height?
    Possible answers: 1.65 m, 2.01 m, etc.

Height is a continuous quantitative variable.

A person's height is a quantity that can be any positive real value (including decimal numbers).

  1. How many litres of gas did you put in your car the last time you refueled?
    Possible answers: 34.51 L, 54.12 L, etc.

The number of litres of gas is a continuous quantitative variable.

The number of litres of gas is a quantity that can take any positive real value.

Be careful!

  • The difference between discrete and continuous is not always easy to understand. For example, is a person's age a discrete or continuous variable? A person ages continuously, that is, at every moment. Age is therefore a continuous variable. However, when compiling data, it is possible to consider a person's age as a discrete quantitative variable. This is because, when people are asked their age, they answer with a natural number such as 12 years, 25 years or 87 years and not 12.36 years.

  • Just because the data collected is represented by numbers does not mean that the variable's characteristic is necessarily quantitative. For example, if we are looking at the area code of a telephone number, the answers could be 450, 418, 514, and so on. These number combinations do not represent a quantity, but instead represent codes. It is therefore a qualitative variable, not quantitative.