Data and frequency tables
Before drawing or calculating anything, you need to sort the data. A frequency table counts how many times each value, or each interval, appears, and from it you get the graphs, the mean, the median and the quartiles. In the IB exam you will be asked to construct the table, complete the missing cells and read counts and proportions from it. That is why it is worth mastering before moving on.
Population, sample and types of data
Studying every member of a group, the population, is often expensive or impossible. That is why we work with a sample, a part of the population, and the conclusions are extended to the whole.
The way the sample is chosen decides whether it is representative. In a random sample every individual has the same probability of being chosen, for example by drawing lots. If you only pick whoever is most convenient to reach, the sample is biased and its conclusions drift away from reality, even if it has plenty of data. A survey carried out outside a single supermarket, for example, does not represent a whole neighbourhood.
Everything measured on each individual is a variable. There are three types.
The type of variable decides how the data are organised. If the variable is qualitative, or discrete with few values, individual values are used. If it is continuous, or there are very many different values, the data are grouped into intervals.
Frequencies
Let be the total number of data values and the distinct values that appear.
There are three checks you can always make on a table.
Cumulative frequencies answer questions such as "how many have at most...?" or "what proportion has less than...?". For example, is the number of data values that are or less.
Grouped data in intervals
When there are many different values, a table of individual values would be almost as long as the list of data. The data are then distributed into classes: intervals that cover all the data without overlapping, so that each datum falls into exactly one class.
The notation means that is included in the class and is not. Thus, a datum equal to goes into the next class, and no datum is counted twice. The last class may be closed on both sides so that the largest datum is not left out.
Worked examples
Pets per family
A survey asks 16 families how many pets they have. The answers are:
0, 1, 2, 1, 0, 3, 2, 1, 1, 2, 0, 4, 1, 2, 3, 1
a) Find the absolute frequency of the value .
b) Find the cumulative absolute frequency of the value .
c) Find the relative frequency of the value . Give the answer as a fraction.
Solution
There are data values. We count how many times each value appears and complete the table:
Check: .
a) The absolute frequency of is .
b) The cumulative frequency of is : these are the families with , or pets, that is, .
c) The relative frequency of is
Grouped arrival times
A record has been kept of the time, in minutes, that each of 20 students took to arrive at school:
3.4 · 4.1 · 5.8 · 6.2 · 6.9 · 7.5 · 8.3 · 9 · 9.6 · 10.2 · 11.7 · 12.4 · 13.1 · 14.8 · 15.5 · 16.3 · 17.9 · 19.2 · 21.6 · 26.8
You want to group the data into 5 classes of the same width, and the width must be a whole number.
a) Calculate the minimum width that allows all the data to be covered with 5 classes.
b) Starting at and with that width, write the classes. How many students are in the class ?
c) Find the class midpoint of the class .
Solution
a) The smallest datum is and the largest is , so the range is With 5 classes, . Rounded up, the width is .
b) With width and starting at , the classes are , , , and . The last one reaches , which exceeds , so it covers all the data.
| Class | ||
|---|---|---|
In fall ; ; ; ; and . That makes students. The already falls into the next class.
c) The class midpoint is the midpoint:
A table with gaps
60 people have been asked how many minutes a day they spend reading the press. The data are in a table of classes with width in which some values are missing:
| Minutes a day | Absolute frequency |
|---|---|
| relative frequency | |
In addition, the class has twice as many people as the class .
a) Find the absolute frequency of the classes and .
b) Find the proportion of people who read for less than minutes. Give the answer as an irreducible fraction.
c) Find the proportion of people who read for less than minutes. Give the answer as an irreducible fraction.
Solution
The frequency of is . Let be the frequency of . Then the frequency of is , and since the total is :
a) The class has people, and the class has . Check: .
b) Less than minutes covers the first three classes: people. The proportion is
c) Less than minutes covers the first two classes: people. The proportion is
Common mistakes
Summary
- A frequency table organises the data with (absolute), (cumulative) and (relative). It always holds that , and that the relative frequencies add up to .
- With many values or a continuous variable, the data are grouped into classes of the same width, which do not overlap. The width is rounded up.
- The class midpoint is and is used for calculations with grouped data.
- Before accepting a table, check that the frequencies add up to .
Want to work on it together?
Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.
Message us on WhatsApp