
Mean and Standard Deviation of a Frequency Distribution
These can appear pretty challenging and the formulas frightening. The key to
successfully completing the calculations is to create a table. Using a spreadsheet like
Excel really helps as well as you can enter the formulas and let it do the calculations.
You will want to add columns to the frequency table for class midpoint, frequency times
midpoint, midpoint squared, and frequency times midpoint squared. Allow me to
demonstrate with Old Faithful time between eruptions:
Now let’s add those columns and the calculations. Additionally, we will add a row for
the total of every column except “Time”:
Time
Frequency,
f
Class
Midpoint,
x f*x x^2 f*x^2
40-49 8 44.5 356 1980.25 15842
50-59 44 54.5 2398 2970.25 130691
60-69 23 64.5 1483.5 4160.25 95685.75
70-79 6 74.5 447 5550.25 33301.5
80-89 107 84.5 9041.5 7140.25 764006.8
90-99 11 94.5 1039.5 8930.25 98232.75
100-109 1 104.5 104.5 10920.25 10920.25
TOTALS 200 521.5 14870 41651.75 1148680
NOTE: The total for the f column is ∑f, which is also represented by n. The total for
the f*x column is ∑(f*x). The total for the f*x^2 column is ∑(f*x²).
Now to calculate the mean, use Formula 2-2:
35.74
200
14870
)*(
f
xf
x
So the sample mean,
, = 74.4 minutes.
Likewise, to calculate the standard deviation, use Formula 2-6:
)1200(200
147801148680200
)1(
)()( 2
2
2
nn
xfxfn
s
Time
Frequency,
f
40-49 8
50-59 44
60-69 23
70-79 6
80-89 107
90-99 11
100-109 1