placestats

Median age vs. Physicians

Holds up after adjusting for income

Across 186 countries, Median age and Physicians rise and fall together at r = +0.82 (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.48 (q = 0.034, allowing for the many pairs tested). Much of the first figure is that both measures rise with national income, but a moderate positive link remains.

Comparing countries across the middle half of median age, 21 to 37.8 years, physicians is better by 2.49 per 1,000 people at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 1.72 per 1,000 people.

Link before adjusting (r)+0.823p = 5.4e-47 · 186 countries
After adjusting for national income+0.480p = 4.8e-12 · likely range [+0.36, +0.58]
p, allowing for regions0.002standard error 0.095 · 7 regions
Check for luck (q)0.034across 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.

Median age · yearslink with income +0.86 · proxy
Physicians · per 1,000 peoplelink with income +0.85 · 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

Median age · years →Physicians · per 1,000 people →14.3490.0386.6Afghanistan: 16.9 years, 0.317 per 1,000 peopleAngola: 16.5 years, 0.244 per 1,000 peopleAlbania: 36.3 years, 1.88 per 1,000 peopleAndorra: 43.2 years, 5.07 per 1,000 peopleUnited Arab Emirates: 31.2 years, 2.99 per 1,000 peopleArgentina: 32.1 years, 5.11 per 1,000 peopleArmenia: 35.8 years, 3.36 per 1,000 peopleAntigua and Barbuda: 35.5 years, 2.92 per 1,000 peopleAustralia: 37.8 years, 4.09 per 1,000 peopleAustria: 43.1 years, 5.51 per 1,000 peopleAzerbaijan: 32.6 years, 3.19 per 1,000 peopleBurundi: 15.9 years, 0.078 per 1,000 peopleBelgium: 41.4 years, 3.57 per 1,000 peopleBenin: 17.8 years, 0.216 per 1,000 peopleBurkina Faso: 17.3 years, 0.148 per 1,000 peopleBangladesh: 25.3 years, 0.722 per 1,000 peopleBulgaria: 44.3 years, 4.33 per 1,000 peopleBahrain: 32.9 years, 0.741 per 1,000 peopleBahamas, The: 34.6 years, 1.9 per 1,000 peopleBosnia and Herzegovina: 44.9 years, 2.58 per 1,000 peopleBelarus: 40.5 years, 4.72 per 1,000 peopleBelize: 25.9 years, 1.09 per 1,000 peopleBolivia: 24.7 years, 1.28 per 1,000 peopleBrazil: 33.9 years, 2.36 per 1,000 peopleBarbados: 38.9 years, 2.96 per 1,000 peopleBrunei Darussalam: 31.8 years, 1.89 per 1,000 peopleBhutan: 29.4 years, 0.553 per 1,000 peopleBotswana: 22.9 years, 0.379 per 1,000 peopleCentral African Republic: 14.3 years, 0.074 per 1,000 peopleCanada: 40.3 years, 2.82 per 1,000 peopleSwitzerland: 42.3 years, 4.48 per 1,000 peopleChile: 36 years, 3.33 per 1,000 peopleChina: 39.1 years, 3.11 per 1,000 peopleCote d'Ivoire: 18.1 years, 0.166 per 1,000 peopleCameroon: 17.8 years, 0.136 per 1,000 peopleCongo, Dem. Rep.: 15.8 years, 0.208 per 1,000 peopleCongo, Rep.: 18.3 years, 0.173 per 1,000 peopleColombia: 31.6 years, 2.54 per 1,000 peopleComoros: 20.3 years, 0.424 per 1,000 peopleCabo Verde: 27.9 years, 0.73 per 1,000 peopleCosta Rica: 34.1 years, 2.69 per 1,000 peopleCyprus: 37.8 years, 3.56 per 1,000 peopleCzechia: 42.7 years, 4.35 per 1,000 peopleGermany: 45.1 years, 4.53 per 1,000 peopleDjibouti: 24.4 years, 0.211 per 1,000 peopleDominica: 35.6 years, 1.16 per 1,000 peopleDenmark: 41.2 years, 4.5 per 1,000 peopleDominican Republic: 27.7 years, 2.43 per 1,000 peopleAlgeria: 28.2 years, 1.66 per 1,000 peopleEcuador: 28.4 years, 2.31 per 1,000 peopleEgypt, Arab Rep.: 24 years, 0.671 per 1,000 peopleSpain: 44.9 years, 4.29 per 1,000 peopleEstonia: 41.9 years, 3.47 per 1,000 peopleEthiopia: 18.7 years, 0.143 per 1,000 peopleFinland: 42.8 years, 3.61 per 1,000 peopleFiji: 27.7 years, 0.813 per 1,000 peopleFrance: 41.8 years, 3.28 per 1,000 peopleMicronesia, Fed. Sts.: 22.9 years, 0.974 per 1,000 peopleGabon: 21.5 years, 0.521 per 1,000 peopleUnited Kingdom: 39.8 years, 3.3 per 1,000 peopleGeorgia: 36.8 years, 5.64 per 1,000 peopleGhana: 20.9 years, 0.266 per 1,000 peopleGuinea: 18 years, 0.21 per 1,000 peopleGambia, The: 18.2 years, 0.09 per 1,000 peopleGuinea-Bissau: 18.9 years, 0.252 per 1,000 peopleEquatorial Guinea: 21 years, 0.153 per 1,000 peopleGreece: 45.7 years, 6.58 per 1,000 peopleGrenada: 33.4 years, 1.38 per 1,000 peopleGuatemala: 22.6 years, 1.28 per 1,000 peopleGuyana: 25.6 years, 1.39 per 1,000 peopleHonduras: 23.5 years, 0.489 per 1,000 peopleCroatia: 44.8 years, 3.91 per 1,000 peopleHaiti: 23.5 years, 0.292 per 1,000 peopleHungary: 43.3 years, 3.46 per 1,000 peopleIndonesia: 29.8 years, 0.524 per 1,000 peopleIndia: 28.1 years, 0.723 per 1,000 peopleIreland: 38.4 years, 3.88 per 1,000 peopleIran, Islamic Rep.: 32.9 years, 1.81 per 1,000 peopleIraq: 20.3 years, 1.02 per 1,000 peopleIceland: 35.8 years, 4.37 per 1,000 peopleIsrael: 29.1 years, 3.8 per 1,000 peopleItaly: 47.5 years, 4.19 per 1,000 peopleJamaica: 31.7 years, 0.46 per 1,000 peopleJordan: 24.3 years, 2.85 per 1,000 peopleJapan: 49 years, 2.65 per 1,000 peopleKazakhstan: 29.5 years, 3.75 per 1,000 peopleKenya: 19.5 years, 0.289 per 1,000 peopleKyrgyz Republic: 25.1 years, 1.57 per 1,000 peopleCambodia: 25.8 years, 0.211 per 1,000 peopleKiribati: 22.7 years, 0.193 per 1,000 peopleSt. Kitts and Nevis: 35.3 years, 3.08 per 1,000 peopleKorea, Rep.: 44.5 years, 2.61 per 1,000 peopleKuwait: 34.5 years, 2.27 per 1,000 peopleLao PDR: 24.3 years, 0.331 per 1,000 peopleLebanon: 28.3 years, 2.68 per 1,000 peopleLiberia: 18.4 years, 0.178 per 1,000 peopleLibya: 27.2 years, 2.04 per 1,000 peopleSt. Lucia: 33.7 years, 4.23 per 1,000 peopleSri Lanka: 32.8 years, 1.14 per 1,000 peopleLesotho: 21.4 years, 0.235 per 1,000 peopleLithuania: 42.1 years, 4.47 per 1,000 peopleLuxembourg: 38.9 years, 2.98 per 1,000 peopleLatvia: 43.1 years, 3.4 per 1,000 peopleMorocco: 29.2 years, 0.74 per 1,000 peopleMoldova: 37.8 years, 4.02 per 1,000 peopleMadagascar: 18.9 years, 0.172 per 1,000 peopleMaldives: 31.1 years, 2.23 per 1,000 peopleMexico: 28.9 years, 2.59 per 1,000 peopleMarshall Islands: 20.7 years, 0.467 per 1,000 peopleNorth Macedonia: 40.3 years, 2.94 per 1,000 peopleMali: 15.5 years, 0.188 per 1,000 peopleMalta: 40.3 years, 4.51 per 1,000 peopleMyanmar: 29.5 years, 0.757 per 1,000 peopleMontenegro: 39.3 years, 2.78 per 1,000 peopleMongolia: 26.8 years, 4.13 per 1,000 peopleMozambique: 16.3 years, 0.175 per 1,000 peopleMauritania: 17.1 years, 0.261 per 1,000 peopleMauritius: 36.9 years, 1.44 per 1,000 peopleMalawi: 17.6 years, 0.054 per 1,000 peopleMalaysia: 30.1 years, 2.34 per 1,000 peopleNamibia: 21 years, 0.553 per 1,000 peopleNiger: 15.3 years, 0.038 per 1,000 peopleNigeria: 17.8 years, 0.38 per 1,000 peopleNicaragua: 25.3 years, 0.682 per 1,000 peopleNetherlands: 41.4 years, 3.88 per 1,000 peopleNorway: 39.5 years, 4.97 per 1,000 peopleNepal: 24.7 years, 1.01 per 1,000 peopleNaoero: 20.4 years, 1.27 per 1,000 peopleNew Zealand: 37.3 years, 3.61 per 1,000 peopleOman: 29.3 years, 1.99 per 1,000 peoplePakistan: 20.3 years, 1.16 per 1,000 peoplePanama: 29.6 years, 1.63 per 1,000 peoplePeru: 29.5 years, 1.69 per 1,000 peoplePhilippines: 25.3 years, 0.792 per 1,000 peoplePalau: 37.8 years, 1.81 per 1,000 peoplePapua New Guinea: 22.3 years, 0.061 per 1,000 peoplePoland: 41.3 years, 4.03 per 1,000 peoplePortugal: 46.2 years, 5.85 per 1,000 peopleParaguay: 26.3 years, 3.89 per 1,000 peopleWest Bank and Gaza: 19.8 years, 2.17 per 1,000 peopleQatar: 33.2 years, 3.02 per 1,000 peopleRomania: 42.6 years, 3.63 per 1,000 peopleRussian Federation: 39.5 years, 5.11 per 1,000 peopleRwanda: 19.4 years, 0.09 per 1,000 peopleSaudi Arabia: 29.2 years, 3.41 per 1,000 peopleSudan: 18.3 years, 0.25 per 1,000 peopleSenegal: 19.1 years, 0.109 per 1,000 peopleSingapore: 35.1 years, 2.83 per 1,000 peopleSolomon Islands: 20.3 years, 0.238 per 1,000 peopleSierra Leone: 19.3 years, 0.134 per 1,000 peopleEl Salvador: 27 years, 1.62 per 1,000 peopleSan Marino: 47.4 years, 4.63 per 1,000 peopleSomalia, Fed. Rep.: 15.4 years, 0.048 per 1,000 peopleSerbia: 43.9 years, 3.1 per 1,000 peopleSao Tome and Principe: 19.1 years, 0.464 per 1,000 peopleSuriname: 28.1 years, 1.35 per 1,000 peopleSlovak Republic: 41.3 years, 3.7 per 1,000 peopleSlovenia: 43.9 years, 3.37 per 1,000 peopleSweden: 39.9 years, 4.41 per 1,000 peopleEswatini: 22 years, 0.557 per 1,000 peopleSeychelles: 33.7 years, 6.6 per 1,000 peopleSyrian Arab Republic: 22.2 years, 1.52 per 1,000 peopleChad: 15.4 years, 0.085 per 1,000 peopleTogo: 18.1 years, 0.08 per 1,000 peopleThailand: 39.7 years, 0.541 per 1,000 peopleTajikistan: 21.9 years, 1.87 per 1,000 peopleTurkmenistan: 26.2 years, 1.93 per 1,000 peopleTimor-Leste: 21 years, 0.752 per 1,000 peopleTonga: 20.7 years, 1.01 per 1,000 peopleTrinidad and Tobago: 36.7 years, 4.16 per 1,000 peopleTunisia: 32.1 years, 1.31 per 1,000 peopleTurkiye: 32.5 years, 2.24 per 1,000 peopleTuvalu: 24.3 years, 1.35 per 1,000 peopleTanzania: 17.2 years, 0.134 per 1,000 peopleUganda: 16.5 years, 0.191 per 1,000 peopleUkraine: 42 years, 3.53 per 1,000 peopleUruguay: 35.8 years, 4.67 per 1,000 peopleUnited States: 38 years, 3.68 per 1,000 peopleUzbekistan: 26.9 years, 2.81 per 1,000 peopleSt. Vincent and the Grenadines: 33.9 years, 0.938 per 1,000 peopleViet Nam: 32.4 years, 1.11 per 1,000 peopleVanuatu: 20.1 years, 0.164 per 1,000 peopleSamoa: 19.9 years, 0.561 per 1,000 peopleSouth Africa: 28.2 years, 0.794 per 1,000 peopleZambia: 17.5 years, 0.324 per 1,000 peopleZimbabwe: 17.8 years, 0.136 per 1,000 peopleARGAUTBIHCAFGRCJPNMNGNERPRTSOMSYCTHA

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted+0.8235.4e-47186
By rank (Spearman), not adjusted+0.8579.1e-55186
Standard (Pearson), adjusted for national income+0.4804.8e-12186
By rank (Spearman), adjusted for national income+0.4585.4e-11186

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 186 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.343 (a minus sign means it grew).

How solid is it?

Leaving out one country at a time, r ranges from +0.457 (without GUY) to +0.502 (without THA). 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: GUY (-0.023).

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.10
Europe & Central Asia50+0.39
Latin America & Caribbean31+0.34
Middle East, North Africa, Afghanistan & Pakistan22+0.12
Sub-Saharan Africa46+0.51

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 third62+0.36
Middle third62+0.19
Richest third62+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
Christians108+0.61
Muslims49+0.26

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
France25+0.53
Never a European colony21-0.12
Spain20+0.46
United Kingdom63+0.36

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.480 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 34years. 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 shows up within countries over time (r = +0.325) but mostly disappears in year-to-year changes (r = +0.038). That points to slow trends particular to each country, not the two measures moving together from year to year.

Across countries (adjusted)+0.480for comparison
Within countries+0.598each country vs itself
…and vs the same year elsewhere+0.325q = 1.0e-5 · 189 countries
Year-on-year changes+0.038q = 0.109
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.
  • The association is much weaker in year-on-year changes than in levels, which points to shared country-specific trends.

3,841 country-years (one country in one year), 189 countries, 1990–2023, about 20 years each on average. Share of the variation that happens within countries over time: 9% for Median age, 11% for Physicians. 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.40−0.4-100+10years Physicians trails Median age →lag -10: r = 0.184 (n = 2,562)lag -9: r = 0.209 (n = 2,702)lag -8: r = 0.223 (n = 2,826)lag -7: r = 0.233 (n = 2,955)lag -6: r = 0.247 (n = 3,108)lag -5: r = 0.267 (n = 3,263)lag -4: r = 0.282 (n = 3,397)lag -3: r = 0.297 (n = 3,532)lag -2: r = 0.311 (n = 3,655)lag -1: r = 0.319 (n = 3,783)lag +0: r = 0.325 (n = 3,841)lag +1: r = 0.322 (n = 3,707)lag +2: r = 0.327 (n = 3,616)lag +3: r = 0.338 (n = 3,528)lag +4: r = 0.343 (n = 3,415)lag +5: r = 0.352 (n = 3,333)lag +6: r = 0.352 (n = 3,208)lag +7: r = 0.352 (n = 3,094)lag +8: r = 0.350 (n = 2,990)lag +9: r = 0.347 (n = 2,899)lag +10: r = 0.344 (n = 2,814)

Same year (lag 0): +0.325. 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


years

per 1,000 people
Years
Japan JPN492.652023, 2022
Italy ITA47.54.192023, 2022
San Marino SMR47.44.632023
Portugal PRT46.25.852023, 2022
Greece GRC45.76.582023, 2022
Germany DEU45.14.532023, 2022
Bosnia and Herzegovina BIH44.92.582023, 2019
Spain ESP44.94.292023, 2022
Croatia HRV44.83.912023, 2022
Korea, Rep. KOR44.52.612023, 2022
Bulgaria BGR44.34.332023, 2022
Slovenia SVN43.93.372023, 2022
Serbia SRB43.93.12023, 2022
Hungary HUN43.33.462023, 2022
Andorra AND43.25.072023

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
World Bank, World Development Indicators

Sources

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.

Physicians

Physicians (per 1,000 people)

World Health Organization · CC BY 4.0 · updated quarterly

Reported irregularly, so the latest value in the time window used is from a different year for different countries. Hospital beds, already on the site, have no "better" direction, since more beds is not plainly better. More doctors is closer to plainly better, so a direction is set on that basis.

How this was computed

Data used: most recent value in 2010-2025; values come from 2012–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 Median age and Physicians

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

More links with Median age or Physicians