Mean, median, mode of grouped data (Statistics)

Watch this topic in 60 seconds

Free preview · Lesson 1

Understanding Mean, median, mode of grouped data (Statistics)

Understanding Mean, Median, and Mode for Grouped Data (Grade 10 Foundation)

Welcome to the exciting world of statistics! In our daily lives, we encounter countless pieces of information – from the number of likes on a social media post to the scores in a football match. Statistics helps us make sense of this data. Often, when we have a lot of data, it's easier to understand it if we group it together. This is where 'grouped data' comes in, and learning how to find the mean, median, and mode for such data is a crucial skill.

What is Grouped Data?

Imagine you're a librarian, and you've just received 1000 new books. If you tried to list the exact height of every single book, it would take forever and be overwhelming! Instead, you might group them: 'books between 15-20 cm', 'books between 20-25 cm', and so on. This makes managing the information much easier. This is exactly what grouped data is – organizing a large dataset into smaller, more manageable 'classes' or 'intervals'.

Each group is called a 'class interval', and the number of items falling into each group is called its 'frequency'. For example, if 30 books are between 15-20 cm, then '15-20 cm' is a class interval, and '30' is its frequency.

Why Do We Use Grouped Data?

Think of it like sorting a giant box of LEGO bricks. If you have thousands of individual bricks, it's hard to get a sense of what you have. But if you sort them into piles by color (e.g., all red bricks together, all blue bricks together), you can quickly see which color you have most of, or roughly how many of each color you possess. Grouped data helps us:

  • Simplify huge datasets: Makes large amounts of data easier to look at and understand.
  • Spot trends: Helps us see patterns and general characteristics of the data more quickly.
  • Estimate values: Even though we don't have every single original data point, we can still make good estimates about the average, middle value, or most common value.

Now, let's dive into how we find the mean, median, and mode for this kind of organized data.

1. The Mean of Grouped Data (The Estimated Average)

The 'mean' is what most people commonly refer to as the 'average'. It's calculated by adding up all the values and dividing by the total number of values. For grouped data, we don't know the exact individual values, so we have to make an estimate.

Analogy: Average Pocket Money

Imagine you want to find the average weekly pocket money of students in a school. Instead of asking every single student, you have data grouped like this:

  • 50 students get between 0−10
  • 100 students get between 11−20
  • 30 students get between 21−30

You can't add up '0' and '10' and divide by two, because you don't know if the 50 students got 0,1, 5,or10. So, we pick a 'middle ground' for each group – the 'midpoint'. For 0−10, we'd assume, on average, students got 5.For11-20,we′dassume15.50 (the midpoint).

How to Calculate the Mean for Grouped Data: Step-by-Step

  1. Find the Midpoint (x) for each Class Interval: The midpoint is the average of the lower and upper limits of a class interval.
  2. Multiply Midpoint by Frequency (f * x): For each class, multiply its midpoint by its frequency. This gives you an estimate of the total value within that group.
  3. Sum of (f * x): Add up all the (f * x) values from all the classes. This gives you an estimated total sum of all the data points.
  4. Sum of Frequencies (∑f): Add up all the frequencies. This gives you the total number of data points.
  5. Divide: Divide the sum of (f * x) by the sum of frequencies (∑f).

Formula:

Mean (μ) = ∑(f * x) / ∑f

Where:

  • ∑ (Sigma) means 'sum of'
  • f = frequency of each class
  • x = midpoint of each class

Example: Mean Test Scores

Test Scores (Class Interval) Number of Students (Frequency, f) Midpoint (x) f * x
0-10 5 (0+10)/2 = 5 5 * 5 = 25
11-20 10 (11+20)/2 = 15.5 10 * 15.5 = 155
21-30 15 (21+30)/2 = 25.5 15 * 25.5 = 382.5
31-40 8 (31+40)/2 = 35.5 8 * 35.5 = 284
41-50 2 (41+50)/2 = 45.5 2 * 45.5 = 91
Total ∑f = 40 ∑(f * x) = 937.5

Mean = 937.5 / 40 = 23.44 (approximately)

So, the estimated average test score is about 23.44.

2. The Median of Grouped Data (The Middle Value)

The 'median' is the middle value in a dataset when the values are arranged in order. If you have an odd number of values, it's the exact middle one. If you have an even number, it's the average of the two middle values. For grouped data, we can't find the exact middle value, but we can find the 'median class' and then estimate the median within that class.

Analogy: Finding the Middle House in a Neighborhood

Imagine a very long street with houses numbered 1 to 100. If you wanted to find the 50th house (the median), it's easy. But what if the houses are grouped into 'blocks' (class intervals) like 'Block A: Houses 1-20', 'Block B: Houses 21-40', etc.? First, you'd figure out which 'block' the 50th house falls into. Then, you'd use a special formula to estimate its exact position within that block.

How to Calculate the Median for Grouped Data: Step-by-Step

  1. Calculate Total Frequency (N): Sum up all the frequencies.
  2. Find the Median Position: Divide N by 2 (N/2). This tells you which data point's position we're looking for.
  3. Find the Median Class: Look at the 'cumulative frequency' (the running total of frequencies) to find which class interval contains the N/2-th value. This is your median class.
  4. Apply the Median Formula:

Formula:

Median (M) = L + [((N/2) - CF) / f] * w

Where:

  • L = Lower boundary of the median class
  • N = Total number of observations (∑f)
  • CF = Cumulative frequency of the class before the median class
  • f = Frequency of the median class
  • w = Width of the median class (upper boundary - lower boundary)

Example: Median Heights of Plants

Height (cm) Number of Plants (f) Cumulative Frequency (CF)
0-5 3 3
6-10 7 3 + 7 = 10
11-15 12 10 + 12 = 22
16-20 8 22 + 8 = 30
21-25 5 30 + 5 = 35
Total N = 35

1. Total Frequency (N) = 35

2. Median Position = N/2 = 35/2 = 17.5th value

3. Median Class: The 17.5th value falls into the '11-15' class, because its cumulative frequency (22) is the first to exceed 17.5. So, '11-15' is our median class.

  • L = Lower boundary of median class (11). To make class intervals continuous, we often use 10.5 if the previous class ended at 10. So, L = 10.5.
  • CF = Cumulative frequency of the class before the median class = 10 (from the '6-10' class)
  • f = Frequency of the median class = 12
  • w = Width of the median class = 15.5 - 10.5 = 5 (or 15-11+1 for discrete, then convert to continuous width)

Median = 10.5 + [((35/2) - 10) / 12] * 5

Median = 10.5 + [(17.5 - 10) / 12] * 5

Median = 10.5 + [7.5 / 12] * 5

Median = 10.5 + 0.625 * 5

Median = 10.5 + 3.125 = 13.625

The estimated median height of the plants is 13.625 cm.

3. The Mode of Grouped Data (The Most Frequent Value)

The 'mode' is simply the value that appears most often in a dataset. For grouped data, we first identify the 'modal class' – the class interval with the highest frequency. Then, we use a formula to estimate the mode within that class.

Analogy: Most Popular Ice Cream Flavor

Imagine you're selling ice cream and want to know the most popular flavor. If you sold individual scoops, you'd just count the most common flavor. But what if your sales are grouped by 'fruit flavors', 'chocolate flavors', and 'nut flavors'? You'd first see which group sold the most (e.g., 'chocolate flavors'). Then, you'd use a formula that considers the sales of the groups around it to estimate if it was 'dark chocolate', 'milk chocolate', or 'white chocolate' that was most popular within that group.

How to Calculate the Mode for Grouped Data: Step-by-Step

  1. Identify the Modal Class: This is the class interval with the highest frequency.
  2. Apply the Mode Formula:

Formula:

Mode (Z) = L + [(f_m - f_1) / ((f_m - f_1) + (f_m - f_2))] * w

Where:

  • L = Lower boundary of the modal class
  • f_m = Frequency of the modal class
  • f_1 = Frequency of the class before the modal class
  • f_2 = Frequency of the class after the modal class
  • w = Width of the modal class

Example: Mode Daily Commute Times

Commute Time (minutes) Number of People (f)
0-10 10
11-20 25
21-30 35
31-40 20
41-50 10

1. Modal Class: The class '21-30' has the highest frequency (35), so this is our modal class.

  • L = Lower boundary of the modal class (21). Using continuous boundaries, L = 20.5.
  • f_m = Frequency of the modal class = 35
  • f_1 = Frequency of the class before the modal class ('11-20') = 25
  • f_2 = Frequency of the class after the modal class ('31-40') = 20
  • w = Width of the modal class = 30.5 - 20.5 = 10 (or 30-21+1 for discrete, then convert to continuous width)

Mode = 20.5 + [(35 - 25) / ((35 - 25) + (35 - 20))] * 10

Mode = 20.5 + [10 / (10 + 15)] * 10

Mode = 20.5 + [10 / 25] * 10

Mode = 20.5 + 0.4 * 10

Mode = 20.5 + 4 = 24.5

The estimated mode daily commute time is 24.5 minutes.

Summary: Putting It All Together

Calculating the mean, median, and mode for grouped data allows us to summarize large amounts of information and understand its key characteristics, even when we don't have every single original data point. Each measure gives us a different insight:

  • Mean: The 'balancing point' or average, influenced by all values.
  • Median: The 'middle ground', showing where the 50% mark lies.
  • Mode: The 'most common', indicating the most frequent category or value.

By understanding these concepts, you've taken a significant step in becoming a data detective, capable of uncovering the hidden stories within numbers!

Keep learning, free

Create a free Syllabax account to unlock practice questions and games for this topic.

Visual Learning Enhanced! 🚀

To help you master this topic, we use Advanced Syllabax AI to generate detailed diagrams and visual models.

Note on Visuals: The AI sometimes makes spelling errors in image labels. Please refer to the lesson text for the correct terminology.