x is midpoint of class, f is frequency of class
then:
mean = ∑xifi/n=5010⋅1+13⋅17+16⋅13+19⋅8+22⋅2+25⋅1=13.2
median = L+Gn/2−Bw
where:
- L is the lower class boundary of the group containing the median
- n is the total number of values
- B is the cumulative frequency of the groups before the median group
- G is the frequency of the median group
- w is the group width
median group is 15-17
median = 15+1325−18⋅2=16.08
c - class width
f - frequency
cf - cumulative frequency
for Quartiles:
Qi class = (in/4)th value of the observation in cf column
Qi=L+f(in/4)−cf⋅c , where i=1,2,3
Q1 class:
Class with (50/4)th=(12.5)th value of the observation in cf column
this class is 12-14
Q1=12+17(50/4)−18⋅2=11.35
Q2 = median = 16.08
Q3 class:
Class with (50⋅3/4)th=(37.5)th value of the observation in cf column
this class is 18-20
Q3=18+8(150/4)−39⋅2=17.625
for Deciles:
Di class = (in/10)th value of the observation in cf column
Di=L+f(in/10)−cf⋅c , where i=1,2,3
D3 class:
Class with (50⋅3/10)th=(15)th value of the observation in cf column
this class is 12-14
D3=12+17(150/10)−18⋅2=11.65
D5 class:
Class with (50⋅5/10)th=(25)th value of the observation in cf column
this class is 15-17
D5=15+13(250/10)−31⋅2=14.08
D7 class:
Class with (50⋅7/10)th=(35)th value of the observation in cf column
this class is 18-20
D7=18+8(350/10)−39⋅2=17
for Percentiles:
Pi class = (in/100)th value of the observation in cf column
Pi=L+f(in/100)−cf⋅c , where i=1,2,3
P37 class:
Class with (50⋅37/100)th=(18.5)th value of the observation in cf column
this class is 15-17
P37=15+13(50⋅37/10)−31⋅2=13.08
P50 class:
Class with (50⋅50/100)th=(25)th value of the observation in cf column
this class is 15-17
P50=15+13(50⋅50/10)−31⋅2=14.08
P8 class:
Class with (50⋅8/100)th=(4)th value of the observation in cf column
this class is 12-14
P8=12+17(50⋅8/10)−18⋅2=10.35
Comments