Mean Median Mode
Concepts (2)
Mean is the average. For ungrouped data, sum values/count. For grouped data, use class marks and frequencies. Shortcuts like Assumed Mean method boost calculation speed.
Core Formula
1. Mean of Ungrouped Data (Arithmetic Mean)
This is the simplest form, where individual observations are given.
Formula: Mean (x̄) = (Sum of all observations) / (Total number of observations)
Or, x̄ = Σx / n
Where Σx is the sum of all observations, and n is the total count of observations.
2. Mean of Grouped Data When data is presented in a frequency distribution (classes with frequencies), we use different methods:
a) Direct Method
Formula: Mean (x̄) = (Σfᵢxᵢ) / (Σfᵢ)
Where fᵢ is the frequency of the i-th class, xᵢ is the class mark (mid-point) of the i-th class, and Σfᵢ is the sum of all frequencies (total number of observations).
Class Mark (xᵢ) = (Lower Limit + Upper Limit) / 2
b) Assumed Mean Method (Short-cut Method)
This method simplifies calculations when xᵢ and fᵢ values are large.
Formula: Mean (x̄) = A + [Σ(fᵢdᵢ) / Σfᵢ]
Where A is the assumed mean (a value chosen from xᵢ, preferably near the middle), dᵢ = xᵢ - A is the deviation of the class mark from the assumed mean, fᵢ is the frequency, and Σfᵢ is the sum of frequencies.
c) Step-Deviation Method
This is an extension of the assumed mean method, further simplifying calculations when class intervals are equal.
Formula: Mean (x̄) = A + [Σ(fᵢuᵢ) / Σfᵢ] * h
Where A is the assumed mean, h is the class size (or common factor for deviations), uᵢ = dᵢ / h = (xᵢ - A) / h is the step deviation, fᵢ is the frequency, and Σfᵢ is the sum of frequencies.
Worked Example 1 (Ungrouped Data)
Question: Find the arithmetic mean of the following data: 12, 15, 18, 21, 24. Solution:
- Sum of observations (Σx) = 12 + 15 + 18 + 21 + 24 = 90
- Number of observations (n) = 5
- Mean (x̄) = Σx / n = 90 / 5 = 18 Answer: The arithmetic mean is 18.
Worked Example 2 (Grouped Data - Direct Method)
Question: Calculate the mean for the following frequency distribution:
| Class Interval | Frequency (fᵢ) |
|---|---|
| 0-10 | 2 |
| 10-20 | 3 |
| 20-30 | 5 |
| 30-40 | 4 |
| 40-50 | 1 |
Solution:
-
Calculate Class Mark (xᵢ) for each interval:
- 0-10: (0+10)/2 = 5
- 10-20: (10+20)/2 = 15
- 20-30: (20+30)/2 = 25
- 30-40: (30+40)/2 = 35
- 40-50: (40+50)/2 = 45
-
Calculate fᵢxᵢ for each class:
- 2 * 5 = 10
- 3 * 15 = 45
- 5 * 25 = 125
- 4 * 35 = 140
- 1 * 45 = 45
-
Sum of frequencies (Σfᵢ) = 2 + 3 + 5 + 4 + 1 = 15
-
Sum of fᵢxᵢ (Σfᵢxᵢ) = 10 + 45 + 125 + 140 + 45 = 365
-
Mean (x̄) = Σfᵢxᵢ / Σfᵢ = 365 / 15 = 24.33 (approx) Answer: The mean is approximately 24.33.
Shortcuts & Tricks
- Arithmetic Progression (AP) Shortcut: If the ungrouped data forms an Arithmetic Progression (i.e., numbers have a constant difference), the mean is simply the middle term. If there's an even number of terms, it's the average of the two middle terms. Alternatively,
Mean = (First Term + Last Term) / 2. (Example 1: (12+24)/2 = 36/2 = 18). - Assumed Mean/Step Deviation for Speed: For grouped data with large numbers, always prefer the Assumed Mean or Step Deviation method. They convert large multiplications into smaller additions/subtractions, significantly reducing calculation time and error chances.
- Weighted Mean: If different items have different 'weights' or importance, use
Weighted Mean = Σ(wᵢxᵢ) / Σwᵢ, wherewᵢis the weight andxᵢis the value.
Common Mistakes
- Using Class Interval instead of Class Mark: For grouped data, a frequent error is using the lower limit, upper limit, or the interval itself instead of the class mark (mid-point)
xᵢin the calculations. - Calculation Errors: Especially in the direct method for grouped data, multiplying large
fᵢandxᵢvalues can lead to arithmetic mistakes. This is where Assumed Mean/Step Deviation methods help. - Incorrectly Applying Formulas: Forgetting to divide by
hor multiply byhin the Step Deviation method, or miscalculatingdᵢoruᵢvalues.
Derivation (brief)
The concept of mean is essentially finding a 'balancing point' or 'central tendency' of a dataset. For ungrouped data, Σx / n literally distributes the total sum equally among all observations. For grouped data, Σfᵢxᵢ / Σfᵢ is a weighted average. Each class mark xᵢ is weighted by its frequency fᵢ, representing how many times that xᵢ (or values close to it) appears. The Assumed Mean and Step Deviation methods are algebraic manipulations of the direct method, designed to simplify calculations by shifting the origin (subtracting A) and scaling (dividing by h) the data, performing the average on these simpler numbers, and then reversing the shift and scale to get the actual mean. They all yield the same result as the direct method.
Advanced Examples
1. Combined Mean
Question: The mean marks of 50 students in Section A is 60, and the mean marks of 70 students in Section B is 75. Find the combined mean of all students.
Solution:
Let n₁ = 50, x̄₁ = 60 (for Section A)
Let n₂ = 70, x̄₂ = 75 (for Section B)
Combined Mean (x̄_combined) = (n₁x̄₁ + n₂x̄₂) / (n₁ + n₂)
x̄_combined = (50 * 60 + 70 * 75) / (50 + 70)
x̄_combined = (3000 + 5250) / 120
x̄_combined = 8250 / 120 = 68.75
Answer: The combined mean is 68.75.
2. Missing Frequency Question: The mean of the following distribution is 25. Find the missing frequency (p).
| Class Interval | Frequency (fᵢ) |
|---|---|
| 0-10 | 5 |
| 10-20 | 18 |
| 20-30 | p |
| 30-40 | 15 |
| 40-50 | 6 |
Solution:
-
Calculate Class Mark (xᵢ):
- 0-10: 5
- 10-20: 15
- 20-30: 25
- 30-40: 35
- 40-50: 45
-
Calculate fᵢxᵢ:
- 5 * 5 = 25
- 18 * 15 = 270
- p * 25 = 25p
- 15 * 35 = 525
- 6 * 45 = 270
-
Sum of frequencies (Σfᵢ) = 5 + 18 + p + 15 + 6 = 44 + p
-
Sum of fᵢxᵢ (Σfᵢxᵢ) = 25 + 270 + 25p + 525 + 270 = 1090 + 25p
-
Given Mean (x̄) = 25 Using Direct Method:
x̄ = Σfᵢxᵢ / Σfᵢ25 = (1090 + 25p) / (44 + p)25 * (44 + p) = 1090 + 25p1100 + 25p = 1090 + 25p1100 = 1090(This indicates an error in the problem statement or my calculation. Let's recheck the problem. Ah, this specific setup leads to an identity or contradiction. Let's adjust the mean slightly to make it solvable, or adjust a frequency. For exam purposes, if this happens, recheck calculation. Assuming a solvable problem, e.g., if the mean was 24, then24(44+p) = 1090+25p => 1056+24p = 1090+25p => p = 1090-1056 = 34. For this example, let's assume the mean was 24 to illustrate the method.)Self-correction: The example setup
25 = (1090 + 25p) / (44 + p)simplifies to1100 + 25p = 1090 + 25p, which leads to1100 = 1090, a contradiction. This means a mean of 25 is impossible for this data with a missing frequency 'p'. I need to either change the given mean or one of the frequencies to make it solvable. For a practical exam scenario, this would mean rechecking the question. For this exercise, I will adjust the mean to 24 to demonstrate the method.Let's assume the given Mean (x̄) = 24.
24 = (1090 + 25p) / (44 + p)24 * (44 + p) = 1090 + 25p1056 + 24p = 1090 + 25p1056 - 1090 = 25p - 24p-34 = pSelf-correction: A negative frequency is not possible. This implies the numbers are still not working out for a simple example. I will create a simpler, solvable missing frequency example.Revised Missing Frequency Example: Question: The mean of the following distribution is 20. Find the missing frequency (p).
Class Interval Frequency (fᵢ) 0-10 2 10-20 3 20-30 p 30-40 1 Solution:
-
Calculate Class Mark (xᵢ):
- 0-10: 5
- 10-20: 15
- 20-30: 25
- 30-40: 35
-
Calculate fᵢxᵢ:
- 2 * 5 = 10
- 3 * 15 = 45
- p * 25 = 25p
- 1 * 35 = 35
-
Sum of frequencies (Σfᵢ) = 2 + 3 + p + 1 = 6 + p
-
Sum of fᵢxᵢ (Σfᵢxᵢ) = 10 + 45 + 25p + 35 = 90 + 25p
-
Given Mean (x̄) = 20
20 = (90 + 25p) / (6 + p)20 * (6 + p) = 90 + 25p120 + 20p = 90 + 25p120 - 90 = 25p - 20p30 = 5pp = 30 / 5 = 6Answer: The missing frequency (p) is 6.
-
Variation Types
- Combined Mean: As shown in the advanced example, calculating the mean of two or more combined groups.
- Weighted Mean: Used when different observations have different levels of importance or 'weights'. For example, calculating average marks where different subjects have different credit points.
- Missing Frequency Problems: Where the mean is given, and one or more frequencies are unknown, requiring algebraic solution.
Time-Saving Methods
- Choose the Right Method: For grouped data, if
xᵢandfᵢare small, use the Direct Method. If they are large but have a common class size, use the Step Deviation method. Ifxᵢare large butfᵢare small, or class sizes are unequal, the Assumed Mean method is often best. Don't blindly use the direct method for complex data. - Mental Math for Class Marks: Quickly calculate class marks mentally, especially for simple intervals.
- Cross-Verification: For simple ungrouped data, quickly check if the mean lies within the range of the data. For grouped data, the mean should fall within the class interval with the highest frequency (modal class), though this is not always strictly true, it's a good sanity check.
Median is the middle value, Mode is the most frequent. Master quick calculation for ungrouped data and formulas for grouped data, plus the empirical relation for speed.
Core Formulas
Median is the middle value of a dataset when arranged in ascending or descending order. It divides the data into two equal halves.
-
For Ungrouped Data:
- Arrange the data in ascending or descending order.
- If the number of observations (n) is odd, the Median is the
(n+1)/2-th observation. - If the number of observations (n) is even, the Median is the average of the
n/2-th and(n/2)+1-th observations.
-
For Grouped Data (Continuous Frequency Distribution):
- Calculate the cumulative frequency (cf).
- Find
N/2(where N is the total frequency). - Identify the median class: the class interval whose cumulative frequency is just greater than or equal to
N/2. - Apply the formula: Median = L + [(N/2 - cf) / f] * h
L: Lower limit of the median classN: Total number of observations (sum of frequencies)cf: Cumulative frequency of the class preceding the median classf: Frequency of the median classh: Class size (upper limit - lower limit) of the median class
Mode is the value that appears most frequently in a dataset.
-
For Ungrouped Data: Identify the observation with the highest frequency.
-
For Grouped Data (Continuous Frequency Distribution):
- Identify the modal class: the class interval with the highest frequency.
- Apply the formula: Mode = L + [(f1 - f0) / (2f1 - f0 - f2)] * h
L: Lower limit of the modal classf1: Frequency of the modal classf0: Frequency of the class preceding the modal classf2: Frequency of the class succeeding the modal classh: Class size of the modal class
Worked Example 1 (Median - Ungrouped Data)
Question: Find the median of the following data: 12, 8, 15, 7, 10, 18, 5.
Solution:
- Arrange the data in ascending order: 5, 7, 8, 10, 12, 15, 18.
- Number of observations (n) = 7 (odd).
- Median is the
(7+1)/2 = 4-th observation. - The 4th observation is 10. Answer: Median = 10
Worked Example 2 (Mode - Ungrouped Data)
Question: Find the mode of the following data: 2, 5, 7, 2, 8, 5, 2, 9, 5, 2.
Solution:
- Count the frequency of each observation:
- 2 appears 4 times
- 5 appears 3 times
- 7 appears 1 time
- 8 appears 1 time
- 9 appears 1 time
- The observation '2' has the highest frequency (4). Answer: Mode = 2
Shortcuts & Tricks
- Empirical Relation: For moderately skewed distributions, there's an approximate relationship: Mode = 3 Median - 2 Mean. This is crucial for SSC CGL if you need to find one measure given the other two.
- Quick Scan for Ungrouped Data: For mode, quickly scan the list and identify the most repeated number. For median, mentally sort small datasets or cross out numbers from both ends until you reach the middle.
- Options Elimination: In MCQs, if you calculate one measure (e.g., Mean) and the options for Median/Mode are far apart, you might be able to estimate or use the empirical relation to eliminate choices without full calculation.
Common Mistakes
- Not Arranging Data for Median: Failing to sort ungrouped data in order before finding the middle value is a very common error.
- Incorrect Cumulative Frequency (cf): In the grouped median formula,
cfrefers to the cumulative frequency of the preceding class, not the median class itself. Misidentifying this leads to wrong answers. - Calculation Errors: The grouped data formulas involve multiple steps and variables. Careless arithmetic or misidentifying
f0,f1,f2for mode, orL,hfor both, can lead to mistakes.
Derivation (brief)
-
Median for Grouped Data: The formula for grouped median is based on the assumption that observations within a class interval are uniformly distributed.
N/2locates the position of the median.Lis the starting point of the median class.(N/2 - cf)tells us how many observations we need to 'step into' the median class from its lower limit. Dividing byf(frequency of the median class) gives the fraction of the class widthhwe need to traverse. Multiplying byhconverts this fraction into an actual value. -
Mode for Grouped Data: The formula for grouped mode uses the concept of 'frequency density'. The modal class has the highest frequency. The formula essentially interpolates the mode within the modal class, giving more weight to the side (preceding or succeeding class) that has a higher frequency, indicating a 'pull' towards that side.
(f1 - f0)and(f1 - f2)represent the differences in frequency from the modal class to its neighbors, guiding the interpolation.
Advanced Examples
Question: For the following frequency distribution, calculate the Median and Mode.
| Class Interval | Frequency (f) |
|---|---|
| 0-10 | 5 |
| 10-20 | 8 |
| 20-30 | 15 |
| 30-40 | 10 |
| 40-50 | 7 |
Solution: First, create a cumulative frequency (cf) column and find N:
| Class Interval | Frequency (f) | Cumulative Frequency (cf) |
|---|---|---|
| 0-10 | 5 | 5 |
| 10-20 | 8 | 13 |
| 20-30 | 15 | 28 |
| 30-40 | 10 | 38 |
| 40-50 | 7 | 45 |
| Total Frequency (N) = 45 |
1. Calculate Median:
N/2 = 45/2 = 22.5- Median Class: The cf just greater than 22.5 is 28, so the median class is 20-30.
L = 20(Lower limit of median class)cf = 13(cf of class preceding median class)f = 15(Frequency of median class)h = 10(Class size)- Median = L + [(N/2 - cf) / f] * h
= 20 + [(22.5 - 13) / 15] * 10= 20 + [9.5 / 15] * 10= 20 + 0.6333 * 10= 20 + 6.33Median ≈ 26.33
2. Calculate Mode:
- Modal Class: The class with the highest frequency (15) is 20-30.
L = 20(Lower limit of modal class)f1 = 15(Frequency of modal class)f0 = 8(Frequency of class preceding modal class)f2 = 10(Frequency of class succeeding modal class)h = 10(Class size)- Mode = L + [(f1 - f0) / (2f1 - f0 - f2)] * h
= 20 + [(15 - 8) / (2*15 - 8 - 10)] * 10= 20 + [7 / (30 - 8 - 10)] * 10= 20 + [7 / 12] * 10= 20 + 0.5833 * 10= 20 + 5.83Mode ≈ 25.83
Variation Types
- Bimodal Data: A dataset can have two modes if two values appear with the same highest frequency. Example: 1, 2, 2, 3, 4, 4, 5 (Modes are 2 and 4).
- Multimodal Data: A dataset with more than two modes. This is less common in typical exam questions but possible.
- No Mode: If all observations have the same frequency (e.g., each value appears once), the data has no mode. Example: 1, 2, 3, 4, 5.
Time-Saving Methods
- Visual Inspection for Mode: For frequency tables, quickly scan the frequency column to identify the highest frequency and thus the modal class. This saves time compared to writing it down.
- Quick Cumulative Frequency: When calculating
cffor median, do it mentally or on scratch paper without rewriting the entire table if time is extremely tight. Just findN/2and then quickly sum frequencies until you crossN/2to find the median class and its precedingcf. - Approximation with Options: If options are widely spread, you can sometimes approximate the median/mode. For instance, if the median class is 20-30 and
N/2is close tocfof the preceding class, the median will be closer to 20. IfN/2is closer to thecfof the median class, it will be closer to 30. Use this to eliminate options.
Ready to practice? Start an interactive lesson.
Start Lesson: Mean of Grouped & Ungrouped Data