A variable, x, can have values 2, 3, 4, 5 and 6. Many observations of x are made and denoted by x_i. They have corresponding frequencies, f_i. The results are as follows:
Calculate the mean of x.
value (x_i) | 2 | 3 | 4 | 5 | 6 |
frequency ( f_i) | 6 | 9 | 3 | 7 | 4 |
The sum of all the measurements must be found. The value 2 occurs six times, contributing 12 to the total. Similarly, 3 occurs nine times contributing 27 to the total. Thus
total = 2(6) + 3(9) + 4(3) + 5(7) + 6(4) = 110
The number of measurements made is 6 + 9 + 3 + 7 + 4 = 29. So,
mean =\overline{{{x}}}=\,\frac{1\,10}{29}=3.79