Chapter objective
Know how to calculate and interpret the arithmetic mean, median, and mode for a quantitative statistical variable, whether discrete (simple or weighted series) or continuous (series grouped into classes).
Lesson
The Arithmetic Mean (x̄)
The mean is the sum of all values divided by the total number of observations. It is sensitive to extreme values.
- Simple series: x̄ = (Σxᵢ) / n
- Weighted series: x̄ = (Σnᵢxᵢ) / Σnᵢ. nᵢ is the frequency (or weight) of the value xᵢ.
- Grouped series (by classes): x̄ = (Σnᵢcᵢ) / Σnᵢ. cᵢ is the class mark (midpoint) of each class, calculated as (lower limit + upper limit) / 2.
The Median (Me)
The median is the value that splits an ordered statistical series into two groups of equal size. 50% of the observations are below it and 50% are above it. It is not sensitive to extreme values.
- For a simple series: Order the values. If the total frequency N is odd, Me is the value at rank (N+1)/2. If N is even, Me is the half-sum of the values at ranks N/2 and N/2 + 1.
- For a grouped series (in classes): 1. Determine the median rank (N/2). 2. Identify the median class using cumulative ascending frequencies. 3. Calculate the exact value by linear interpolation: Me = Lᵢ + [ (N/2 - Fᵢ₋₁) / fₘₑ ] * a, where Lᵢ is the lower limit of the median class, Fᵢ₋₁ is the cumulative frequency of the preceding class, fₘₑ is the frequency of the median class, and 'a' is its class width (amplitude).
The Mode (Mo)
The mode (or dominant value) is the value of the variable that has the highest frequency. A series can be unimodal, bimodal, or multimodal.
- Simple/weighted series: The mode is the value xᵢ with the highest frequency nᵢ.
- Grouped series (in classes): The modal class is the interval with the highest frequency. The mode can be approximated by the midpoint of this class.
Example
Consider the distribution of daily wages (in DH) of a sample of 20 workers: [50;100[ (frequency: 4), [100;150[ (8), [150;200[ (5), [200;250[ (3)]. - **Mean (x̄)**: We use the class midpoints (75, 125, 175, 225). x̄ = (4×75 + 8×125 + 5×175 + 3×225) / 20 = 2850 / 20 = 142,5 DH. The average wage is 142,5 DH. - **Median (Me)**: The total frequency N=20, so the rank is N/2=10. The median class is [100 ; 150[ (since the cumulative frequency goes from 4 to 12). By linear interpolation: Me = 100 + [ (10 - 4) / 8 ] × 50 = 137,5 DH. Half of the workers earn less than 137,5 DH. - **Mode (Mo)**: The modal class is [100 ; 150[ since it has the highest frequency (8). The most frequent wage range is therefore between 100 and 150 DH.
Key points
- The mean is the center of gravity of the series, sensitive to extreme values.
- The median divides the series into two equal parts; it is robust against extreme values.
- The mode is the most frequent value.
- For grouped series (in classes), we use the class midpoints for the mean and linear interpolation for the median.
Common mistakes
- Calculating the mean of a grouped series without using the class midpoints.
- Confusing the median rank (e.g., N/2) with the value of the median itself.
- Making an error in the linear interpolation formula for the median (e.g., wrong limit, wrong cumulative frequency).
Exercises
- A student obtained the following grades: 12 (coeff 3), 15 (coeff 2), 9 (coeff 3). Calculate their weighted average.
- Given the wage series: 9000 DH, 11000 DH, 8000 DH, 25000 DH, 10000 DH. Determine the median and comment on its relevance compared to the mean.
- Using the table from the example, recalculate the mean and the median if the frequency of the last class [200;250[ becomes 6 instead of 3 (N=23).
Quiz
Exam preparation
This chapter is fundamental. It is almost systematically tested in the statistics section of the 'examen national' (the Moroccan national baccalaureate exam). You must fully master the calculation and interpretation of these three parameters for both discrete and continuous (grouped) series.
Frequently asked questions
What is the difference in interpretation between the mean and the median?
The mean represents the value each individual would have if the total were distributed equally. The median represents the value of the 'central' individual, separating the population into two equal halves.
When should the mean be used instead of the median?
The mean is ideal for symmetric distributions without extreme outliers. The median is preferred for skewed distributions (such as wages or wealth) because it is not distorted by these extreme values.
Still struggling with this chapter?
Send us your question: a teacher will answer and suggest the right support (group or private lessons).