A formula to calculate the mode for grouped data's is given: Mode = l + <mstyle displaystyle

freakygirl838w

freakygirl838w

Answered question

2022-06-24

A formula to calculate the mode for grouped data's is given:
Mode = l + ( f 1 f 0 ) h 2 f 1 f 0 f 2
Where, l = lower limit of the modal class,
h = size of the class interval,
f 1 = frequency of the modal class,
f 0 = frequency of the class preceding the modal class,
f 2 = frequency of the class succeeding the modal class.
Explain the derivation of this formula.

Answer & Explanation

robegarj

robegarj

Beginner2022-06-25Added 24 answers

The following is not a rigorous derivation (a derivation would require a lot of assumptions about what makes one estimator better than another), but is an attempt to "make sense" of the formula so that you can more easily remember and use it.
Consider a bar graph with a bar for each of the classes of data. Then f 1 is the height of the bar of the modal class, f 0 is the height of the bar on the left of it, and f 2 is the height of the bar on the right of it.
The quantity f 1 f 0 measures how far the modal class's bar "sticks up" above the bar on its left. The quantity f 1 f 2 measures how far the modal class's bar "sticks up" above the bar on its right.
Now, observe that
f 1 f 0 2 f 1 f 0 f 2 + f 1 f 2 2 f 1 f 0 f 2 = f 1 f 0 ( f 1 f 0 ) + ( f 1 f 2 ) + f 1 f 2 ( f 1 f 0 ) + ( f 1 f 2 ) = 1
So if we want to divide an interval of width h into two pieces, where the ratio of sizes of those two pieces is ( f 1 f 0 ) : ( f 1 f 2 ), the first piece will have width f 1 f 0 2 f 1 f 0 f 2 h.
This is what the formula for estimating the mode does. It splits the width of the modal bar into two pieces whose ratio of widths is ( f 1 f 0 ) : ( f 1 f 2 ), and it says the mode is at the line separating those two pieces, that is, at a distance f 1 f 0 2 f 1 f 0 f 2 h from the left edge of that bar, l.
If f 1 f 0 = f 1 f 2 , that is, the modal bar is equally far above the bars on both its left and right, then this formula estimates the mode right in the middle of the modal class:
l + f 1 f 0 2 f 1 f 0 f 2 h = l + 1 2 h .
But if height of the bar on the left is closer to the modal bar's height, then the estimated mode is to the left of the centerline of the modal class. In the extreme case where the bar on the left is exactly the height of the modal bar, and both are taller than the bar on the right, that is, when f 1 f 0 = 0 but f 1 f 2 > 0, the formula estimates the mode at l exactly, that is, at the left edge of the modal bar. In the other extreme case, where the bar on the left is shorter but the bar on the right is the same height as the modal bar ( f 1 f 0 > 0 but f 1 f 2 = 0), the formula estimates the mode at l + h, that is, at the right edge of the modal bar.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?