Updated · By Pete Bromfield, former Head of Maths with IB examining experience

IA idea · Statistics & hypothesis testing

Does money buy a longer life? GDP and life expectancy

AI SLAI HLAA SLAA HL Solid Also in: Health & biology, Finance, Modelling

Research question

Is life expectancy better modelled as a linear or logarithmic function of GDP per person across countries, and has the relationship shifted between 1990 and today?

Make it yours, then agree it with your teacher.

Next step: plan this IA free — the planner opens with this question filled in. For feedback on your own draft, the IA package (€39 once) gives you 5 AI feedback credits and every annotated exemplar in full.

Why it makes a good exploration

The Preston curve shows that extra income helps a lot in poor countries and much less in rich ones — a logarithmic relationship. Testing it with current data, and seeing how it has moved over 30 years, is a rich statistics and modelling question.

The mathematics you'll need

  • Linear and logarithmic models
  • Transforming the x-variable with logarithms
  • Correlation and coefficient of determination
  • Comparing fitted parameters between years

Where the data comes from

Download GDP per capita (PPP) and life expectancy for all countries for two years from Gapminder, the World Bank or Our World in Data.

  • Gapminder data — Long-run indicators (income, life expectancy, child mortality) — free to reuse with attribution.
  • World Bank Open Data — Development indicators (GDP, life expectancy, mortality, internet use) for every country, usually from 1960.

Real data for this idea

  1. Primary source: World Bank Open Data: Life expectancy at birth (SP.DYN.LE00.IN). Download the CSV and take one year for every country. Licence: CC BY 4.0 for most datasets (the World Bank's licence page lists any exceptions).
  2. Also useful: World Bank Open Data: GDP per capita, PPP (NY.GDP.PCAP.PP.CD). Take the same year as your life-expectancy column and match countries by their three-letter code.
  3. Also useful: Gapminder data. Long-run income and life-expectancy series, useful for years before the World Bank's 1960 start. Licence: CC BY 4.0.
  4. Readable chart: Our World in Data: Life expectancy vs. GDP per capita. Use it to see the pattern; download your numbers from the primary source or the chart's own download. Cite as: Our World in Data, ‘Life expectancy vs. GDP per capita’, CC BY 4.0. Original source: UN World Population Prospects (2024) and others; Bolt and van Zanden, Maddison Project Database 2023.
  5. Optional tool: Gapminder Tools. Explore the relationship first; cite the World Bank data you download. Explore only; cite the underlying data.

Links checked October 2026; we link to the data and never copy it. More free data sets.

A possible outline

  1. Explain the data definitions (PPP, period life expectancy).
  2. Plot life expectancy against GDP and against ln(GDP).
  3. Fit both models and compare.
  4. Repeat for 1990 and compare the curves.
  5. Reflect on outliers and what the model says about causation.

Pitfalls that cost marks

  • Treating each country as equal weight without comment.
  • Ignoring missing data.
  • Claiming GDP causes life expectancy.

Showing personal engagement

  • Locate your own country and explain its residual.
  • Investigate an outlier country in detail.
  • Discuss what the flattening means for policy.

See Criterion C: personal engagement for what examiners look for.

Which course is it for?

CourseFitMaths to lean on
AA SLGood fitLinear and logarithmic models; Transforming the x-variable with logarithms
AA HLGood fitLinear and logarithmic models; Transforming the x-variable with logarithms
AI SLGood fitLinear and logarithmic models; Transforming the x-variable with logarithms
AI HLGood fitLinear and logarithmic models; Transforming the x-variable with logarithms

Level: Solid. Needs some independent work beyond class examples. See how the IA differs between AA and AI, SL and HL.

How this idea reaches the top bands

Reflection (D)

For this idea, start with the weak points: treating each country as equal weight without comment; and ignoring missing data. Say how each one affects your answer.

Use of mathematics (E)

SL: linear and logarithmic models; transforming the x-variable with logarithms; correlation and coefficient of determination; comparing fitted parameters between years, each explained in your own words and carried out correctly.

How statistics explorations reach the top bands in general: Statistics & hypothesis testing IA ideas. Guides: A · B · C · D · E · self-grade sheet.

Taking it further

Weight the regression by population or compare the Preston curve for child mortality.

Extending it for HL

Add an HL technique the question genuinely needs: what an HL statistics exploration adds.

Frequently asked questions

Which IB Maths course is this IA idea for?

It works for AI SL, AI HL, AA SL and AA HL. We rate it Solid: it needs some independent work beyond class examples.

What mathematics does this IA use?

Linear and logarithmic models, transforming the x-variable with logarithms, correlation and coefficient of determination and comparing fitted parameters between years.

Where can I get data for this IA?

Download GDP per capita (PPP) and life expectancy for all countries for two years from Gapminder, the World Bank or Our World in Data. Checked sources and tools: World Bank Open Data, Gapminder, Our World in Data and Gapminder data.

Turn this idea into your IA

The planner opens with “Does money buy a longer life? GDP and life expectancy” filled in: the question, the maths and the data sources.

Plan this IA free

Your plan is kept in this browser. A free account keeps it with your drafts on any device: Join free · Sign in

Also: free IA self-check · A–E checklist (PDF) · have a draft? AI feedback or a review with Pete (€100)

Writing it up: how to write a Maths IA, step by step · structure and format · mistakes that cost marks · IA statistics, step by step

Similar ideas

All statistics ideas · AI SL ideas · AI HL ideas · AA SL ideas · AA HL ideas · All 239 IA ideas