• Practice
  • About 15 min
  • 5 practice questions

Collecting data and making a frequency table

Tell primary data from secondary data, organise raw data into class intervals with tally marks, read a frequency table, and know the three averages: mean, median and mode.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Say whether data are primary or secondary.
  • Group raw data into class intervals using tally marks.
  • Read lower and upper class limits and frequencies from a frequency table.

Statistics is the science of collecting, organising, analysing and interpreting data so that we can make decisions. Data are the facts, mostly numbers, that we gather for a purpose: marks in a test, the heights of players, the rainfall in a month. A long list of numbers says little by itself; this chapter shows how to organise it and then sum it up with one typical value.

Primary and secondary data

Two sources of data

  • Primary data
    • Collected first-hand by you
    • By interviews, surveys, experiments
    • Example: you measure the heights of your classmates
  • Secondary data
    • Collected earlier by someone else
    • From published reports and records
    • Example: figures you take from a government report

Data as first collected, before being sorted or processed, are called raw data. Raw data are hard to read: finding the five highest marks in a jumbled list of 50, or counting how many are below 40, takes time.

Grouping data into classes

Here are the marks (out of 60) of 30 students in a class test. These marks are made up for practice: 34, 47, 52, 28, 41, 59, 45, 38, 50, 43, 36, 55, 48, 42, 31, 46, 53, 39, 44, 49, 57, 40, 35, 51, 46, 29, 44, 58, 37, 47. The lowest mark is 28 and the highest is 59, so classes of width 5 from 26-30 up to 56-60 cover all of them. In the class 41-45, 41 is the lower limit and 45 is the upper limit.

Go through the list once. For each mark, put a tally mark (a short stroke |) against its class. To keep counting easy, every fifth stroke is drawn across the four before it, making a bundle of five. So 7 is written as one crossed bundle of five followed by two strokes. The number of tallies in a class is its frequency, and the finished table is a frequency table.

Frequency table of the made-up test marks
Class intervalTally marksFrequency
26-30||2
31-35|||3
36-40one bundle of five5
41-45one bundle of five, then |6
46-50one bundle of five, then ||7
51-55||||4
56-60|||3
Total30

Worked example 1: reading the table

How many students scored 46 or more? Working: add the frequencies of 46-50, 51-55 and 56-60: 7 + 4 + 3 = 14. How many scored 40 or less? 2 + 3 + 5 = 10. Check the total: 2 + 3 + 5 + 6 + 7 + 4 + 3 = 30, the number of students. A total that does not match means a mark was missed or counted twice.

Worked example 2: tallying a small set

Make a frequency table, with classes 1-5, 6-10 and 11-15, for these made-up numbers of books read in a year by 12 children: 3, 7, 12, 5, 9, 14, 2, 8, 6, 11, 4, 10. Working: 1-5 gets 3, 5, 2, 4 (frequency 4); 6-10 gets 7, 9, 8, 6, 10 (frequency 5); 11-15 gets 12, 14, 11 (frequency 3). Total 4 + 5 + 3 = 12.

From raw data to a frequency table

  1. Find the lowest and highest This gives the range of the data.
  2. Choose classes Equal width, covering every value, with no overlap.
  3. Tally One stroke per value; every fifth stroke crosses the four before it.
  4. Count and check Frequencies must add up to the number of values.

One number to describe the data

We often want a single value that is typical of the data, called an average or a measure of central tendency. Saying that a group studies 'on average 2 hours a day' does not mean each person studies exactly 2 hours; it gives the centre around which the values vary. There are three such averages: the mean, the median and the mode. The next four lessons show how to find each one, and when each is the most suitable.

Key takeaways: primary data are collected first-hand, secondary data come from others; raw data are unorganised; class intervals have lower and upper limits; tally marks are bundled in fives; the frequencies in a frequency table add up to the total number of values.

Check your understanding

  1. 1. A student asks 40 classmates how they travel to school. What kind of data is this?

    1. Secondary data
    2. Primary data
    3. Grouped data only
    4. Not data at all
    Show answer

    Answer: B. The student collects the information first-hand from the classmates, so it is primary data. Data copied from a published record would be secondary.

  2. 2. In the class interval 21-30, what is the upper limit?

    1. 21
    2. 25.5
    3. 30
    4. 9
    Show answer

    Answer: C. In a class interval the first number is the lower limit and the second is the upper limit, so the upper limit is 30. 25.5 is the mid-value.

  3. 3. How are 8 values shown using tally marks?

    1. Eight separate strokes in a row
    2. One bundle of five and three strokes
    3. Two bundles of four
    4. One bundle of five and eight strokes
    Show answer

    Answer: B. Every fifth stroke is drawn across the four before it, making a bundle of 5. So 8 = one bundle of five + three strokes.

  4. 4. In the frequency table of this lesson, how many students scored from 36 to 50 marks?

    1. 18
    2. 13
    3. 12
    4. 11
    Show answer

    Answer: A. Add the frequencies of 36-40, 41-45 and 46-50: 5 + 6 + 7 = 18.

  5. 5. The frequencies of a table are 4, 9, 12, 7 and 3. How many values are there in all?

    1. 32
    2. 12
    3. 5
    4. 35
    Show answer

    Answer: D. The total number of values is the sum of the frequencies: 4 + 9 + 12 + 7 + 3 = 35. 5 is only the number of classes.

Privacy · Terms · Refunds · Delivery