A brief note on The Mean of Grouped Data . Read it before a test. Try each question at the end before you open its answer.
Class marks and the direct method The class mark is the middle of a class: x = lower end + upper end 2 x = \dfrac{\text{lower end} + \text{upper end}}{2} x = 2 lower end + upper end . For an inclusive class such as 1 1 1 to 10 10 10 , it is 5.5 5.5 5.5 . Direct method: x ˉ = ∑ f x ∑ f \bar{x} = \dfrac{\sum fx}{\sum f} x ˉ = ∑ f ∑ f x . The mean of grouped data is an estimate, because every value in a class is replaced by the class mark. The assumed mean method Choose an assumed mean a a a near the middle. The deviation is d = x − a d = x - a d = x − a . Mean: x ˉ = a + ∑ f d ∑ f \bar{x} = a + \dfrac{\sum fd}{\sum f} x ˉ = a + ∑ f ∑ f d . Any a a a gives the same mean. A negative ∑ f d \sum fd ∑ f d means that the mean is below a a a . The step deviation method For classes of equal width h h h , the step deviation is u = x − a h u = \dfrac{x - a}{h} u = h x − a . Mean: x ˉ = a + h × ∑ f u ∑ f \bar{x} = a + h \times \dfrac{\sum fu}{\sum f} x ˉ = a + h × ∑ f ∑ f u . Use it when the class marks are large and the classes have equal width. A worked example The weights of 30 30 30 parcels, in kg, fall in the classes 5 5 5 to 15 15 15 , 15 15 15 to 25 25 25 , 25 25 25 to 35 35 35 , 35 35 35 to 45 45 45 and 45 45 45 to 55 55 55 with frequencies 4 , 9 , 12 , 3 , 2 4, 9, 12, 3, 2 4 , 9 , 12 , 3 , 2 . Find the mean.
Class marks and a a a . The class marks are 10 , 20 , 30 , 40 , 50 10, 20, 30, 40, 50 10 , 20 , 30 , 40 , 50 . Take a = 30 a = 30 a = 30 and h = 10 h = 10 h = 10 . Step deviations. u = − 2 , − 1 , 0 , 1 , 2 u = -2, -1, 0, 1, 2 u = − 2 , − 1 , 0 , 1 , 2 . The products f u fu f u are − 8 , − 9 , 0 , 3 , 4 -8, -9, 0, 3, 4 − 8 , − 9 , 0 , 3 , 4 , and ∑ f u = − 10 \sum fu = -10 ∑ f u = − 10 . The mean. x ˉ = 30 + 10 × − 10 30 = 26.67 \bar{x} = 30 + 10 \times \dfrac{-10}{30} = 26.67 x ˉ = 30 + 10 × 30 − 10 = 26.67 kg. Practice with new numbers
A program to try The program finds the mean of the parcel table by the direct method and by the step deviation method.
Run it. Do the two answers agree?
1. Change a, h = 30, 10 to a, h = 20, 10. Do they still agree?
Mistakes to avoid Dividing by the number of classes instead of by ∑ f \sum f ∑ f . Using an end of the class instead of the class mark. Leaving out h h h at the end of the step deviation method. Using the step deviation method with classes of unequal width. Check yourself What is the class mark of the class 35 35 35 to 55 55 55 ? Stuck? Show a hint Show the answerFor N = 40 N = 40 N = 40 , a = 50 a = 50 a = 50 and ∑ f d = − 80 \sum fd = -80 ∑ f d = − 80 , find the mean. Stuck? Show a hint Show the answerWhy must the classes have equal width for the step deviation method? Stuck? Show a hint Show the answerIs the mean of grouped data exact? Stuck? Show a hint Show the answerSources NCERT, Mathematics for Class 10, the chapter Statistics. OpenStax, Introductory Statistics, Chapter 2 Descriptive Statistics.