Collecting data
Collecting data
Every investigation starts with a question.
For example: “How do the pupils in our class get to school?”
To answer the question we collect data: facts that we count, measure, or ask people about.
In the example, the data are the pupils’ answers: one answer from each pupil.
A survey is a way to collect data: we ask a group of people the same question, and write down the answer of each of them.
- A good survey question is clear to everyone, and its answer is short.
For example: “How many brothers and sisters are there in the family?” - To a question like “Tell us about your family” everyone answers differently, so we cannot count the answers.
The population is all the people the question is about.
The sample is the part of the population that we actually ask.
For example:
- The question is: how many hours a night do the grade 8 pupils of the school sleep?
The population is all 150 pupils of the grade. - We ask only 30 of them, and these 30 pupils are the sample.
That way we save time, and still learn a lot about the whole grade. - A good sample is like the population.
In the example, it is worth asking pupils from all the classes, boys and girls. - If we ask only the running team, which trains at six in the morning, the sample is not like the grade, because the runners get up earlier than most pupils.
Data are of two kinds:
- Categorical data are answers that are a word, a kind or a name.
For example: the favourite sport, the colour of the phone, the way to school. - Numerical data are numbers that we measure or count.
For example: height, the number of brothers and sisters, the number of minutes in front of a screen a day. - A number that is only a name, like the number of a bus line or the number on a player’s shirt, is categorical data.
There is no sense in adding it to other numbers.
The 25 pupils of class 8D answered the question “How do you get to school?”.
These are the answers, in the order they were written down:
walk, bike, car, bus, walk, walk, bike, bus, bus, bus, car, bus, walk, walk, car, car, walk, walk, bus, bike, bus, walk, bike, bike, walk.
A list like this is raw data: all the answers, in no order at all.
It is hard to see from it how many pupils chose each way.
A frequency table arranges the data: the table has a row for each answer.
The number of times an answer came up is called its frequency.
This is how we build the table:
- We go through the list in order, and for each answer we draw a mark in its row.
- At the end we count the marks in each row.
The number of marks is the frequency.
| The way to school | Tally | Frequency |
|---|---|---|
| Walk | 9 | |
| Bus | 7 | |
| Bike | 5 | |
| Car | 4 | |
| Total | 25 |
The sum of the frequencies equals the number of pupils who answered:
That way we check that no answer was forgotten.
For each piece of data, write whether it is categorical or numerical:
- Your favourite subject.
- Your shoe size.
- How many messages you sent yesterday.
- The town you were born in.
- The number of the bus line you take.
The pupils’ council wants to know where the middle-school pupils would like to go on the annual trip.
There are 450 pupils in the middle school.
The council asked 60 of them.
- What is the population, and what is the sample?
- Dana suggested asking only the 60 pupils of the nature club.
Is that a good sample?
Explain.
24 pupils answered the question “How many brothers and sisters are there in the family?”.
The answers:
3, 2, 2, 2, 1, 4, 3, 1, 1, 1, 4, 1, 1, 2, 2, 3, 1, 0, 3, 1, 0, 0, 2, 2
- Build a frequency table with a tally column.
- Add up the frequencies, and write the sum.
Check that the sum equals the number of pupils.
/ – a new fraction · 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
/ – a new fraction · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
30 pupils chose their favourite subject.
One frequency is missing from the table:
| Subject | Frequency |
|---|---|
| maths | 8 |
| English | 6 |
| PE | ? |
| art | 5 |
| science | 4 |
How many pupils chose PE?
/ – a new fraction · 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
/ – a new fraction · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
/ – a new fraction · 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
/ – a new fraction · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power