Mean of ungrouped data: direct and assumed mean methods; missing values
A ration shop recording how many families buy 1, 2, 3 or 4 kg of sugar a week, and an office listing salaries by grade, both find the mean with frequencies.
For data with frequencies, mean = Σfx/Σf. The assumed mean method uses d = x − a to keep the numbers small: mean = a + Σfd/N.
Ungrouped data
Ungrouped data here means a frequency table of single values: each value x appears f times (its frequency). Multiply each value by its frequency to get fx, add these up, and divide by N = Σf. To save work with big numbers, choose an assumed mean a near the middle, find the deviations d = x − a, and use x̄ = a + Σfd/N.
Example 1: direct method
Find the mean marks: marks x = 2, 4, 6, 8, 10 with numbers of students f = 3, 5, 9, 2, 1.
- N = 3 + 5 + 9 + 2 + 1 = 20.
- fx: 6, 20, 54, 16, 10. Σfx = 106.
- Mean = Σfx/N = 106/20 = 5.3.
Mean marks = 5.3.
Example 2: assumed mean method
Daily wages (₹) of 25 workers: 300, 350, 400, 450, 500 with f = 3, 5, 9, 6, 2. Find the mean wage.
- Take a = 400. d = x − 400: −100, −50, 0, 50, 100.
- fd: −300, −250, 0, 300, 200. Σfd = −50.
- N = 25.
- Mean = a + Σfd/N = 400 + (−50)/25 = 400 − 2 = 398.
Mean daily wage = ₹ 398.
Example 3: a missing frequency
The mean of the data below is 19.5. Find p. x: 10, 15, 20, 25, 30; f: 5, 8, p, 6, 4.
- Σf = 23 + p.
- Σfx = 50 + 120 + 20p + 150 + 120 = 440 + 20p.
- (440 + 20p)/(23 + p) = 19.5.
- 440 + 20p = 448.5 + 19.5p, so 0.5p = 8.5.
- p = 17. Check: Σf = 40, Σfx = 780 and 780/40 = 19.5.
p = 17.
Times, add, divide: Σfx over Σf. Short-cut: pick a, add the average deviation.