Statistics

A class teacher marks thirty scripts and now holds thirty separate numbers — a tangle no one can absorb at a glance. In Class IX you already learned to compress such a tangle into three single numbers: the mean, the median and the mode of ungrouped data. But real data — marks, wages, heartbeats, literacy rates — rarely arrives as a clean list of individual values. It arrives already bucketed into ranges, a table that says "10 to 25 marks: 2 students; 25 to 40 marks: 3 students," because that is how large data is actually recorded. This chapter stretches the three familiar measures of central tendency from a list of individual numbers to a table of grouped, ranged data, and introduces a new bookkeeping device — cumulative frequency — that makes this stretch possible for the median. The chapter's spine has three matching pillars. First, the mean of grouped data, found three ways — the direct method, the assumed mean method and the step-deviation method — all giving the identical answer, so the choice is purely about which one keeps the arithmetic light. Second, the mode, found by locating the single most crowded class interval (the modal class) and reading off a precise value inside it with one formula. Third, the median, found by building a cumulative frequency table and locating the class where the running total first crosses the halfway mark. A short closing result, the empirical relationship 3 Median=Mode+2 Mean3\,\text{Median} = \text{Mode} + 2\,\text{Mean}, ties all three together. By the end you will be able to take the very same table of thirty students' marks and produce three different, complementary answers to the vague question "how did the class do": a mean of 6262, a modal score of 5252, and, for a differently sized class, a median that tells you where the middle student stands. Each measure answers a slightly different question, and knowing which one to reach for matters as much as knowing how to compute it.

Key takeaways
  • The mean of grouped data assumes each class's frequency is concentrated at its class mark xi=upper limit+lower limit2x_i = \dfrac{\text{upper limit} + \text{lower limit}}{2}; the direct method computes xˉ=ΣfixiΣfi\bar{x} = \dfrac{\Sigma f_i x_i}{\Sigma f_i}.
  • The assumed mean method computes xˉ=a+ΣfidiΣfi\bar{x} = a + \dfrac{\Sigma f_i d_i}{\Sigma f_i} with di=xi−ad_i = x_i - a; the step-deviation method computes xˉ=a+h ⁣(ΣfiuiΣfi)\bar{x} = a + h\!\left(\dfrac{\Sigma f_i u_i}{\Sigma f_i}\right) with ui=xi−ahu_i = \dfrac{x_i - a}{h} — all three agree exactly (NCERT Examples 1, 2).
  • The value chosen for aa never changes the final mean; step-deviation is fastest when the deviations did_i share a common factor, usually hh.
  • The mode lies inside the modal class (highest frequency), given by Mode=l+(f1−f02f1−f0−f2)h\text{Mode} = l + \left(\dfrac{f_1 - f_0}{2f_1 - f_0 - f_2}\right) h.
  • The cumulative frequency of a class is the running total of frequencies up to it ("less than" type) or from it onward ("more than" type).
  • The median lies inside the median class — the first class whose cumulative frequency is ≥n/2\geq n/2 — given by Median=l+(n2−cff)h\text{Median} = l + \left(\dfrac{\tfrac{n}{2} - cf}{f}\right) h.
  • Both the mode and median formulas require continuous class intervals; inclusive intervals must be converted first.
  • An empirical relationship links all three for moderately skewed data: 3 Median=Mode+2 Mean3\,\text{Median} = \text{Mode} + 2\,\text{Mean}.
  • Key idea: the mean, median and mode of grouped data are each found by collapsing every class interval to one representative value — the class mark for the mean, the modal-class formula for the mode, and the cumulative-frequency crossing of n over 2 for the median — and the three are tied together by 3 Median = Mode + 2 Mean.
The core insight

Grouped data is summarised by collapsing every class to a single representative point: the mean uses the class mark xix_i in xˉ=a+h ⁣(ΣfiuiΣfi)\bar{x} = a + h\!\left(\dfrac{\Sigma f_i u_i}{\Sigma f_i}\right), the mode uses the modal-class formula l+(f1−f02f1−f0−f2)hl + \left(\dfrac{f_1 - f_0}{2f_1 - f_0 - f_2}\right)h, and the median uses a cumulative frequency table and l+(n/2−cff)hl + \left(\dfrac{n/2 - cf}{f}\right)h, with the three linked by 3 Median=Mode+2 Mean3\,\text{Median} = \text{Mode} + 2\,\text{Mean}.

What this chapter covers

The chapter moves in three matched stages, each extending a Class IX idea from a raw list of numbers to a grouped table. It opens with the mean of grouped data: first the direct method, which assumes each class's frequency sits entirely at its class mark, then two arithmetic shortcuts — the assumed mean method and the step-deviation method — proved algebraically to always agree with the direct method, however large or awkward the numbers. It then turns to the mode of grouped data, defining the modal class as the class of highest frequency and giving a single formula that locates a precise value inside it. The chapter's final and most intricate idea is the median of grouped data, which needs a new tool — the cumulative frequency table, built either as "less than" or "more than" running totals — to locate the median class and then interpolate a precise median value inside it. The chapter closes by comparing all three measures side by side on the same data, discussing when each is the right choice, and stating the empirical relationship that connects them.

The core ideas

Mean of grouped data: the direct method

Recall from Class IX that for ungrouped data with observations x1,x2,…,xnx_1, x_2, \ldots, x_n occurring with frequencies f1,f2,…,fnf_1, f_2, \ldots, f_n, the mean is the sum of all values divided by the total count. For grouped data, an individual observation inside a class is not known exactly — only the class it falls into is — so the chapter makes one controlling assumption: the frequency of each class is treated as concentrated at its class mark, the class midpoint.

xˉ=ΣfixiΣfi,xi=upper class limit+lower class limit2.(1)\bar{x} = \frac{\Sigma f_i x_i}{\Sigma f_i}, \qquad x_i = \frac{\text{upper class limit} + \text{lower class limit}}{2}. \qquad (1)

where: xix_i is the class mark of the ii-th class, fif_i is its frequency, and xˉ\bar{x} is the mean. This is the direct method. Because it replaces every observation by the single value xix_i, the grouped mean is only an approximation to the true mean of the raw data — for NCERT Example 1, the exact ungrouped mean is 59.359.3, while the same data grouped into six classes gives 6262.

Reducing the arithmetic: assumed mean and step-deviation methods

When xix_i and fif_i are numerically large, multiplying every fixif_ix_i by hand becomes tedious. Two shortcuts fix this without changing the answer. The assumed mean method picks one class mark as a reference point aa (near the data's centre) and works with the small deviations di=xi−ad_i = x_i - a:

xˉ=a+ΣfidiΣfi.(2)\bar{x} = a + \frac{\Sigma f_i d_i}{\Sigma f_i}. \qquad (2)

where: aa is the assumed mean, any convenient class mark, and di=xi−ad_i = x_i - a. If the did_i share a common factor — typically the class size hh — dividing every did_i by hh gives even smaller numbers ui=xi−ahu_i = \dfrac{x_i - a}{h}, the step-deviation method:

xˉ=a+h(ΣfiuiΣfi).(3)\bar{x} = a + h\left(\frac{\Sigma f_i u_i}{\Sigma f_i}\right). \qquad (3)

where: hh is the class size and uiu_i is the step-deviation of the ii-th class. Both formulas are proved equivalent to the direct method in the first derivation below — the choice between the three is purely convenience, governed by how large xix_i, fif_i are and whether hh is uniform.

Figure
A bar chart of six mark class intervals with heights equal to the number of students and each bars midpoint marked as its class mark showing how the mean treats every student in a class as located at that single representative point
Every class is represented by one point — its class mark number of students (f) marks obtained (class intervals) 17.5 32.5 47.5 62.5 77.5 92.5 10-25 25-40 40-55 55-70 70-85 85-100 f = 2 f = 3 f = 7 f = 6 f = 6 f = 6 The red dot on every bar is the class mark x sub i, the single value that stands in for the whole class

Mode of grouped data: locating the modal class

For ungrouped data the mode was simply the observation with the highest frequency, found by inspection. For grouped data this is no longer possible directly — individual observations are hidden inside classes — so the chapter defines the modal class as the class interval with the highest frequency, and gives a formula that pinpoints one exact value inside it.

Mode=l+(f1−f02f1−f0−f2)h.(4)\text{Mode} = l + \left(\frac{f_1 - f_0}{2f_1 - f_0 - f_2}\right) h. \qquad (4)

where: ll is the lower limit of the modal class, hh is the class size (equal width assumed), f1f_1 is the frequency of the modal class, f0f_0 is the frequency of the preceding class, and f2f_2 is the frequency of the succeeding class. The formula is derived geometrically below. Grouped data can, in principle, be multimodal; this chapter, like NCERT, restricts attention to a single clear modal class.

Median of grouped data: cumulative frequency and the median class

The median of ungrouped data was the middle-most observation once the data was arranged in order — the (n+12)\left(\dfrac{n+1}{2}\right)-th observation for odd nn, or the average of the n2\dfrac{n}{2}-th and (n2+1)\left(\dfrac{n}{2}+1\right)-th observations for even nn. Grouped data hides the individual order, so a running-total tool is needed first: the cumulative frequency of a class is the sum of the frequencies of that class and all classes before it ("less than" type), or of that class and all classes after it ("more than" type). Once a cumulative frequency column (cfcf) is built, the median class is the first class whose cumulative frequency is greater than (and nearest to) n2\dfrac{n}{2}, where n=Σfin = \Sigma f_i.

Median=l+(n2−cff)h.(5)\text{Median} = l + \left(\frac{\tfrac{n}{2} - cf}{f}\right) h. \qquad (5)

where: ll is the lower limit of the median class, nn is the total number of observations, cfcf is the cumulative frequency of the class immediately preceding the median class, ff is the frequency of the median class, and hh is the class size. The formula is derived below using linear interpolation, assuming the median class's observations are spread evenly across its width.

Figure
A cumulative frequency curve for the marks of fifty three students rising in a smooth increasing line from zero to fifty three with a horizontal line at half of fifty three marking where the curve crosses inside the median class sixty to seventy
Cumulative frequency crosses n over 2 inside the median class marks obtained cumulative frequency 0 20 40 60 80 100 n over 2 = 26.5 median ≈ 66.4 The curve crosses cumulative frequency 26.5 inside class 60 to 70, the median class

Choosing the right measure, and the empirical relationship

The mean uses every observation and is the most common measure, but it is pulled about by extreme values — a single very large or small class frequency distorts it. When a "typical" value matters more than every individual value, the median is often better, since it depends only on how many observations lie on each side, not on how extreme they are. When the most frequently occurring value matters most — the most popular size, the most common wage — the mode is the natural choice. For moderately skewed distributions, the three are tied together by a useful empirical rule:

3 Median=Mode+2 Mean.(6)3\,\text{Median} = \text{Mode} + 2\,\text{Mean}. \qquad (6)

where: all three quantities refer to the same data set. This relationship is empirical — observed to hold well for many real, moderately skewed distributions — not an exact identity for every data set, so it is used for quick estimation, not as a substitute for direct computation when precision matters.

Derivation ADeriving the assumed mean and step-deviation formulas for the mean

The goal is to show algebraically that the assumed mean and step-deviation methods always reproduce exactly the same answer as the direct method xˉ=Σfixi/Σfi\bar{x} = \Sigma f_i x_i / \Sigma f_i, for any choice of the reference value aa and any nonzero class size hh. This justifies picking whichever method keeps the numbers smallest, with complete confidence the final mean will not change.

Step 1. Start from di=xi−ad_i = x_i - a, so xi=a+dix_i = a + d_i. Substitute into the direct-method formula: xˉ=ΣfixiΣfi=Σfi(a+di)Σfi\bar{x} = \dfrac{\Sigma f_i x_i}{\Sigma f_i} = \dfrac{\Sigma f_i (a + d_i)}{\Sigma f_i}.

Step 2. Split the sum, since aa does not depend on ii: Σfi(a+di)=a Σfi+Σfidi\Sigma f_i(a+d_i) = a\,\Sigma f_i + \Sigma f_i d_i, so xˉ=a ΣfiΣfi+ΣfidiΣfi\bar{x} = \dfrac{a\,\Sigma f_i}{\Sigma f_i} + \dfrac{\Sigma f_i d_i}{\Sigma f_i}.

Step 3. Simplify the first term: a ΣfiΣfi=a\dfrac{a\,\Sigma f_i}{\Sigma f_i} = a, since Σfi\Sigma f_i cancels. This leaves the assumed mean formula, xˉ=a+ΣfidiΣfi\bar{x} = a + \dfrac{\Sigma f_i d_i}{\Sigma f_i}, valid for any aa — which is why the result does not depend on which class mark is picked as aa.

Step 4. Bring in the step-deviation: since ui=xi−ah=dihu_i = \dfrac{x_i-a}{h} = \dfrac{d_i}{h}, we have di=huid_i = hu_i. Substituting, xˉ=a+Σfi(hui)Σfi=a+h⋅ΣfiuiΣfi\bar{x} = a + \dfrac{\Sigma f_i(hu_i)}{\Sigma f_i} = a + h\cdot\dfrac{\Sigma f_i u_i}{\Sigma f_i}, exactly the step-deviation formula.

Step 5. Confirm on NCERT's numbers: with a=47.5a=47.5, h=15h=15, Σfidi=435\Sigma f_i d_i = 435, Σfi=30\Sigma f_i = 30, so xˉ=47.5+435/30=62\bar{x} = 47.5+435/30 = 62. The step-deviation gives Σfiui=29\Sigma f_i u_i = 29, so xˉ=47.5+15(29/30)=62\bar{x} = 47.5+15(29/30) = 62 — matching the direct method's 1860/30=621860/30 = 62.

Go deeper · Derivation B · 1 minDeriving the mode formula for grouped data
Derivation BDeriving the mode formula for grouped data

The goal is to justify Mode=l+(f1−f02f1−f0−f2)h\text{Mode} = l + \left(\dfrac{f_1-f_0}{2f_1-f_0-f_2}\right)h geometrically, using the histogram of the modal class and its two neighbours, rather than quoting it. Two straight lines are drawn across the top of the histogram, and where they cross gives the mode — the point where the modal class's crowding is pulled most strongly toward whichever neighbour has the higher frequency.

Step 1. Set up coordinates: the modal class occupies [l,l+h][l, l+h] with height f1f_1; the preceding class occupies [l−h,l][l-h,l] with height f0f_0; the succeeding class occupies [l+h,l+2h][l+h,l+2h] with height f2f_2. The needed real corners are: modal top-left A=(l,f1)A=(l,f_1), modal top-right B=(l+h,f1)B=(l+h,f_1), preceding top-right D=(l,f0)D=(l,f_0), succeeding top-left C=(l+h,f2)C=(l+h,f_2).

Step 2. Draw line ACAC (modal top-left to succeeding top-left) and line BDBD (modal top-right to preceding top-right). Using local coordinate x′=x−lx'=x-l (running 00 to hh), line ACAC is y=f1+(f2−f1)x′hy = f_1+(f_2-f_1)\dfrac{x'}{h} and line BDBD is y=f0+(f1−f0)x′hy = f_0+(f_1-f_0)\dfrac{x'}{h}.

Step 3. Set the two equal: f1−f0=x′h[(f1−f0)−(f2−f1)]=x′h(2f1−f0−f2)f_1-f_0 = \dfrac{x'}{h}\left[(f_1-f_0)-(f_2-f_1)\right] = \dfrac{x'}{h}(2f_1-f_0-f_2).

Step 4. Solve: x′=h(f1−f02f1−f0−f2)x' = h\left(\dfrac{f_1-f_0}{2f_1-f_0-f_2}\right), so Mode=l+x′=l+(f1−f02f1−f0−f2)h\text{Mode} = l+x' = l+\left(\dfrac{f_1-f_0}{2f_1-f_0-f_2}\right)h — the stated formula.

Step 5. Verify against NCERT's Example 6: modal class 4040–5555, l=40l=40, h=15h=15, f1=7f_1=7, f0=3f_0=3, f2=6f_2=6: x′=15(45)=12x' = 15\left(\dfrac{4}{5}\right)=12, so Mode=52\text{Mode}=52, matching NCERT.

Go deeper · Derivation C · 1 minDeriving the median formula for grouped data by linear interpolation
Derivation CDeriving the median formula for grouped data by linear interpolation

The goal is to justify Median=l+(n/2−cff)h\text{Median} = l + \left(\dfrac{n/2 - cf}{f}\right)h using one controlling assumption: within the median class, the ff observations are spread evenly across its width hh, the same representative-point idea used for the mean. This turns "find the middle observation" into a proportion problem.

Step 1. Let the median class be [l,l+h][l,l+h] with frequency ff, and cfcf the cumulative frequency of all classes before it. We want the point mm inside [l,l+h][l,l+h] where exactly n/2n/2 observations lie at or below mm.

Step 2. Since cfcf observations already lie below ll, the additional observations needed from inside the median class are n2−cf\dfrac{n}{2}-cf.

Step 3. Under the uniform-spread assumption, the density inside this class is fh\dfrac{f}{h} observations per unit length. To accumulate (n2−cf)\left(\dfrac{n}{2}-cf\right) observations from ll, we need length xx with fhx=n2−cf\dfrac{f}{h}x = \dfrac{n}{2}-cf, so x=h(n/2−cff)x = h\left(\dfrac{n/2-cf}{f}\right).

Step 4. Since xx is measured from ll, Median=l+x=l+(n/2−cff)h\text{Median} = l+x = l+\left(\dfrac{n/2-cf}{f}\right)h — the stated formula.

Step 5. Verify against NCERT's Example 7 (heights of 5151 girls): median class 145145–150150, l=145l=145, cf=11cf=11, f=18f=18, h=5h=5, n/2=25.5n/2=25.5: x=5(14.518)≈4.03x = 5\left(\dfrac{14.5}{18}\right)\approx4.03, so Median≈149.03\text{Median}\approx149.03 cm, matching NCERT.

Worked examples

Board level - mean percentage of female teachers by all three methods (NCERT Example 2)

The table gives the percentage distribution of female teachers in rural primary schools across states and union territories: classes 1515–2525, 2525–3535, 3535–4545, 4545–5555, 5555–6565, 6565–7575, 7575–8585 with frequencies 6,11,7,4,4,2,16, 11, 7, 4, 4, 2, 1 respectively. Find the mean percentage by the direct, assumed mean, and step-deviation methods, and confirm they agree.

Step 1. Class marks: xi=20,30,40,50,60,70,80x_i = 20, 30, 40, 50, 60, 70, 80. Direct method: Σfixi=120+330+280+200+240+140+80=1390\Sigma f_i x_i = 120+330+280+200+240+140+80 = 1390, Σfi=35\Sigma f_i = 35, so xˉ=1390/35=39.71\bar{x} = 1390/35 = 39.71.

Step 2. Assumed mean method, a=50a = 50: di=−30,−20,−10,0,10,20,30d_i = -30,-20,-10,0,10,20,30, so fidi=−180,−220,−70,0,40,40,30f_id_i = -180,-220,-70,0,40,40,30, summing to Σfidi=−360\Sigma f_i d_i = -360. So xˉ=50+(−360)/35=39.71\bar{x} = 50 + (-360)/35 = 39.71.

Step 3. Step-deviation method, a=50a=50, h=10h=10: ui=−3,−2,−1,0,1,2,3u_i = -3,-2,-1,0,1,2,3, so fiui=−18,−22,−7,0,4,4,3f_iu_i = -18,-22,-7,0,4,4,3, summing to Σfiui=−36\Sigma f_i u_i = -36. So xˉ=50+10×(−36/35)=39.71\bar{x} = 50 + 10\times(-36/35) = 39.71.

Step 4. All three methods agree exactly, as the first derivation above guarantees for any aa and hh. Answer: the mean percentage of female teachers is 39.71%39.71\%, by all three methods.

Board level - mode and mean of examination marks compared (NCERT Examples 1, 3 and 6)

Using the grouped marks data from Table 13.3 (classes 1010–2525, 2525–4040, 4040–5555, 5555–7070, 7070–8585, 8585–100100 with frequencies 2,3,7,6,6,62, 3, 7, 6, 6, 6), find the mode of the data, and compare it with the mean.

Step 1. Identify the modal class. The highest frequency is 77, in class 4040–5555: l=40l=40, h=15h=15, f1=7f_1=7, f0=3f_0=3 (preceding class 2525–4040), f2=6f_2=6 (succeeding class 5555–7070).

Step 2. Apply the mode formula: Mode=40+(7−32(7)−3−6)15=40+(45)15=52\text{Mode} = 40 + \left(\dfrac{7-3}{2(7)-3-6}\right)15 = 40 + \left(\dfrac{4}{5}\right)15 = 52.

Step 3. Recall the mean by the direct method: class marks 17.5,32.5,47.5,62.5,77.5,92.517.5,32.5,47.5,62.5,77.5,92.5 give Σfixi=1860\Sigma f_ix_i = 1860, Σfi=30\Sigma f_i = 30, so xˉ=1860/30=62\bar{x} = 1860/30 = 62.

Step 4. Compare and interpret: the mode (5252) is noticeably less than the mean (6262) — a cluster of higher-scoring students pulls the mean above the modal value. "What mark did most students get" is answered by the mode; "what is the class average" by the mean. Answer: mode =52= 52, mean =62= 62; the two measures answer different questions about the same data.

Board HOTS / foundation JEE-NEET - recovering two missing frequencies from a given median (NCERT Example 8)

The median of the following distribution is 525525, and the total frequency is 100100. Classes 00–100,100100, 100–200,…,900200, \ldots, 900–10001000 have frequencies 2,5,x,12,17,20,y,9,7,42, 5, x, 12, 17, 20, y, 9, 7, 4 respectively (with xx in class 200200–300300 and yy in class 600600–700700). Find xx and yy.

Step 1. Use the total-frequency condition first: 2+5+x+12+17+20+y+9+7+4=76+x+y=1002+5+x+12+17+20+y+9+7+4 = 76+x+y = 100, so x+y=24x+y = 24. Call this equation (1).

Step 2. Build the cumulative frequency column in terms of xx: up to 100100: 77; up to 200200: 7+x7+x; up to 300300: 19+x19+x; up to 400400: 36+x36+x; up to 500500: 56+x56+x.

Step 3. Locate the median class: since 525525 lies between 500500 and 600600, that is the median class, so l=500l=500, f=20f=20, h=100h=100, and cfcf (cumulative frequency of the class before it) =36+x=36+x.

Step 4. Apply the median formula and solve: 525=500+(50−(36+x)20)100525 = 500 + \left(\dfrac{50 - (36+x)}{20}\right)100, so 25=(14−x)×525 = (14-x)\times 5, giving x=9x = 9.

Step 5. Substitute into equation (1): 9+y=249 + y = 24, so y=15y = 15. Answer: x=9x = 9 and y=15y = 15. Timing note: aim for under five minutes. The two unknowns need two equations — the total-frequency condition and the median formula — both must be used. The common slip is the cumulative frequency of the median class's preceding class: it must include xx (an earlier class) but never yy (the later class 600600–700700); mixing this up produces a wrong equation in Step 4.

Common traps

  • Using the class limit instead of the class mark. The mean formula needs xix_i, the midpoint of each class, not its upper or lower limit.
  • Believing the choice of assumed mean aa changes the answer. It never does; a poor aa only makes the arithmetic heavier, never the final mean wrong.
  • Forgetting to multiply back by hh in the step-deviation method. Leaving out the final ×h\times h in xˉ=a+h(Σfiui/Σfi)\bar{x} = a + h(\Sigma f_iu_i/\Sigma f_i) gives a number close to, but not equal to, the correct mean.
  • Mixing up f0f_0 and f2f_2 in the mode formula. f0f_0 is always the frequency of the class preceding the modal class, and f2f_2 the class succeeding it — swapping them gives a wildly different mode.
  • Reading cfcf as the cumulative frequency of the median class itself. It is the cumulative frequency of the class immediately before the median class.
  • Choosing the wrong median class. It is the first class whose cumulative frequency is greater than or equal to n/2n/2 — not the class with the largest frequency (that is the modal class, an entirely different idea).
  • Applying the mode or median formula to inclusive (gapped) class intervals. Both assume continuous classes; intervals like 118118–126126, 127127–135135 must first be converted to continuous form (117.5117.5–126.5126.5, and so on).
  • Treating the grouped mean as an exact value. It is a controlled approximation from the midpoint assumption; the true ungrouped mean can differ slightly, as Example 1's 59.359.3 versus 6262 shows.

You should be able to…

  • Convert a raw list of observations into a grouped frequency distribution table and identify each class's class mark.
  • Compute the mean of grouped data by the direct method, and cross-check it using the assumed mean or step-deviation method.
  • Choose a sensible assumed mean aa and use the class size hh as the step-deviation divisor to minimise arithmetic.
  • Identify the modal class of a grouped distribution and apply the mode formula correctly, keeping f0f_0, f1f_1, f2f_2 straight.
  • Build a cumulative frequency table, of either the "less than" or "more than" type.
  • Identify the median class using n/2n/2 and the cumulative frequency column, and apply the median formula.
  • Convert inclusive class intervals into continuous class intervals before applying the mode or median formula.
  • Use 3 Median=Mode+2 Mean3\,\text{Median} = \text{Mode} + 2\,\text{Mean} to estimate an unknown measure from the other two.
  • Interpret which of the mean, median or mode is the most appropriate measure for a given real-world question.

Ask the tutor: if you are unsure which method to use for a mean, how to pick f0f_0 and f2f_2 for the mode, or how to build a cumulative frequency table for your own data set, ask the tutor to work through it with you step by step.

Why is the grouped mean 62 different from the exact ungrouped mean 59.3 for the very same marks data?

The grouped mean is a controlled approximation, not an error. When raw marks are bucketed into class intervals, the exact individual values are discarded and every observation in a class is assumed to sit at that class's midpoint. This assumption is not exactly true for any real class, so the grouped mean shifts slightly from the true mean computed from the raw list. The gap between 59.359.3 and 6262 is the price paid for condensing thirty individual numbers into a six-row table; it shrinks further as the class width hh is made smaller, giving the midpoint assumption less room to be wrong.

Does it matter which class mark I choose as the assumed mean a in the assumed mean method?

No — the final computed mean comes out identical no matter which value you pick for aa, as the algebra in the first derivation shows: the aa terms cancel out exactly, leaving only Σfidi/Σfi\Sigma f_id_i/\Sigma f_i to add back. What does change with a poor choice is how much arithmetic you do. Picking aa close to the centre of the data keeps the deviations did_i small and balanced between positive and negative, which keeps the running sums manageable by hand.

My class intervals have gaps, like 118 to 126 then 127 to 135 — what do I do before finding the mode or median?

Convert the intervals to continuous form first, because both formulas assume unbroken class boundaries. Take half the gap between one class's upper limit and the next class's lower limit — here the gap is 127−126=1127-126=1, so half is 0.50.5 — and subtract it from every lower limit while adding it to every upper limit. So 118118–126126 becomes 117.5117.5–126.5126.5, 127127–135135 becomes 126.5126.5–135.5135.5, and so on down the table. This does not change which observations belong to which class; it only removes the gap so that ll, hh, and the cumulative frequencies behave correctly inside the formulas.

How do I decide whether to report the mean, median or mode for a given data set?

Use the mean when every observation should count and you want an overall average — but it is pulled toward any unusually large or small class. Use the median when you want a "typical" value that is not distorted by a few extreme classes, such as a typical wage. Use the mode when the question is really about the single most common or popular value, such as the most frequently sold shirt size. All three are valid summaries of the same data; the right one depends on which question you are actually being asked.

Before this

Where this leads