Track 2 · Describing Data · Lesson 3 of 11
Weighted and geometric means
Calculate weighted means and geometric means, and decide when each one — rather than the ordinary mean — answers the question.
A fund gains 50% one year and loses 50% the next. Its “average return” is 0%, yet an investor who put in 10 000 SAR now holds 7 500 SAR. Averages of rates and of values that count unequally need the right kind of mean.
The ordinary (arithmetic) mean treats every value as equally important and combines them by adding. Two common situations break one of those assumptions:
- the values do not count equally — an exam worth 50% of a grade, a purchase of 400 units against one of 50 → use a weighted mean;
- the values combine by multiplying — growth rates and returns compound year on year → use a geometric mean of growth factors.
- the -th value (a score, a price, a return)
- its weight: how much it counts (a percentage of the grade, a quantity, an amount invested); weights are non-negative
- the total weight; when the weights are percentages that add to 100%, dividing by it is the same as multiplying by the weights as decimals
Worked example
A weighted course grade
A trainee scores 80 on coursework (worth 20%), 65 on the midterm (30%) and 90 on the final exam (50%). What is the course grade?
Multiply each score by its weight: , , .
Add and divide by the total weight (): .
Compare with the unweighted mean . The final exam counts most and was the best score, so the weighted grade is higher.
The course grade is 80.5.
Growth compounds. If sales grow 10% one year and 20% the next, they are multiplied by — a 32% rise, not 30%. Because growth multiplies, the right average is the constant rate which, applied every period, gives the same end result. That is the geometric mean of the growth factors .
- “the product of”: multiply all the terms together
- positive values (the geometric mean is defined only for values greater than 0)
- the growth rate or return in period as a decimal ( for a 20% fall), so is the growth factor ()
- the average (compound) growth rate per period
Worked example
Three years of revenue growth
A company's revenue changed by +10%, −20% and +15% over three years. What is its average annual growth rate?
Convert rates to growth factors: 1.10, 0.80, 1.15. (A rate of −20% becomes the factor 0.80 — never feed the negative rate itself into a geometric mean.)
Multiply: , so revenue ended 1.2% above where it started.
Take the -th root: , then subtract 1: , about 0.40% a year.
Check: ✓. The arithmetic mean of the rates, , would claim four times as much growth: , a 5.1% rise that never happened.
Average growth ≈ 0.40% per year. The arithmetic mean of the rates (1.67%) overstates it.
Dataset
Daily returns of three funds
750 rows · one row = one trading day · synthetic data
| Date | Income fund return (%) | Balanced fund return (%) | Growth fund return (%) |
|---|---|---|---|
| 2022-01-02 | 0.127 | -0.19 | 0.935 |
| 2022-01-03 | 0.145 | 0.287 | 2.042 |
| 2022-01-04 | -0.097 | -0.218 | -0.934 |
| 2022-01-05 | 0.004 | -0.305 | 0.727 |
| 2022-01-06 | 0.295 | 0.228 | -0.136 |
| 2022-01-09 | -0.199 | -0.216 | -0.017 |
Daily returns, in percent, of three (synthetic) funds over 750 trading days. A value of −0.5 means the fund lost 0.5% that day: growth factor 0.995.
The gap matters even with tiny daily numbers. In this dataset the balanced fund's arithmetic mean daily return is slightly positive (about +0.0014% a day), yet compounding its 750 daily growth factors leaves the investor about 0.09% down: its geometric mean daily return is slightly negative (about −0.0001% a day). Volatility turned a positive average into a loss.
Quick check
Over two years a salary rises by 4% and then by 6%. Which is the average annual rise?
Exercises
The lesson is complete when every exercise is answered correctly. Hints are free; viewing a worked solution before solving means the exercise won't count towards mastery.
0 of 8 exercises correct (not saved — sign in to keep your progress)
Exercise 1 · Guided, difficulty 1 of 3
Weighted course grade
A professional certificate is graded on coursework (worth 20%), a midterm test (30%) and a final exam (50%). A candidate scores 59 on coursework, 75 on the midterm and 86 on the final.
What is the candidate's overall grade? Give it to 1 decimal place.
Exercise 2 · Practice, difficulty 2 of 3
Average price paid per unit
A hospital's procurement team bought the same disposable item in four orders:
| Order | Units | Price per unit (SAR) |
|---|---|---|
| 1 | 87 | 15.74 |
| 2 | 219 | 14.58 |
| 3 | 42 | 14.82 |
| 4 | 279 | 14.13 |
What was the average price paid per unit across all four orders? Give it in SAR to 2 decimal places.
Exercise 3 · Practice, difficulty 2 of 3
Average annual growth
A logistics company's shipment volume changed by +6%, +4%, +20%, −8% in four consecutive years.
What was the average annual growth rate over the four years? Give it as a percentage to 2 decimal places (negative if volume fell on average).
Exercise 4 · Practice, difficulty 2 of 3
Build the growth-rate formula
A value grows from a starting level to a final level over years. Write an expression for the average annual growth rate (as a decimal, so 0.05 means 5%) in terms of V0, Vn and n.
Exercise 5 · Application, difficulty 3 of 3
Daily returns of the growth fund
The column growth_fund in asset_returns holds 750 daily returns in percent. Calculate (a) the arithmetic mean daily return, (b) the geometric mean daily return (from the growth factors ), both in percent to 4 decimal places, and (c) the total change in value over the whole period, in percent to 2 decimal places.
Data: asset_returns · Open in the lab to explore and calculate.
Exercise 6 · Practice, difficulty 2 of 3
Which mean?
For each question, choose the kind of mean that answers it.
Exercise 7 · Interpretation, difficulty 2 of 3
The advertised average return
A fund's annual returns over four years were +30%, −20%, +25% and −15%. Its brochure states: “Average annual return: 5%.” What is the most accurate comment?
Exercise 8 · Interpretation, difficulty 3 of 3
Positive average, negative result
In the asset_returns dataset the balanced fund's arithmetic mean daily return is slightly positive, yet an investor who held it for all 750 days ended slightly down. In two or three sentences, explain how both can be true.
What you can now do
- Calculate a weighted mean and recognise when values count unequally
- Average growth rates with the geometric mean of growth factors 1 + r
- Explain why volatile returns make the arithmetic mean overstate compound growth
- Choose between the arithmetic, weighted and geometric mean for a question