Skip to content

Population, sample and variable

Population, sample and variable

Population and sample

A population is all the items we want to learn about – people, houses, days, cars. A sample is the part of the population that is actually checked.

The student council wants to know how long the journey to school takes the school’s students.
The school has 600 students.
The council asked 120 of them.

  • The population: the school’s 600 students.
  • The sample: the 120 students who were asked.
  • A sample is checked when checking the whole population is impossible, or too expensive.
  • For a sample to teach something about the population, it has to be like it: 120 students from every year, not from one class only.
A variable and its values

A variable is a property checked in every item, which can differ from item to item. Everything the variable can take are the values of the variable.

The student council’s survey asked two questions:

  • “How many minutes does your journey to school take?” – the variable: the journey’s length; values such as 5 minutes, 12.5 minutes, 40 minutes.
  • “How do you get to school?” – the variable: the way of getting there; the values: on foot, by bike, by school bus, by car.

A datum is the value found for one item: one student’s journey takes 12 minutes, and he comes by bike.

The kinds of variables

The kind of variable decides what can be done with the data: work out a mean, put them in order, or only count.

  • A qualitative variable (also called nominal) – the values are names of groups, not numbers: eye colour, blood type, the way of getting to school. Their order and any arithmetic with them mean nothing.
  • A quantitative variable – the values are numbers that measure or count something:
    • discrete – separate values, usually whole, that are counted: the number of people in a family, the number of brothers and sisters, the number of mistakes in a test.
    • continuous – any value in a range is possible, and it is measured: height, weight, temperature, the journey’s length, the time of day.

A number does not make a variable quantitative: a phone number or a player’s shirt number is a name, so the variable is qualitative. Arithmetic with them means nothing.

The distribution of the data

The distribution of the data says which values came up and how many times each of them. The number of times a value came up is its frequency.

How the 120 students in the sample get to school:

  • on foot – 42 students;
  • by bike – 18;
  • by school bus – 36;
  • by car – 24.

The distribution shows the whole picture: the value that came up most often is “on foot”, and the frequencies together are the whole sample, 42+18+36+24=120\displaystyle {42+18+36+24}={120}.

Exercise 1

For each variable write whether it is qualitative, quantitative discrete or quantitative continuous:

  1. the number of messages a student sends in a day;
  2. the time it takes to run 100 metres;
  3. the favourite sport;
  4. the shoe size;
  5. the amount of rain that fell in a day, in millimetres;
  6. the town you were born in.
Exercise 2

The council wants to know how many hours a week the town’s teenagers volunteer.
The town has 8,000 teenagers.
The council asked 400 of them.

a

What are the population, the sample and the variable? What kind of variable is it?

b

What percent of the population is the sample?

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

    Exercise 3

    The number of children in 50 families in a neighbourhood was checked:

    Number of children01234
    Number of families61117106
    a

    What is the variable, and what kind is it? What are the values of the variable?

    b

    How many children are there in all 50 families together?

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

      Exercise 4

      Noa says: “An ID number is a number, so the variable ‘ID number’ is quantitative.”

      Is Noa right? Explain.