Class interval | 0−2 | 2−4 | 4−6 | 6−8 |
Frequencies | 2 | 3 | 5 | 7 |
Class Interval Frequency(f) Cumulative Frequency (cf) 0-2 2 2 2-4 3 5 4-6 5 10 6-8 7 17 n=Σf=17 Hence, the median class is 4−6
Here, n2=172=8.5
We know that,
Median =l+⎛⎜ ⎜⎝n2−cff⎞⎟ ⎟⎠×h
Where, l→ lower limit of the median class =4
n=Σf→ total number of frequency =17
cf→ cumulative frequency of the class preceding the median class =5
f→ frequency of the median class=5
h→ class width =2
Therefore, Median =4+⎛⎝172−55⎞⎠×2
⇒4+(17−102×5)×2
⇒4+1.4
⇒5.4
Hence, the median for the given data is 5.4