placestats

Electricity access vs. Life expectancy

Fades after adjusting for income

Across 198 countries, Electricity access and Life expectancy rise and fall together at r = +0.73 (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.27, which could easily be chance (q = 0.091, 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: direction is not consistent across regions.

Comparing countries across the middle half of life expectancy, 68.1 to 79 years, electricity access is better by 23.2% of population at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 11.3% of population.

Link before adjusting (r)+0.726p = 9.7e-34 · 198 countries
After adjusting for national income+0.270p = 0.000 · likely range [+0.14, +0.39]
p, allowing for regions0.011standard error 0.075 · 7 regions
Check for luck (q)0.091across 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.

Electricity access · % of populationlink with income +0.79 · high
Life expectancy · yearslink with income +0.87 · 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

Electricity access · % of population →Life expectancy · years →13.4%100%54.685.8Aruba: 100% of population, 76.5 yearsAfghanistan: 87.8% of population, 66.3 yearsAngola: 55.5% of population, 64.8 yearsAlbania: 100% of population, 79.8 yearsAndorra: 100% of population, 84.2 yearsUnited Arab Emirates: 100% of population, 83.1 yearsArgentina: 98.4% of population, 77.5 yearsArmenia: 100% of population, 78.3 yearsAntigua and Barbuda: 100% of population, 77.8 yearsAustralia: 100% of population, 83.1 yearsAustria: 100% of population, 82 yearsAzerbaijan: 100% of population, 74.6 yearsBurundi: 20.1% of population, 63.8 yearsBelgium: 100% of population, 82.3 yearsBenin: 59% of population, 61 yearsBurkina Faso: 34% of population, 61.3 yearsBangladesh: 99.5% of population, 74.9 yearsBulgaria: 100% of population, 75.8 yearsBahrain: 100% of population, 81.4 yearsBahamas, The: 100% of population, 74.7 yearsBosnia and Herzegovina: 100% of population, 78 yearsBelarus: 100% of population, 74.4 yearsBelize: 99.6% of population, 73.7 yearsBermuda: 100% of population, 82.5 yearsBolivia: 96.6% of population, 68.7 yearsBrazil: 99.8% of population, 76 yearsBarbados: 100% of population, 76.3 yearsBrunei Darussalam: 100% of population, 75.5 yearsBhutan: 100% of population, 73.3 yearsBotswana: 80.2% of population, 69.3 yearsCentral African Republic: 18.2% of population, 57.7 yearsCanada: 100% of population, 82.1 yearsSwitzerland: 100% of population, 84.4 yearsChile: 99% of population, 81.4 yearsChina: 100% of population, 78 yearsCote d'Ivoire: 72.9% of population, 62.1 yearsCameroon: 72% of population, 64 yearsCongo, Dem. Rep.: 22.5% of population, 62.1 yearsCongo, Rep.: 53% of population, 66 yearsColombia: 98.9% of population, 77.9 yearsComoros: 91.7% of population, 67 yearsCabo Verde: 98.4% of population, 76.2 yearsCosta Rica: 99.8% of population, 81 yearsCuracao: 100% of population, 77 yearsCayman Islands: 100% of population, 80.5 yearsCyprus: 100% of population, 81.8 yearsCzechia: 100% of population, 80 yearsGermany: 100% of population, 80.8 yearsDjibouti: 69.2% of population, 66.2 yearsDominica: 100% of population, 71.3 yearsDenmark: 100% of population, 82.3 yearsDominican Republic: 99.5% of population, 73.9 yearsAlgeria: 100% of population, 76.5 yearsEcuador: 98.5% of population, 77.6 yearsEgypt, Arab Rep.: 100% of population, 71.8 yearsSpain: 100% of population, 83.9 yearsEstonia: 100% of population, 79.3 yearsEthiopia: 56.6% of population, 67.6 yearsFinland: 100% of population, 82.3 yearsFiji: 95.9% of population, 67.5 yearsFrance: 100% of population, 83 yearsFaroe Islands: 100% of population, 83.1 yearsMicronesia, Fed. Sts.: 88.9% of population, 67.4 yearsGabon: 95.1% of population, 68.5 yearsUnited Kingdom: 100% of population, 81.4 yearsGeorgia: 100% of population, 74.7 yearsGhana: 91.9% of population, 65.7 yearsGuinea: 53.8% of population, 60.9 yearsGambia, The: 69% of population, 66.1 yearsGuinea-Bissau: 43.7% of population, 64.3 yearsEquatorial Guinea: 65.1% of population, 63.9 yearsGreece: 100% of population, 81.8 yearsGrenada: 95.6% of population, 75.4 yearsGreenland: 100% of population, 70.3 yearsGuatemala: 90.9% of population, 72.7 yearsGuyana: 93% of population, 70.3 yearsHong Kong SAR, China: 100% of population, 85.4 yearsHonduras: 95.5% of population, 73 yearsCroatia: 100% of population, 78.9 yearsHaiti: 53.9% of population, 65.1 yearsHungary: 100% of population, 76.7 yearsIndonesia: 99.9% of population, 71.3 yearsIndia: 99.9% of population, 72.2 yearsIreland: 100% of population, 83 yearsIran, Islamic Rep.: 100% of population, 77.9 yearsIraq: 100% of population, 72.4 yearsIceland: 100% of population, 82.8 yearsIsrael: 100% of population, 83.2 yearsItaly: 100% of population, 84 yearsJamaica: 97.7% of population, 71.6 yearsJordan: 100% of population, 78 yearsJapan: 100% of population, 84 yearsKazakhstan: 100% of population, 74.5 yearsKenya: 77% of population, 63.8 yearsKyrgyz Republic: 100% of population, 72.4 yearsCambodia: 99.2% of population, 70.8 yearsKiribati: 97.7% of population, 66.6 yearsSt. Kitts and Nevis: 100% of population, 72.3 yearsKorea, Rep.: 100% of population, 83.6 yearsKuwait: 100% of population, 84.6 yearsLao PDR: 96.5% of population, 69.2 yearsLebanon: 100% of population, 77.9 yearsLiberia: 34.9% of population, 62.3 yearsLibya: 77.4% of population, 71.1 yearsSt. Lucia: 100% of population, 72.8 yearsSri Lanka: 100% of population, 77.7 yearsLesotho: 60.6% of population, 57.8 yearsLithuania: 100% of population, 77.2 yearsLuxembourg: 100% of population, 83.2 yearsLatvia: 100% of population, 76.4 yearsMacao SAR, China: 100% of population, 83.3 yearsMorocco: 100% of population, 75.5 yearsMoldova: 100% of population, 71.3 yearsMadagascar: 42.5% of population, 63.8 yearsMaldives: 100% of population, 81.3 yearsMexico: 99.8% of population, 75.3 yearsMarshall Islands: 97.2% of population, 67.1 yearsNorth Macedonia: 100% of population, 76.6 yearsMali: 49.5% of population, 60.7 yearsMalta: 100% of population, 83 yearsMyanmar: 80.4% of population, 67.1 yearsMontenegro: 100% of population, 77.9 yearsMongolia: 99.1% of population, 72.4 yearsMozambique: 36.9% of population, 63.8 yearsMauritania: 52.2% of population, 68.7 yearsMauritius: 100% of population, 73.8 yearsMalawi: 15.6% of population, 67.6 yearsMalaysia: 100% of population, 76.8 yearsNamibia: 59.3% of population, 67.5 yearsNiger: 21.3% of population, 61.4 yearsNigeria: 62.5% of population, 54.6 yearsNicaragua: 88.7% of population, 75.1 yearsNetherlands: 100% of population, 82 yearsNorway: 100% of population, 83.2 yearsNepal: 97.9% of population, 70.6 yearsNaoero: 100% of population, 62.3 yearsNew Zealand: 100% of population, 82 yearsOman: 100% of population, 80.2 yearsPakistan: 95.7% of population, 67.8 yearsPanama: 96% of population, 79.8 yearsPeru: 96.5% of population, 77.9 yearsPhilippines: 94.8% of population, 69.9 yearsPalau: 100% of population, 69.4 yearsPapua New Guinea: 43.3% of population, 66.3 yearsPoland: 100% of population, 78.4 yearsPuerto Rico (US): 100% of population, 81.9 yearsPortugal: 100% of population, 82.4 yearsParaguay: 99.8% of population, 74 yearsWest Bank and Gaza: 100% of population, 69.2 yearsQatar: 100% of population, 82.5 yearsRomania: 100% of population, 76.5 yearsRussian Federation: 100% of population, 73.4 yearsRwanda: 72% of population, 68 yearsSaudi Arabia: 100% of population, 79 yearsSudan: 66% of population, 66.5 yearsSenegal: 82.9% of population, 68.9 yearsSingapore: 100% of population, 83.3 yearsSolomon Islands: 81.5% of population, 70.7 yearsSierra Leone: 39.2% of population, 62 yearsEl Salvador: 98.7% of population, 72.3 yearsSan Marino: 100% of population, 85.8 yearsSomalia, Fed. Rep.: 54.4% of population, 59 yearsSerbia: 100% of population, 76 yearsSao Tome and Principe: 77.7% of population, 69.9 yearsSuriname: 99% of population, 73.8 yearsSlovak Republic: 100% of population, 78.4 yearsSlovenia: 100% of population, 82.3 yearsSweden: 100% of population, 84.1 yearsEswatini: 89.3% of population, 64.3 yearsSint Maarten (Dutch part): 100% of population, 76.5 yearsSeychelles: 100% of population, 76.3 yearsSyrian Arab Republic: 89.3% of population, 72.6 yearsTurks and Caicos Islands: 100% of population, 78.2 yearsChad: 13.4% of population, 55.2 yearsTogo: 61.1% of population, 62.9 yearsThailand: 100% of population, 76.6 yearsTajikistan: 99.9% of population, 71.9 yearsTurkmenistan: 100% of population, 70.2 yearsTimor-Leste: 94.3% of population, 67.9 yearsTonga: 100% of population, 73.1 yearsTrinidad and Tobago: 100% of population, 73.6 yearsTunisia: 100% of population, 76.7 yearsTurkiye: 100% of population, 77.4 yearsTuvalu: 100% of population, 67.3 yearsTanzania: 52.4% of population, 67.2 yearsUganda: 55.3% of population, 68.5 yearsUkraine: 100% of population, 74.7 yearsUruguay: 100% of population, 78.3 yearsUnited States: 100% of population, 78.9 yearsUzbekistan: 100% of population, 72.5 yearsSt. Vincent and the Grenadines: 100% of population, 71.4 yearsVirgin Islands (U.S.): 100% of population, 80.8 yearsViet Nam: 100% of population, 74.7 yearsVanuatu: 65.5% of population, 71.7 yearsSamoa: 100% of population, 71.8 yearsSouth Africa: 90.2% of population, 66.3 yearsZambia: 53.6% of population, 66.5 yearsZimbabwe: 62% of population, 63.1 yearsBDICAFCODHKGKWTMWINERNGANRUSMRTCDTUV

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted+0.7269.7e-34198
By rank (Spearman), not adjusted+0.7824.1e-42198
Standard (Pearson), adjusted for national income+0.2700.000198
By rank (Spearman), adjusted for national income+0.3061.3e-5198

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

How solid is it?

Leaving out one country at a time, r ranges from +0.237 (without TCD) to +0.305 (without MWI). 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: MWI (+0.035).

Fragile: this link may not hold up.
  • direction is not consistent across regions

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 & Pacific31-0.13
Europe & Central Asia52-0.17
Latin America & Caribbean38+0.24
Middle East, North Africa, Afghanistan & Pakistan22+0.56
Sub-Saharan Africa46+0.33

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 third66+0.54
Middle third66+0.42
Richest third66+0.38

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
Christians112+0.14
Muslims49+0.61

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.61
Never a European colony21+0.19
Spain20+0.65
United Kingdom63+0.18

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.198 after dropping 38 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 35years. 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.315) but mostly disappears in year-to-year changes (r = +0.011). That points to slow trends particular to each country, not the two measures moving together from year to year.

Across countries (adjusted)+0.270for comparison
Within countries+0.560each country vs itself
…and vs the same year elsewhere+0.315q = 3.0e-5 · 216 countries
Year-on-year changes+0.011q = 0.536
Read with care.
  • Almost all of the second indicator's variation is between countries, 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.

6,747 country-years (one country in one year), 216 countries, 1990–2024, about 31 years each on average. Share of the variation that happens within countries over time: 12% for Electricity access, 9% for Life expectancy. 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 Life expectancy trails Electricity access →lag -10: r = 0.236 (n = 5,350)lag -9: r = 0.251 (n = 5,521)lag -8: r = 0.264 (n = 5,686)lag -7: r = 0.268 (n = 5,845)lag -6: r = 0.279 (n = 5,998)lag -5: r = 0.286 (n = 6,147)lag -4: r = 0.297 (n = 6,285)lag -3: r = 0.301 (n = 6,417)lag -2: r = 0.306 (n = 6,540)lag -1: r = 0.311 (n = 6,649)lag +0: r = 0.315 (n = 6,747)lag +1: r = 0.306 (n = 6,532)lag +2: r = 0.295 (n = 6,317)lag +3: r = 0.302 (n = 6,102)lag +4: r = 0.299 (n = 5,887)lag +5: r = 0.292 (n = 5,672)lag +6: r = 0.283 (n = 5,457)lag +7: r = 0.271 (n = 5,242)lag +8: r = 0.263 (n = 5,027)lag +9: r = 0.256 (n = 4,812)lag +10: r = 0.255 (n = 4,597)

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


% of population

years
Years
Samoa WSM100%71.82024
Viet Nam VNM100%74.72024
Virgin Islands (U.S.) VIR100%80.82024
St. Vincent and the Grenadines VCT100%71.42024
Uzbekistan UZB100%72.52024
United States USA100%78.92024
Uruguay URY100%78.32024
Ukraine UKR100%74.72024
Tuvalu TUV100%67.32024
Turkiye TUR100%77.42024
Tunisia TUN100%76.72024
Trinidad and Tobago TTO100%73.62024
Tonga TON100%73.12024
Turkmenistan TKM100%70.22024
Thailand THA100%76.62024

World Bank, World Development Indicators
World Bank, World Development Indicators

Sources

Electricity access

Access to electricity (% of population)

World Bank · CC BY 4.0 · updated quarterly

Life expectancy

Life expectancy at birth, total (years)

World Bank · CC BY 4.0 · updated quarterly

How this was computed

Data used: most recent value in 2010-2025; values come from 2024. 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 Electricity access and Life expectancy

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

More links with Electricity access or Life expectancy