Statistics Examples
ClassFrequency360-3692370-3793380-3895390-3997400-4095410-4194420-4294430-4391
Step 1
Step 1.1
The lower limit for every class is the smallest value in that class. On the other hand, the upper limit for every class is the greatest value in that class.
ClassFrequency(f)LowerLimitsUpperLimits360-3692360369370-3793370379380-3895380389390-3997390399400-4095400409410-4194410419420-4294420429430-4391430439
Step 1.2
The class midpoint is the lower class limit plus the upper class limit divided by 2.
ClassFrequency(f)LowerLimitsUpperLimitsMidpoint(M)360-3692360369360+3692370-3793370379370+3792380-3895380389380+3892390-3997390399390+3992400-4095400409400+4092410-4194410419410+4192420-4294420429420+4292430-4391430439430+4392
Step 1.3
Simplify all the midpoint column.
ClassFrequency(f)LowerLimitsUpperLimitsMidpoint(M)360-3692360369364.5370-3793370379374.5380-3895380389384.5390-3997390399394.5400-4095400409404.5410-4194410419414.5420-4294420429424.5430-4391430439434.5
Step 1.4
Add the midpoints column to the original table.
ClassFrequency(f)Midpoint(M)360-3692364.5370-3793374.5380-3895384.5390-3997394.5400-4095404.5410-4194414.5420-4294424.5430-4391434.5
ClassFrequency(f)Midpoint(M)360-3692364.5370-3793374.5380-3895384.5390-3997394.5400-4095404.5410-4194414.5420-4294424.5430-4391434.5
Step 2
Calculate the square of each group midpoint M2.
ClassFrequency(f)Midpoint(M)M2360-3692364.5364.52370-3793374.5374.52380-3895384.5384.52390-3997394.5394.52400-4095404.5404.52410-4194414.5414.52420-4294424.5424.52430-4391434.5434.52
Step 3
Simplify the M2 column.
ClassFrequency(f)Midpoint(M)M2360-3692364.5132860.25370-3793374.5140250.25380-3895384.5147840.25390-3997394.5155630.25400-4095404.5163620.25410-4194414.5171810.25420-4294424.5180200.25430-4391434.5188790.25
Step 4
Multiply each midpoint squared by its frequency f.
ClassFrequency(f)Midpoint(M)M2f⋅M2360-3692364.5132860.252⋅132860.25370-3793374.5140250.253⋅140250.25380-3895384.5147840.255⋅147840.25390-3997394.5155630.257⋅155630.25400-4095404.5163620.255⋅163620.25410-4194414.5171810.254⋅171810.25420-4294424.5180200.254⋅180200.25430-4391434.5188790.251⋅188790.25
Step 5
Simplify the f⋅M2 column.
ClassFrequency(f)Midpoint(M)M2f⋅M2360-3692364.5132860.25265720.5370-3793374.5140250.25420750.75380-3895384.5147840.25739201.25390-3997394.5155630.251089411.75400-4095404.5163620.25818101.25410-4194414.5171810.25687241420-4294424.5180200.25720801430-4391434.5188790.25188790.25
Step 6
Find the sum of all frequencies. In this case, the sum of all frequencies is n=2,3,5,7,5,4,4,1=31.
∑f=n=31
Step 7
Find the sum of f⋅M2 column. In this case, 265720.5+420750.75+739201.25+1089411.75+818101.25+687241+720801+188790.25=4930017.75.
∑f⋅M2=4930017.75
Step 8
Step 8.1
Find the midpoint M for each class.
ClassFrequency(f)Midpoint(M)360-3692364.5370-3793374.5380-3895384.5390-3997394.5400-4095404.5410-4194414.5420-4294424.5430-4391434.5
Step 8.2
Multiply the frequency of each class by the class midpoint.
ClassFrequency(f)Midpoint(M)f⋅M360-3692364.52⋅364.5370-3793374.53⋅374.5380-3895384.55⋅384.5390-3997394.57⋅394.5400-4095404.55⋅404.5410-4194414.54⋅414.5420-4294424.54⋅424.5430-4391434.51⋅434.5
Step 8.3
Simplify the f⋅M column.
ClassFrequency(f)Midpoint(M)f⋅M360-3692364.5729370-3793374.51123.5380-3895384.51922.5390-3997394.52761.5400-4095404.52022.5410-4194414.51658420-4294424.51698430-4391434.5434.5
Step 8.4
Add the values in the f⋅M column.
729+1123.5+1922.5+2761.5+2022.5+1658+1698+434.5=12349.5
Step 8.5
Add the values in the frequency column.
n=2+3+5+7+5+4+4+1=31
Step 8.6
The mean (mu) is the sum of f⋅M divided by n, which is the sum of frequencies.
μ=∑f⋅M∑f
Step 8.7
The mean is the sum of the product of the midpoints and frequencies divided by the total of frequencies.
μ=12349.531
Step 8.8
Simplify the right side of μ=12349.531.
398.37096774
398.37096774
Step 9
The equation for the standard deviation is S2=∑f⋅M2-n(μ)2n-1.
S2=∑f⋅M2-n(μ)2n-1
Step 10
Substitute the calculated values into S2=∑f⋅M2-n(μ)2n-1.
S2=4930017.75-31(398.37096774)231-1
Step 11
Simplify the right side of S2=4930017.75-31(398.37096774)231-1 to get the variance S2=344.51612903.
344.51612903