top of page
Inaugurated by IN-SPACe
ISRO Registered Space Tutor

S7-SA3-0084

What is Variance for Grouped Data?

Grade Level:

Class 12

AI/ML, Physics, Biotechnology, FinTech, EVs, Space Technology, Climate Science, Blockchain, Medicine, Engineering, Law, Economics

Definition
What is it?

Variance for grouped data tells us how spread out the data points are from the average, especially when data is given in intervals or groups. It measures the average of the squared differences from the mean, helping us understand the data's consistency.

Simple Example
Quick Example

Imagine a cricket coach wants to know how consistent his batsmen are. If batsman A scores 20, 25, 15, 30, 20 runs and batsman B scores 5, 50, 10, 40, 5 runs. Even if their average runs are similar, variance would show batsman A is more consistent (scores are less spread out) than batsman B.

Worked Example
Step-by-Step

Let's find the variance for the following grouped data representing marks of students:

Class Interval | Frequency (f)
----------------|---------------
0-10 | 2
10-20 | 4
20-30 | 3
30-40 | 1

---1. Find the midpoint (x) for each class interval:
0-10 -> x = (0+10)/2 = 5
10-20 -> x = (10+20)/2 = 15
20-30 -> x = (20+30)/2 = 25
30-40 -> x = (30+40)/2 = 35

---2. Calculate fx for each class:
5 * 2 = 10
15 * 4 = 60
25 * 3 = 75
35 * 1 = 35

---3. Find the sum of f (N) and sum of fx:
N = 2 + 4 + 3 + 1 = 10
Sum of fx = 10 + 60 + 75 + 35 = 180

---4. Calculate the mean (x_bar):
x_bar = (Sum of fx) / N = 180 / 10 = 18

---5. Calculate (x - x_bar) for each midpoint:
5 - 18 = -13
15 - 18 = -3
25 - 18 = 7
35 - 18 = 17

---6. Calculate (x - x_bar)^2 for each:
(-13)^2 = 169
(-3)^2 = 9
(7)^2 = 49
(17)^2 = 289

---7. Calculate f * (x - x_bar)^2 for each:
2 * 169 = 338
4 * 9 = 36
3 * 49 = 147
1 * 289 = 289

---8. Sum f * (x - x_bar)^2:
338 + 36 + 147 + 289 = 810

---9. Calculate Variance (sigma^2) = [Sum of f * (x - x_bar)^2] / N:
Variance = 810 / 10 = 81

The variance for the grouped data is 81.

Why It Matters

Understanding variance is super important in many fields! In AI/ML, it helps models understand data spread, like predicting stock prices (FinTech) or crop yields (Climate Science). Engineers use it to ensure product quality, like making sure car parts (EVs) are consistently sized. Doctors might use it to see if a new medicine (Medicine) has a consistent effect on patients.

Common Mistakes

MISTAKE: Forgetting to use the midpoint (x) for calculations and using the class interval directly. | CORRECTION: Always find the midpoint of each class interval before proceeding with mean and variance calculations.

MISTAKE: Not squaring the difference from the mean, i.e., using (x - x_bar) instead of (x - x_bar)^2. | CORRECTION: Variance is the average of the SQUARED differences from the mean. Squaring removes negative signs and emphasizes larger deviations.

MISTAKE: Dividing by (N-1) instead of N for population variance. | CORRECTION: For grouped data representing a population, divide by N (total frequency). If it's a sample, you might divide by (N-1), but for most Class 12 problems, N is used.

Practice Questions
Try It Yourself

QUESTION: Find the variance for the following data: Class Interval: 0-5 (f=3), 5-10 (f=2). | ANSWER: Mean = 3.5, Variance = 6.25

QUESTION: A survey recorded daily mobile data usage in GB: 0-1 (f=5), 1-2 (f=10), 2-3 (f=5). Calculate the variance of data usage. | ANSWER: Mean = 1.5 GB, Variance = 0.45

QUESTION: The marks of students in a test are: 10-20 (f=4), 20-30 (f=6), 30-40 (f=8), 40-50 (f=2). Calculate the variance. | ANSWER: Mean = 29, Variance = 89

MCQ
Quick Quiz

Which of the following is the first step to calculate variance for grouped data?

Calculate the sum of frequencies

Find the midpoint of each class interval

Calculate the mean of the data

Square the differences from the mean

The Correct Answer Is:

B

To work with grouped data, we first need a single representative value for each group, which is the midpoint. All subsequent calculations like mean depend on these midpoints.

Real World Connection
In the Real World

Imagine a company like Zomato or Swiggy analyzing delivery times. They might group delivery times (e.g., 0-10 mins, 10-20 mins). Calculating the variance of these grouped times helps them understand how consistent their delivery service is across different areas or times of day. A high variance means delivery times are very unpredictable, which can lead to unhappy customers!

Key Vocabulary
Key Terms

VARIANCE: A measure of how spread out data points are from the mean | GROUPED DATA: Data organized into classes or intervals | MIDPOINT: The middle value of a class interval | MEAN: The average of all data points | FREQUENCY: The number of times a data point or class appears

What's Next
What to Learn Next

Great job understanding variance! Next, you should explore 'Standard Deviation for Grouped Data'. It's closely related to variance and is often easier to interpret because it's in the same units as your original data. Knowing both will make you a data analysis pro!

bottom of page