2.7.1Statistics & Probability — Intermediate

Measures of central tendency — mean (grouped - ungrouped), median (grouped), mode (grouped)

2,262 words10 min readdifficulty · medium4 backlinks

1. Mean (average)

1.1 Ungrouped mean — derive it

WHAT: We want the "fair share". If total is SS and we split it equally among nn people: xˉ=Sn=xin\bar{x} = \frac{S}{n} = \frac{\sum x_i}{n}

WHY this is the balance point: The mean is the value mm that makes the deviations cancel: (xim)=0    xinm=0    m=xin\sum (x_i - m) = 0 \;\Rightarrow\; \sum x_i - nm = 0 \;\Rightarrow\; m = \frac{\sum x_i}{n} Why this step? Setting total deviation to zero is the definition of a balance point — pushes above equal pulls below.

1.2 Grouped mean (frequency data)

When data is in classes, each class has a midpoint xix_i (assume every value in that class ≈ its midpoint) and a frequency fif_i.


2. Median (the middle)

2.1 Ungrouped median

Order the data. Then:

  • If nn is odd: median = the (n+12)th\left(\frac{n+1}{2}\right)^\text{th} value.
  • If nn is even: median = mean of the n2th\frac{n}{2}^\text{th} and (n2+1)th\left(\frac{n}{2}+1\right)^\text{th} values.

2.2 Grouped median — derive it

We can't see individual values, so we find where the middle person lands using cumulative frequency (cf).

Derivation (linear interpolation), WHY every piece: We need the position of the n2\frac{n}{2}-th item. Before the median class, cfcf items are already used up. We still need n2cf\frac{n}{2} - cf more items. Assume the ff items in the median class are spread evenly across its width hh. So each item occupies hf\frac{h}{f} of width. To reach (n2cf)\left(\frac{n}{2}-cf\right) items into the class we move: (n2cf)×hf\left(\frac{n}{2}-cf\right)\times\frac{h}{f} past the lower boundary ll. Add to ll → done.


3. Mode (the peak)

3.1 Grouped mode — derive it

The modal class = class with highest frequency f1f_1. But the true peak may lie left or right of centre depending on the neighbouring classes.

Derivation intuition, WHY: Look at how much the peak rises above the class before it, (f1f0)(f_1 - f_0), vs the total "excess" over both neighbours, (f1f0)+(f1f2)=2f1f0f2(f_1-f_0)+(f_1-f_2) = 2f_1-f_0-f_2. The fraction tells us how far into the modal class the true peak sits. If the class before is heavier, the mode leans left; if the class after is heavier, it leans right. Multiply by width hh, add to ll.

Figure — Measures of central tendency — mean (grouped - ungrouped), median (grouped), mode (grouped)

4. Worked Examples


5. Common Mistakes


6. Flashcards

What is the mean the balance point of?
The point where total deviation (xim)=0\sum(x_i-m)=0; pulls above and below cancel.
Grouped mean direct formula?
xˉ=fixifi\bar{x}=\dfrac{\sum f_i x_i}{\sum f_i} using class midpoints.
Step-deviation mean formula and what is uiu_i?
xˉ=a+hfiuifi\bar{x}=a+h\dfrac{\sum f_i u_i}{\sum f_i}, where ui=xiahu_i=\dfrac{x_i-a}{h}.
Grouped median formula?
l+(n/2cff)hl+\left(\dfrac{n/2-cf}{f}\right)h.
In the median formula, what is cfcf?
Cumulative frequency of the class before the median class.
How do you identify the median class?
First class whose cumulative frequency n/2\ge n/2.
Grouped mode formula?
l+(f1f02f1f0f2)hl+\left(\dfrac{f_1-f_0}{2f_1-f_0-f_2}\right)h.
What are f0,f1,f2f_0,f_1,f_2 in mode?
f1f_1=modal class freq, f0f_0=preceding class freq, f2f_2=following class freq.
Empirical relation between the three?
Mode 3\approx 3\,Median2-2\,Mean.
Which measure is most affected by extreme values?
The mean (median and mode ignore outliers).
Median of even nn data?
Average of the (n/2)(n/2)-th and (n/2+1)(n/2+1)-th ordered values.
Why use assumed-mean method?
Same mean, but smaller deviation numbers make arithmetic easier.

Recall Feynman: explain to a 12-year-old

Imagine a bunch of kids holding different numbers of candies.

  • Mean: dump ALL candies in one pile and share equally — that equal share is the mean.
  • Median: line the kids up from fewest to most candies; the kid standing exactly in the middle — that's the median.
  • Mode: the candy-count that the MOST kids happen to have — that's the mode. When candies are given in groups ("5 to 10 candies"), we can't see each kid, so we pretend everyone in a group has the middle amount, and we slide along the crowded group to guess where the middle kid or the peak really is. That sliding is the little formula with ll, ff, hh.

Connections

Concept Map

type of

type of

type of

ungrouped

grouped direct

simplify with guess a

divide by width h

grouped uses

locate n/2 person

sensitive to

ignores

depends only on

Central Tendency: one summary number

Mean = balance point

Median = middle value

Mode = most frequent

sum xi over n

sum fi xi over sum fi

Assumed-mean method

Step-deviation ui

Cumulative frequency

l plus n/2 minus cf over f times h

Extreme values

Frequency

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Central tendency ka matlab hai: poore data ko ek hi number se represent karna. Teen main measures hote hain — mean (average, yaani sab jod ke count se divide), median (bilkul beech wala value jab data sort kiya ho), aur mode (jo value sabse zyada baar aaye). Har ek alag kahani batata hai: mean ko extreme values (outliers) kheench lete hain, median unhe ignore karta hai, aur mode sirf frequency dekhta hai.

Jab data grouped hota hai (jaise 20–30, 30–40 wale classes), tab humein individual values nahi dikhti. Isliye hum maan lete hain ki har class ke sab values uske midpoint ke barabar hain — isse mean nikalte hain: xˉ=fixifi\bar{x}=\frac{\sum f_i x_i}{\sum f_i}. Numbers chhote karne ke liye step-deviation trick use karo (ui=xiahu_i=\frac{x_i-a}{h}) — answer wahi aata hai, bas arithmetic aasaan ho jaata hai.

Median ke liye pehle n/2n/2 nikaalo, phir cumulative frequency dekh ke wo class dhoondo jahan cf pehli baar n/2n/2 tak pahunchti hai — wahi median class. Formula l+n/2cff×hl+\frac{n/2-cf}{f}\times h basically linear interpolation hai: us class ke andar kitne items aur chahiye, unhe evenly spread maan ke slide karte hain. Mode me sabse zyada frequency wali class lo aur dono padosi classes (f0,f2f_0,f_2) se compare karke peak ka exact position nikaalo.

Yaad rakho — hamesha class boundaries use karo (limits nahi), median ke liye data sort karo, aur mode ke liye individual frequency dekho, cumulative nahi. Exam me yeh choti si galtiyan hi marks kha jaati hain!

Go deeper — visual, from zero

Test yourself — Statistics & Probability — Intermediate

Connections