placestats

Inequality-adjusted HDI vs. Median age

Fades after adjusting for income

Across 167 countries, Inequality-adjusted HDI and Median age rise and fall together at r = +0.90 (on a scale from −1 to +1, where 0 means no link). Comparing only countries with similar income (GDP per person) shrinks it to +0.46, which could easily be chance (q = 0.11, allowing for the many pairs tested, and allowing for countries in the same region being alike). So the first figure mostly shows richer countries differing from poorer ones, not a link between these two things. Caution: much weaker within regions than across them (largely a between-region difference).

Comparing countries across the middle half of median age, 20.4 to 38.9 years, inequality-adjusted hdi is better by 0.336 points at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 0.127 points.

Link before adjusting (r)+0.896p = 4.7e-60 · 167 countries
After adjusting for national income+0.464p = 3.0e-10 · likely range [+0.34, +0.58]
p, allowing for regions0.009standard error 0.123 · 7 regions
Check for luck (q)0.107across 12,497 pairs

How to read these.r runs from −1 (one goes up as the other goes down) to +1 (they rise together), and 0 means no link. Adjusting for national income means comparing countries with the same GDP per person, so differences in wealth can’t explain the link. Income is used in percentage terms, since an extra $1,000 means more to a poor country than to a rich one. p is how likely a link this strong would be if there were really none. Below 0.05 means it is unlikely to be chance. Very small values are written in short form: 1.1e-32 means a decimal point followed by 31 zeros and then 11, so very close to zero. The likely range is where the true figure probably lies, and a range that crosses zero means the link could easily be chance. Countries in the same region tend to resemble each other, so the third figure allows for that, which gives a fairer p. The standard error is the typical size of the error in r. Finally, testing this many pairs means some will look strong by luck alone. A q below 0.05 means this link is unlikely to be one of those.

Inequality-adjusted HDI · index, 0 to 1link with income +0.94 · proxy
Median age · yearslink with income +0.86 · proxy

Both of these rise and fall closely with national income, so a strong link between them before adjusting was close to certain. Read the adjusted figure, not the first one.

“Link with income” is how closely each measure tracks GDP per person across countries, from −1 to +1.

Every country as a dot

Inequality-adjusted HDI · index, 0 to 1 →Median age · years →0.2290.92314.349Afghanistan: 0.321 index, 0 to 1, 16.9 yearsAngola: 0.36 index, 0 to 1, 16.5 yearsAlbania: 0.705 index, 0 to 1, 36.3 yearsAndorra: 0.837 index, 0 to 1, 43.2 yearsUnited Arab Emirates: 0.866 index, 0 to 1, 31.2 yearsArgentina: 0.761 index, 0 to 1, 32.1 yearsArmenia: 0.743 index, 0 to 1, 35.8 yearsAustralia: 0.873 index, 0 to 1, 37.8 yearsAustria: 0.861 index, 0 to 1, 43.1 yearsAzerbaijan: 0.735 index, 0 to 1, 32.6 yearsBurundi: 0.286 index, 0 to 1, 15.9 yearsBelgium: 0.891 index, 0 to 1, 41.4 yearsBenin: 0.316 index, 0 to 1, 17.8 yearsBurkina Faso: 0.273 index, 0 to 1, 17.3 yearsBangladesh: 0.482 index, 0 to 1, 25.3 yearsBulgaria: 0.748 index, 0 to 1, 44.3 yearsBahamas, The: 0.67 index, 0 to 1, 34.6 yearsBosnia and Herzegovina: 0.689 index, 0 to 1, 44.9 yearsBelarus: 0.771 index, 0 to 1, 40.5 yearsBolivia: 0.578 index, 0 to 1, 24.7 yearsBrazil: 0.594 index, 0 to 1, 33.9 yearsBarbados: 0.62 index, 0 to 1, 38.9 yearsBrunei Darussalam: 0.756 index, 0 to 1, 31.8 yearsBhutan: 0.478 index, 0 to 1, 29.4 yearsBotswana: 0.509 index, 0 to 1, 22.9 yearsCentral African Republic: 0.253 index, 0 to 1, 14.3 yearsCanada: 0.867 index, 0 to 1, 40.3 yearsSwitzerland: 0.894 index, 0 to 1, 42.3 yearsChile: 0.723 index, 0 to 1, 36 yearsChina: 0.67 index, 0 to 1, 39.1 yearsCote d'Ivoire: 0.35 index, 0 to 1, 18.1 yearsCameroon: 0.361 index, 0 to 1, 17.8 yearsCongo, Dem. Rep.: 0.341 index, 0 to 1, 15.8 yearsCongo, Rep.: 0.426 index, 0 to 1, 18.3 yearsColombia: 0.593 index, 0 to 1, 31.6 yearsComoros: 0.356 index, 0 to 1, 20.3 yearsCabo Verde: 0.478 index, 0 to 1, 27.9 yearsCosta Rica: 0.678 index, 0 to 1, 34.1 yearsCyprus: 0.841 index, 0 to 1, 37.8 yearsCzechia: 0.867 index, 0 to 1, 42.7 yearsGermany: 0.89 index, 0 to 1, 45.1 yearsDjibouti: 0.341 index, 0 to 1, 24.4 yearsDenmark: 0.909 index, 0 to 1, 41.2 yearsDominican Republic: 0.634 index, 0 to 1, 27.7 yearsAlgeria: 0.601 index, 0 to 1, 28.2 yearsEcuador: 0.64 index, 0 to 1, 28.4 yearsEgypt, Arab Rep.: 0.582 index, 0 to 1, 24 yearsSpain: 0.819 index, 0 to 1, 44.9 yearsEstonia: 0.841 index, 0 to 1, 41.9 yearsEthiopia: 0.326 index, 0 to 1, 18.7 yearsFinland: 0.891 index, 0 to 1, 42.8 yearsFiji: 0.626 index, 0 to 1, 27.7 yearsFrance: 0.836 index, 0 to 1, 41.8 yearsGabon: 0.558 index, 0 to 1, 21.5 yearsUnited Kingdom: 0.869 index, 0 to 1, 39.8 yearsGeorgia: 0.754 index, 0 to 1, 36.8 yearsGhana: 0.399 index, 0 to 1, 20.9 yearsGuinea: 0.302 index, 0 to 1, 18 yearsGambia, The: 0.329 index, 0 to 1, 18.2 yearsGuinea-Bissau: 0.331 index, 0 to 1, 18.9 yearsGreece: 0.825 index, 0 to 1, 45.7 yearsGuatemala: 0.479 index, 0 to 1, 22.6 yearsHong Kong SAR, China: 0.839 index, 0 to 1, 46.2 yearsHonduras: 0.496 index, 0 to 1, 23.5 yearsCroatia: 0.828 index, 0 to 1, 44.8 yearsHaiti: 0.337 index, 0 to 1, 23.5 yearsHungary: 0.819 index, 0 to 1, 43.3 yearsIndonesia: 0.608 index, 0 to 1, 29.8 yearsIndia: 0.475 index, 0 to 1, 28.1 yearsIreland: 0.886 index, 0 to 1, 38.4 yearsIran, Islamic Rep.: 0.643 index, 0 to 1, 32.9 yearsIraq: 0.534 index, 0 to 1, 20.3 yearsIceland: 0.923 index, 0 to 1, 35.8 yearsIsrael: 0.813 index, 0 to 1, 29.1 yearsItaly: 0.817 index, 0 to 1, 47.5 yearsJamaica: 0.59 index, 0 to 1, 31.7 yearsJordan: 0.637 index, 0 to 1, 24.3 yearsJapan: 0.845 index, 0 to 1, 49 yearsKazakhstan: 0.766 index, 0 to 1, 29.5 yearsKenya: 0.456 index, 0 to 1, 19.5 yearsKyrgyz Republic: 0.649 index, 0 to 1, 25.1 yearsCambodia: 0.444 index, 0 to 1, 25.8 yearsKiribati: 0.535 index, 0 to 1, 22.7 yearsKorea, Rep.: 0.857 index, 0 to 1, 44.5 yearsLao PDR: 0.462 index, 0 to 1, 24.3 yearsLiberia: 0.326 index, 0 to 1, 18.4 yearsSt. Lucia: 0.523 index, 0 to 1, 33.7 yearsSri Lanka: 0.63 index, 0 to 1, 32.8 yearsLesotho: 0.357 index, 0 to 1, 21.4 yearsLithuania: 0.812 index, 0 to 1, 42.1 yearsLuxembourg: 0.838 index, 0 to 1, 38.9 yearsLatvia: 0.812 index, 0 to 1, 43.1 yearsMorocco: 0.517 index, 0 to 1, 29.2 yearsMoldova: 0.719 index, 0 to 1, 37.8 yearsMadagascar: 0.319 index, 0 to 1, 18.9 yearsMaldives: 0.602 index, 0 to 1, 31.1 yearsMexico: 0.646 index, 0 to 1, 28.9 yearsMarshall Islands: 0.626 index, 0 to 1, 20.7 yearsNorth Macedonia: 0.723 index, 0 to 1, 40.3 yearsMali: 0.281 index, 0 to 1, 15.5 yearsMalta: 0.843 index, 0 to 1, 40.3 yearsMyanmar: 0.477 index, 0 to 1, 29.5 yearsMontenegro: 0.771 index, 0 to 1, 39.3 yearsMongolia: 0.647 index, 0 to 1, 26.8 yearsMozambique: 0.297 index, 0 to 1, 16.3 yearsMauritania: 0.374 index, 0 to 1, 17.1 yearsMauritius: 0.669 index, 0 to 1, 36.9 yearsMalawi: 0.365 index, 0 to 1, 17.6 yearsMalaysia: 0.707 index, 0 to 1, 30.1 yearsNamibia: 0.438 index, 0 to 1, 21 yearsNiger: 0.265 index, 0 to 1, 15.3 yearsNigeria: 0.379 index, 0 to 1, 17.8 yearsNicaragua: 0.535 index, 0 to 1, 25.3 yearsNetherlands: 0.892 index, 0 to 1, 41.4 yearsNorway: 0.909 index, 0 to 1, 39.5 yearsNepal: 0.437 index, 0 to 1, 24.7 yearsNaoero: 0.599 index, 0 to 1, 20.4 yearsNew Zealand: 0.853 index, 0 to 1, 37.3 yearsOman: 0.75 index, 0 to 1, 29.3 yearsPakistan: 0.364 index, 0 to 1, 20.3 yearsPanama: 0.664 index, 0 to 1, 29.6 yearsPeru: 0.633 index, 0 to 1, 29.5 yearsPhilippines: 0.597 index, 0 to 1, 25.3 yearsPalau: 0.616 index, 0 to 1, 37.8 yearsPapua New Guinea: 0.423 index, 0 to 1, 22.3 yearsPoland: 0.817 index, 0 to 1, 41.3 yearsPortugal: 0.795 index, 0 to 1, 46.2 yearsParaguay: 0.599 index, 0 to 1, 26.3 yearsWest Bank and Gaza: 0.538 index, 0 to 1, 19.8 yearsRomania: 0.758 index, 0 to 1, 42.6 yearsRussian Federation: 0.758 index, 0 to 1, 39.5 yearsRwanda: 0.399 index, 0 to 1, 19.4 yearsSudan: 0.328 index, 0 to 1, 18.3 yearsSenegal: 0.34 index, 0 to 1, 19.1 yearsSingapore: 0.823 index, 0 to 1, 35.1 yearsSolomon Islands: 0.483 index, 0 to 1, 20.3 yearsSierra Leone: 0.281 index, 0 to 1, 19.3 yearsEl Salvador: 0.555 index, 0 to 1, 27 yearsSomalia, Fed. Rep.: 0.229 index, 0 to 1, 15.4 yearsSerbia: 0.772 index, 0 to 1, 43.9 yearsSao Tome and Principe: 0.478 index, 0 to 1, 19.1 yearsSlovak Republic: 0.833 index, 0 to 1, 41.3 yearsSlovenia: 0.885 index, 0 to 1, 43.9 yearsSweden: 0.886 index, 0 to 1, 39.9 yearsEswatini: 0.431 index, 0 to 1, 22 yearsSeychelles: 0.755 index, 0 to 1, 33.7 yearsSyrian Arab Republic: 0.419 index, 0 to 1, 22.2 yearsChad: 0.252 index, 0 to 1, 15.4 yearsTogo: 0.363 index, 0 to 1, 18.1 yearsThailand: 0.677 index, 0 to 1, 39.7 yearsTajikistan: 0.594 index, 0 to 1, 21.9 yearsTimor-Leste: 0.451 index, 0 to 1, 21 yearsTonga: 0.682 index, 0 to 1, 20.7 yearsTunisia: 0.595 index, 0 to 1, 32.1 yearsTurkiye: 0.708 index, 0 to 1, 32.5 yearsTuvalu: 0.578 index, 0 to 1, 24.3 yearsTanzania: 0.391 index, 0 to 1, 17.2 yearsUganda: 0.4 index, 0 to 1, 16.5 yearsUkraine: 0.715 index, 0 to 1, 42 yearsUruguay: 0.747 index, 0 to 1, 35.8 yearsUnited States: 0.832 index, 0 to 1, 38 yearsViet Nam: 0.641 index, 0 to 1, 32.4 yearsVanuatu: 0.521 index, 0 to 1, 20.1 yearsSamoa: 0.609 index, 0 to 1, 19.9 yearsSouth Africa: 0.476 index, 0 to 1, 28.2 yearsZambia: 0.361 index, 0 to 1, 17.5 yearsZimbabwe: 0.406 index, 0 to 1, 17.8 yearsAREBIHBRBCAFDEUISRITAJPNLCASOMTCDTON

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted+0.8964.7e-60167
By rank (Spearman), not adjusted+0.8959.6e-60167
Standard (Pearson), adjusted for national income+0.4643.0e-10167
By rank (Spearman), adjusted for national income+0.3971.2e-7167

The rank version uses only each country’s place in line, from lowest to highest, so a few extreme countries count for less. The adjusted and unadjusted versions use the same 167 countries: those that report both measures and GDP per person. So the gap between them comes from the adjustment, not from a change in which countries are counted. Drop in the size of r after adjusting: +0.432 (a minus sign means it grew).

How solid is it?

Leaving out one country at a time, r ranges from +0.448 (without AGO) to +0.489 (without TON). The bar above shows that range on a scale from −1 to +1, with the solid line at the full result. The single country that moves r most: TON (+0.025).

Fragile: this link may not hold up.
  • much weaker within regions than across them (largely a between-region difference)

Within each region

Countries are not separate, unrelated cases, and neighbors share a lot. A link that holds inside each region is far more believable than one that shows up only when comparing regions.

nr
East Asia & Pacific29+0.17
Europe & Central Asia47+0.13
Latin America & Caribbean22+0.12
Middle East, North Africa, Afghanistan & Pakistan16+0.05
Sub-Saharan Africa45+0.61

By income third

If the link shows up only in the richest third of countries, it is a feature of rich countries, not a general pattern.

nr
Poorest third56+0.39
Middle third55+0.45
Richest third56+0.52

By largest religious group

Countries grouped by a label they share, such as main religion, rather than by a number. Groups of fewer than twelve countries are not shown. These groups differ in income, region and history all at once. So a gap between them is a place to start asking questions, not an answer.

nr
Christians100+0.55
Muslims41+0.41

By last european coloniser

Countries grouped by a label they share, such as main religion, rather than by a number. Groups of fewer than twelve countries are not shown. These groups differ in income, region and history all at once. So a gap between them is a place to start asking questions, not an answer.

nr
France24+0.68
Never a European colony18+0.15
Spain18+0.51
United Kingdom51+0.26

Without outliers (countries far outside the middle half of countries on either measure, by more than one and a half times the width of that middle half): r = +0.464 after dropping 0 countries.

Two series, one country

Both measures over the years for one country you pick. The two charts are stacked so they share only the years along the bottom.

Loading…

Over time, within countries

Everything above compares countries with each other at one moment. This section compares each country only with itself over 14years. So a link here can’t come from anything about a country that stays the same, such as its history, geography, institutions or culture.

The link also shows up within countries over time (r = +0.210). It holds even when looking only at changes from one year to the next (r = +0.104). This is the strongest kind of evidence available here: it holds when each country is compared only with itself, and it is not just a product of shared trends.

Across countries (adjusted)+0.464for comparison
Within countries+0.728each country vs itself
…and vs the same year elsewhere+0.210q = 0.008 · 166 countries
Year-on-year changes+0.104q = 0.047
Read with care.
  • Almost all of this indicator's variation is between countries, not within them, so the within-country estimate rests on a small part of the data.
  • Much of the within-country association disappears once shared global year effects are removed, which points to a common worldwide trend rather than a country-level relationship.

2,131 country-years (one country in one year), 166 countries, 2010–2023, about 13 years each on average. Share of the variation that happens within countries over time: 1% for Inequality-adjusted HDI, 1% for Median age. The margins of error allow for each country appearing many times, and for each year’s value being close to the year before.

Year-to-year changes are a cautious test, not a final answer. Looking only at changes from one year to the next removes each country’s own trends. But it also makes measurement mistakes louder, which pulls the results toward zero. A near-zero result here is weak evidence of no link, not proof.

With one measure years behind the other

0.30−0.3-100+9years Median age trails Inequality-adjusted HDI →lag -10: r = 0.123 (n = 2,131)lag -9: r = 0.136 (n = 2,131)lag -8: r = 0.150 (n = 2,131)lag -7: r = 0.162 (n = 2,131)lag -6: r = 0.170 (n = 2,131)lag -5: r = 0.176 (n = 2,131)lag -4: r = 0.180 (n = 2,131)lag -3: r = 0.183 (n = 2,131)lag -2: r = 0.186 (n = 2,131)lag -1: r = 0.196 (n = 2,131)lag +0: r = 0.210 (n = 2,131)lag +1: r = 0.224 (n = 1,942)lag +2: r = 0.227 (n = 1,780)lag +3: r = 0.228 (n = 1,618)lag +4: r = 0.229 (n = 1,449)lag +5: r = 0.179 (n = 1,275)lag +6: r = 0.113 (n = 1,106)lag +7: r = 0.033 (n = 942)lag +8: r = -0.051 (n = 763)lag +9: r = -0.065 (n = 565)

Same year (lag 0): +0.210. A peak away from zero does not show which comes first. These series change slowly — this year’s value is close to last year’s. That makes the curve smooth and nearly symmetric, whatever produced the data. Even a sharp peak at one lag (a gap of some years) would not prove that one measure changes the other.

The data


index, 0 to 1

years
Years
Iceland ISL0.92335.82023
Norway NOR0.90939.52023
Denmark DNK0.90941.22023
Switzerland CHE0.89442.32023
Netherlands NLD0.89241.42023
Finland FIN0.89142.82023
Belgium BEL0.89141.42023
Germany DEU0.8945.12023
Sweden SWE0.88639.92023
Ireland IRL0.88638.42023
Slovenia SVN0.88543.92023
Australia AUS0.87337.82023
United Kingdom GBR0.86939.82023
Czechia CZE0.86742.72023
Canada CAN0.86740.32023

United Nations Development Programme, Human Development Report 2025
United Nations, Department of Economic and Social Affairs, Population Division: World Population Prospects 2024 and Estimates and Projections of Women of Reproductive Age Who Are Married or in a Union

Sources

Inequality-adjusted HDI

Inequality-adjusted Human Development Index

United Nations Development Programme, Human Development Report Office · via Our World in Data · CC BY 3.0 IGO · updated annual · comparable from 2010 only

The HDI marked down for how unequally each of its three parts is spread within the country. The gap between this and the HDI is what inequality costs, and that is the number worth reading. The level itself is the HDI again, with its parts flagged the same way.

Median age

Median age of the population

United Nations Department of Economic and Social Affairs, Population Division · via Our World in Data · CC BY 3.0 IGO · updated biennial

The age that splits a population in half: half are older and half are younger. The shares aged under 15 and over 65 are already on the site. All three are treated as measuring the same thing. They are readings of the same age pyramid, so they are bound to match, and their agreement is not a finding. No "better" direction is set.

How this was computed

Data used: most recent value in 2010-2025; values come from 2015–2023. To adjust for income, each measure is first predicted from GDP per person (in percentage terms, on a log scale) with a straight-line fit. Only what is left over is then compared. This is called a partial correlation. The line is drawn the standard way (ordinary least squares), which picks the line that comes closest to all the countries at once. The error margins allow for countries in the same region resembling each other, using 7 World Bank regions. The q-value corrects for testing all 12,497 pairs at once, using the Benjamini–Hochberg method. Underlying data last updated DYB 2024. How the country data works · explore Inequality-adjusted HDI and Median age

This page shows that two measures go together. It does not show that Inequality-adjusted HDI changes Median age, or the reverse. These figures also describe countries, not individual people. See the ecological fallacy.

More links with Inequality-adjusted HDI or Median age