Worked examples · Sheet 1
Means of ungrouped data
Theory used:Arithmetic mean
Go to: Exercise 1Exercise 2
Exercise 1
Find the mean of the four response times minutes and their total duration.
Add the four times, measured in the same units, to find the total . Each observation has equal weight, so divide the total by four. The result, , is the time each observation would have if the four times were equal and their total remained .
The total time requested is . It can also be recovered as , the number of observations times the mean.
As a check, calculate the deviations from the mean. The times of and minutes are a combined five minutes below the mean, whereas those of and minutes are a combined five minutes above. The deviations therefore sum to zero, as deviations from the mean do for every data set. A nonzero sum would indicate an error in the total or the division.
The mean response time is , and the total time is .
Exercise 2
The calculated mean mass for eight shipments was . A mass of had been entered as . Find the corrected mean.
Recover the total used in the calculation by multiplying the recorded mean by the number of observations. That total includes , so subtract the incorrect value before adding the correct one.
This is a replacement and there are still eight shipments. Divide the new total by eight to obtain the corrected mean .
The second calculation gives the same result without reconstructing the total. The total increases by . Since there are still eight observations, spreading the increase across them raises the mean by . Thus , in agreement with the first calculation.
The other seven masses are not needed because their contribution to the total is unchanged. The corrected mean mass for the eight shipments is .