find the difference between the mode and median of the distribution of data

Step 1: Rewrite the dot plot in tabular form
Step : Compute the mode
From the table, we can see that the numer appears most ( that is the number with the highest frequence, f) is 4.
Therefore,
mode = 4
Step 3: Find the median
First arrange the data in ascending order. In this case, the data is already in ascending order.
If ∑f is odd, the median is the middle value which is at position
[tex]\frac{\sum f+1}{2}[/tex]If ∑f is even, the median is the average of the two values at positions
[tex]\frac{\sum f}{2}\text{ and }\frac{\sum f}{2}+1[/tex]In this case, ∑f = 12 is even.
Therefore, the median is the average of the numbers at position 6 and 7
number at position 6 is 3
number at position 7 is 4
Hence, the median is given by
[tex]\frac{3+4}{2}=\frac{7}{2}=3.5[/tex]median = 3.5
Step 4: Find the difference between the median and mode
The difference is given by
[tex]4-3.5=0.5[/tex]Hence the difference is 0.5