5.   In a retail market, fruit vendors were selling mangoes kept in packing boxes. These boxes contained
 varying number of mangoes.The following was the distribution of mangoes according to the number of boxes.

 
Number of mangoesNumber of boxes
50-5215
53-55110
56-58135
59-61115
62-6425
Solution: Therefore frequency table is given by:
Number of mangoesNumber of boxes ($f_i$)Midpoint($x_i$)$d_i=x_i-57$$u_i= {x_i-a}/{h}$$f_ix_i$$f_id_i$$f_iu_i$
50-521551-6-3765-90-45
53-5511054-3-1.55940-330-165
56-581355700769500
59-611156031.56900345172.5
62-64256363157515075
Total400228757537.5
Let assumed mean of $x_i$, $a$ = 57 and class size $h$ = 2 The Direct Method: $x̄$ = ${∑f_ix_i}/{∑f_i}$ = $22875/400$ =$57.1875$ The Assumed Mean Method: $x̄$ = $a$ +${Σf_i d_i }/{Σf_i}$ = $57$ +${75 }/{400}$ = $57$ +$0.1875$ = $57.1875$ The Step Deviation Method: $x̄$ =$a$+$h({Σf_i u_i }/{Σf_i})$ Let $u_i= {x_i-a}/{h}$ where $a$ is the assumed mean and $h$ is the class size. $x̄$ =$a$+$h({Σf_i u_i }/{Σf_i})$ =$57$+$2({37.5 }/{400})$ =$57$+$0.1875$ =$57.1875$