Learning Objectives

By the end of this chapter, you will compute the mean for individual, discrete, and grouped data, compute a weighted mean, find the median for ungrouped and grouped data, locate the mode, and choose the right measure for a given administrative distribution.

What Central Tendency Does

A measure of central tendency collapses a distribution into one representative value. Public administration needs that single number daily. A mayor quotes typical wait time. A ministry cites average monthly applications per ward. A budget note gives the representative salary scale in NPR.

The choice matters. A few extreme observations pull the mean away from what most cases experience. One large contract, one wealthy household, one 90 minute complaint delay can lift $\bar{x}$ above the bulk of the data. Where skew is expected, the median earns its keep.

Three measures form the core. Mean uses every value. Median uses order. Mode uses frequency.

The Arithmetic Mean

The mean is the sum divided by count.

\[\bar{x} = \frac{\sum x_i}{n} = \frac{x_1 + x_2 + \dots + x_n}{n}\]

Mean for Individual Data

Example 1: Salaries of 8 officers in NPR thousand: 45, 52, 48, 55, 50, 47, 53, 50.

\(\sum x = 45+52+48+55+50+47+53+50 = 400\) \(n = 8\) \(\bar{x} = \frac{400}{8} = 50\)

Mean salary is NPR 50,000. Every officer counts equally. One high value would raise this figure even though most officers earn near 50.

Mean for Discrete Frequency Data

When a value $x$ appears $f$ times,

\[\bar{x} = \frac{\sum fx}{\sum f} = \frac{\sum fx}{n}\]

Example 2: Number of training programs attended by 50 employees.

Programs $x$ Frequency $f$ $fx$
0 5 0
1 12 12
2 18 36
3 10 30
4 5 20
Total 50 98
\[\bar{x} = \frac{98}{50} = 1.96\]

About two programs per employee. The discrete formula avoids expanding the raw list.

Mean for Grouped Continuous Data

Grouped data shows classes. Replace each class by its midpoint $m$, where $m = \frac{\text{lower}+\text{upper}}{2}$.

\[\bar{x} = \frac{\sum fm}{\sum f}\]

Example 3: Monthly income of 80 employees in NPR thousand.

Class $f$ $m$ $fm$
20 to 30 8 25 200
30 to 40 15 35 525
40 to 50 25 45 1125
50 to 60 18 55 990
60 to 70 10 65 650
70 to 80 4 75 300
Total 80   3790
\[\bar{x} = \frac{3790}{80} = 47.375\]

Mean monthly income is about NPR 47,375. Grouped computation assumes values spread evenly within classes, so the result is an estimate, not an exact mean of raw salaries.

Weighted Mean

Some items matter more than others. Performance appraisal, price indices, and GPA all weight components.

\[\bar{x}_w = \frac{\sum wx}{\sum w}\]

Use it when weights differ. Use the simple mean when they do not.

Example 4: Department performance by area.

Area Score $x$ Weight $w$ $wx$
Work quality 85 3 255
Punctuality 90 2 180
Teamwork 75 2 150
Initiative 80 1 80
Communication 78 2 156
Total   10 821
\[\bar{x}_w = \frac{821}{10} = 82.1\]

Simple mean would give 81.6 and underweight work quality. The weighted mean respects the policy that quality counts more.

Median: The Middle Position

The median is the middle value after ordering. It splits the distribution in half. It resists extremes.

For ungrouped data, sort first. Then locate position $\frac{n+1}{2}$. If $n$ is odd, take that value. If $n$ is even, average the two middle values.

Example 5 (odd $n$): Efficiency scores 72, 85, 68, 91, 76, 80, 74. Sorted 68, 72, 74, 76, 80, 85, 91. $n=7$, position $(7+1)/2 = 4$. Median is 76.

Example 6 (even $n$): 45, 52, 38, 61, 55, 49, 58, 42. Sorted 38, 42, 45, 49, 52, 55, 58, 61. Position 4.5. Median $= (49+52)/2 = 50.5$.

For grouped data, the median formula uses cumulative frequency.

\[\text{Median} = L + \left(\frac{\frac{n}{2} - cf}{f}\right) \times h\]

$L$ is lower boundary of median class, $n$ total frequency, $cf$ cumulative frequency before that class, $f$ frequency in the class, $h$ class width.

Example 7: Salary distribution with $n=60$.

Class NPR thousand $f$ $cf$
20 to 30 5 5
30 to 40 10 15
40 to 50 20 35
50 to 60 15 50
60 to 70 10 60

$n/2 = 30$. Cumulative frequency crosses 30 in class 40 to 50. So $L=40$, $cf=15$, $f=20$, $h=10$.

\[\text{Median} = 40 + \frac{30-15}{20}\times 10 = 40 + 7.5 = 47.5\]

Median salary is NPR 47,500. Notice it is close to the grouped mean 47.375 here because the distribution is fairly symmetric.

Mode: The Most Frequent Value

The mode is the value with highest frequency. A dataset can have one mode, two modes, or none. It is the only valid center for nominal data.

Example 8: Values 5, 7, 8, 5, 9, 5, 10, 7, 5, 8. Count: 5 appears four times. Mode is 5.

For grouped data, the modal class holds the peak frequency. The estimate is

\[\text{Mode} = L + \left(\frac{f_1 - f_0}{2f_1 - f_0 - f_2}\right) \times h\]

$f_1$ is frequency of modal class, $f_0$ before it, $f_2$ after it.

Example 9: Age of employees.

Age $f$
20 to 25 5
25 to 30 12
30 to 35 28
35 to 40 20
40 to 45 10
45 to 50 5

Modal class is 30 to 35 with $f_1=28$, $f_0=12$, $f_2=20$, $L=30$, $h=5$.

\[\text{Mode}=30+\frac{28-12}{56-12-20}\times 5 =30+\frac{16}{24}\times 5 =33.33\]

Peak age is about 33.3 years.

How Mean, Median, and Mode Relate

In a symmetric distribution, $\text{Mean}=\text{Median}=\text{Mode}$. Skew breaks that equality. In a right skewed distribution such as income or wait time, $\text{Mode}<\text{Median}<\text{Mean}$. In a left skewed distribution, the order reverses.

For moderately skewed data, Karl Pearson’s empirical relation helps check plausibility.

\[\text{Mode} \approx 3\times\text{Median} - 2\times\text{Mean}\]

Use it as a diagnostic, not as a substitute for calculation when raw or grouped frequencies are available.

When to Use Which

Use the mean for symmetric, interval or ratio data when you need algebraic properties and further computation. Prefer the median for skewed data such as household income, landholding, or service times where outliers would move the mean away from the typical case. Use the mode for the most common category or peak group, such as the most frequent complaint type or service channel. For open ended classes where the last interval has no upper bound, the mean cannot be computed precisely. The median and mode remain feasible.

Worked Example: Ward Service Time in BS 2081

Context: Waling Municipality reports to the Ministry of Federal Affairs on citizen charter compliance in BS 2081. The deputy mayor asks for the typical time to issue a recommendation letter.

Data: The ward office sampled $n=120$ services in Kartik 2081. Raw wait times in minutes show right skew: many cases 8 to 14 minutes, a few at 45, 58, and 72 minutes where documents were incomplete. Budget data for the same period shows overtime spend NPR 185,000 across wards.

Grouped summary published in the Palika report:

Wait time minutes $f$ $m$ $fm$
5 to 10 18 7.5 135
10 to 15 42 12.5 525
15 to 20 28 17.5 490
20 to 30 20 25 500
30 to 50 8 40 320
50 to 80 4 65 260
Total 120   2230
\[\bar{x}=\frac{2230}{120}=18.58\text{ minutes}\]

Median class: $n/2=60$. Cumulative frequencies 18, 60, 88, 108, 116, 120. The 60th observation sits at the boundary of 10 to 15 and 15 to 20. Using the standard rule, median class is 15 to 20 with $L=15$, $cf=60$, $f=28$, $h=5$.

\[\text{Median}=15+\frac{60-60}{28}\times 5=15.0\text{ minutes}\]

Modal class is 10 to 15 with $f_1=42$, $f_0=18$, $f_2=28$, $L=10$, $h=5$.

\[\text{Mode}=10+\frac{42-18}{84-18-28}\times 5=10+\frac{24}{38}\times 5\approx 13.16\text{ minutes}\]

Interpretation for policy: The mean of 18.6 minutes sits well above the median of 15 minutes because four long delays inflate it. The charter should quote the median or mode as typical and target the long tail separately by fixing document checklists. A memo that cites only the mean would mislead the ministry into thinking the normal case is slower than it is.

Self-check

Try this (calculable): A ward office logged recommendation service times in minutes: 7, 12, 9, 11, 45, 10, 13. Compute mean, median, and mode. Then compute a 10 percent trimmed mean by dropping the highest and lowest values and averaging the rest. Which center best reflects the typical citizen experience?

Answer: Sorted 7, 9, 10, 11, 12, 13, 45. $\bar{x}=(7+12+9+11+45+10+13)/7=107/7\approx 15.29$ minutes. Median is the 4th value $=11$ minutes. No repeated value, so no mode. Trimmed set drop 7 and 45, remaining 9, 10, 11, 12, 13 gives $(55)/5=11.0$ minutes. The median and trimmed mean at about 11 minutes describe the typical case. The full mean at 15.3 minutes is pulled up by the single 45 minute delay.

Check: recompute if the delay were 25 instead of 45. How much does the mean move versus the median?

Summary

Central tendency reduces a distribution to one number. The mean, $\bar{x}=\sum x/n$ or $\bar{x}=\sum fm/n$, uses every observation and suits symmetric data and further algebra. The weighted mean, $\bar{x}_w=\sum wx/\sum w$, respects differing importance. The median is the ordered middle, $L+((n/2-cf)/f)\times h$ for grouped data, and resists skew. The mode is the most frequent value, $L+((f_1-f_0)/(2f_1-f_0-f_2))\times h$ for grouped data, and suits peaks and categories. Skew and outliers decide which center tells the truth.

Key Takeaways

  • $\bar{x}=\sum x/n$ for individual data. $\bar{x}=\sum fx/\sum f$ for discrete data. $\bar{x}=\sum fm/\sum f$ for grouped data with midpoint $m$.
  • $\bar{x}_w=\sum wx/\sum w$ applies when weights encode policy importance. Weight choice must be defensible.
  • Median position is $(n+1)/2$ after sorting. Grouped median uses $L+((n/2-cf)/f)\times h$. It tolerates open ended classes and outliers.
  • Mode is frequency based. Grouped mode uses $L+((f_1-f_0)/(2f_1-f_0-f_2))\times h$.
  • In right skew, mean exceeds median which exceeds mode. Use median for income, wealth, and wait times. Use mode for nominal peaks.

Discussion

  • A Palika reports mean wait time 18.6 minutes while the median is 15 minutes. Which figure would you put in the citizen charter and how would you explain the gap to the mayor?
  • When does a weighted mean hide more than it reveals? Give an example where weights themselves need justification in a performance appraisal.
  • Class width and open ended final classes distort grouped means. How would you handle a last class such as 50 to 80 minutes versus an open class of 50 and above?

Exercises

  1. Data: 15, 18, 22, 18, 25, 18, 30, 28, 22. Find mean, median, and mode. Check the empirical relation $\text{Mode}\approx 3\text{Median}-2\text{Mean}$.
  2. Weekly wages in NPR for 75 workers: 100 to 200 ($f=8$), 200 to 300 (14), 300 to 400 (23), 400 to 500 (20), 500 to 600 (10). Find grouped mean and median. Midpoint check: verify $\bar{x}\approx 363.33$ and median $\approx 367.39$.
  3. Performance criteria: Technical 88 with weight 0.40, Leadership 75 with 0.35, Communication 82 with 0.25. Compute $\bar{x}_w$. What simple mean would you get if you ignored weights?
  4. A ministry reports average salary NPR 62,000 but the median is NPR 48,000. Diagnose the distribution shape and advise which figure to cite for equity analysis.
  5. Explain in two sentences why you must sort before finding the median and why the mode can be meaningless for continuous ratio data without grouping.