placestats

Electricity access vs. Expected schooling

Fades after adjusting for income

Across 187 countries, Electricity access and Expected schooling rise and fall together at r = +0.64 (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.15, which could easily be chance (q = 0.29, 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.

Comparing countries across the middle half of expected schooling, 11.5 to 15.9 years, electricity access is better by 20.1% of population at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 5.26% of population.

Link before adjusting (r)+0.645p = 2.4e-23 · 187 countries
After adjusting for national income+0.155p = 0.035 · likely range [+0.01, +0.29]
p, allowing for regions0.028standard error 0.054 · 7 regions
Check for luck (q)0.285across 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
Expected schooling · yearslink with income +0.81 · 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 →Expected schooling · years →13.4%100%6.2120.8Afghanistan: 87.8% of population, 10.8 yearsAngola: 55.5% of population, 12.2 yearsAlbania: 100% of population, 14.5 yearsAndorra: 100% of population, 14.5 yearsUnited Arab Emirates: 100% of population, 15.6 yearsArgentina: 98.4% of population, 18.8 yearsArmenia: 100% of population, 14.4 yearsAntigua and Barbuda: 100% of population, 15.5 yearsAustralia: 100% of population, 20.7 yearsAustria: 100% of population, 16.3 yearsAzerbaijan: 100% of population, 12.9 yearsBurundi: 20.1% of population, 9.83 yearsBelgium: 100% of population, 19 yearsBenin: 59% of population, 10.4 yearsBurkina Faso: 34% of population, 8.73 yearsBangladesh: 99.5% of population, 12.3 yearsBulgaria: 100% of population, 15.3 yearsBahrain: 100% of population, 15.9 yearsBahamas, The: 100% of population, 11.9 yearsBosnia and Herzegovina: 100% of population, 13.2 yearsBelarus: 100% of population, 13.7 yearsBelize: 99.6% of population, 12 yearsBolivia: 96.6% of population, 15.6 yearsBrazil: 99.8% of population, 15.8 yearsBarbados: 100% of population, 16.6 yearsBrunei Darussalam: 100% of population, 13.7 yearsBhutan: 100% of population, 13.2 yearsBotswana: 80.2% of population, 11.4 yearsCentral African Republic: 18.2% of population, 7.44 yearsCanada: 100% of population, 15.9 yearsSwitzerland: 100% of population, 16.7 yearsChile: 99% of population, 16.9 yearsChina: 100% of population, 15.5 yearsCote d'Ivoire: 72.9% of population, 11.4 yearsCameroon: 72% of population, 10.8 yearsCongo, Dem. Rep.: 22.5% of population, 10.9 yearsCongo, Rep.: 53% of population, 12.7 yearsColombia: 98.9% of population, 14.3 yearsComoros: 91.7% of population, 13.3 yearsCabo Verde: 98.4% of population, 11.4 yearsCosta Rica: 99.8% of population, 16.3 yearsCyprus: 100% of population, 16.2 yearsCzechia: 100% of population, 16.8 yearsGermany: 100% of population, 17.3 yearsDjibouti: 69.2% of population, 6.21 yearsDominica: 100% of population, 14.2 yearsDenmark: 100% of population, 18.7 yearsDominican Republic: 99.5% of population, 13.6 yearsAlgeria: 100% of population, 15.5 yearsEcuador: 98.5% of population, 14.9 yearsEgypt, Arab Rep.: 100% of population, 13.1 yearsSpain: 100% of population, 17.8 yearsEstonia: 100% of population, 16 yearsEthiopia: 56.6% of population, 9.22 yearsFinland: 100% of population, 19.5 yearsFiji: 95.9% of population, 13.8 yearsFrance: 100% of population, 16.1 yearsMicronesia, Fed. Sts.: 88.9% of population, 11.5 yearsGabon: 95.1% of population, 12.5 yearsUnited Kingdom: 100% of population, 17.8 yearsGeorgia: 100% of population, 16.8 yearsGhana: 91.9% of population, 11.4 yearsGuinea: 53.8% of population, 10.4 yearsGambia, The: 69% of population, 8.98 yearsGuinea-Bissau: 43.7% of population, 10.6 yearsEquatorial Guinea: 65.1% of population, 12.5 yearsGreece: 100% of population, 20.8 yearsGrenada: 95.6% of population, 16.6 yearsGuatemala: 90.9% of population, 10.7 yearsGuyana: 93% of population, 13 yearsHong Kong SAR, China: 100% of population, 16.9 yearsHonduras: 95.5% of population, 10.2 yearsCroatia: 100% of population, 16.3 yearsHaiti: 53.9% of population, 10.9 yearsHungary: 100% of population, 15.5 yearsIndonesia: 99.9% of population, 13.3 yearsIndia: 99.9% of population, 13 yearsIreland: 100% of population, 19.2 yearsIran, Islamic Rep.: 100% of population, 14 yearsIraq: 100% of population, 12.4 yearsIceland: 100% of population, 18.9 yearsIsrael: 100% of population, 14.9 yearsItaly: 100% of population, 16.7 yearsJamaica: 97.7% of population, 12.4 yearsJordan: 100% of population, 13.1 yearsJapan: 100% of population, 15.5 yearsKazakhstan: 100% of population, 14 yearsKenya: 77% of population, 11.5 yearsKyrgyz Republic: 100% of population, 12.7 yearsCambodia: 99.2% of population, 11.2 yearsKiribati: 97.7% of population, 11.9 yearsSt. Kitts and Nevis: 100% of population, 18.4 yearsKorea, Rep.: 100% of population, 16.6 yearsKuwait: 100% of population, 15.9 yearsLao PDR: 96.5% of population, 9.61 yearsLebanon: 100% of population, 11.7 yearsLiberia: 34.9% of population, 10.5 yearsLibya: 77.4% of population, 12.9 yearsSt. Lucia: 100% of population, 12.7 yearsSri Lanka: 100% of population, 13.1 yearsLesotho: 60.6% of population, 11 yearsLithuania: 100% of population, 16.5 yearsLuxembourg: 100% of population, 14.4 yearsLatvia: 100% of population, 16.5 yearsMorocco: 100% of population, 15.1 yearsMoldova: 100% of population, 14.6 yearsMadagascar: 42.5% of population, 9.06 yearsMaldives: 100% of population, 12.8 yearsMexico: 99.8% of population, 14.5 yearsMarshall Islands: 97.2% of population, 16.4 yearsNorth Macedonia: 100% of population, 14.8 yearsMali: 49.5% of population, 7.01 yearsMalta: 100% of population, 15.9 yearsMyanmar: 80.4% of population, 11.5 yearsMontenegro: 100% of population, 15.5 yearsMongolia: 99.1% of population, 13.6 yearsMozambique: 36.9% of population, 10.8 yearsMauritania: 52.2% of population, 7.95 yearsMauritius: 100% of population, 14.2 yearsMalawi: 15.6% of population, 9.9 yearsMalaysia: 100% of population, 12.7 yearsNamibia: 59.3% of population, 11.8 yearsNiger: 21.3% of population, 8.31 yearsNigeria: 62.5% of population, 10.5 yearsNicaragua: 88.7% of population, 11.5 yearsNetherlands: 100% of population, 18.6 yearsNorway: 100% of population, 18.8 yearsNepal: 97.9% of population, 13.8 yearsNaoero: 100% of population, 12.8 yearsNew Zealand: 100% of population, 19.3 yearsOman: 100% of population, 13.4 yearsPakistan: 95.7% of population, 7.9 yearsPanama: 96% of population, 13.3 yearsPeru: 96.5% of population, 14.9 yearsPhilippines: 94.8% of population, 12.8 yearsPalau: 100% of population, 14.1 yearsPapua New Guinea: 43.3% of population, 11.5 yearsPoland: 100% of population, 16.7 yearsPortugal: 100% of population, 17.5 yearsParaguay: 99.8% of population, 14 yearsWest Bank and Gaza: 100% of population, 13 yearsQatar: 100% of population, 13.1 yearsRomania: 100% of population, 14.1 yearsRussian Federation: 100% of population, 13.2 yearsRwanda: 72% of population, 12.6 yearsSaudi Arabia: 100% of population, 16.9 yearsSudan: 66% of population, 8.62 yearsSenegal: 82.9% of population, 9.14 yearsSingapore: 100% of population, 16.7 yearsSolomon Islands: 81.5% of population, 11.3 yearsSierra Leone: 39.2% of population, 9.06 yearsEl Salvador: 98.7% of population, 11.1 yearsSan Marino: 100% of population, 14.6 yearsSomalia, Fed. Rep.: 54.4% of population, 7.49 yearsSerbia: 100% of population, 15 yearsSao Tome and Principe: 77.7% of population, 12.9 yearsSuriname: 99% of population, 11 yearsSlovak Republic: 100% of population, 14.9 yearsSlovenia: 100% of population, 17.5 yearsSweden: 100% of population, 19 yearsEswatini: 89.3% of population, 15.2 yearsSeychelles: 100% of population, 18.2 yearsSyrian Arab Republic: 89.3% of population, 7.42 yearsChad: 13.4% of population, 8.35 yearsTogo: 61.1% of population, 13.1 yearsThailand: 100% of population, 15.4 yearsTajikistan: 99.9% of population, 10.8 yearsTurkmenistan: 100% of population, 13.2 yearsTimor-Leste: 94.3% of population, 13.3 yearsTonga: 100% of population, 17.8 yearsTrinidad and Tobago: 100% of population, 14.2 yearsTunisia: 100% of population, 14.7 yearsTurkiye: 100% of population, 19.8 yearsTuvalu: 100% of population, 12.4 yearsTanzania: 52.4% of population, 8.59 yearsUganda: 55.3% of population, 11.6 yearsUkraine: 100% of population, 13.3 yearsUruguay: 100% of population, 17.5 yearsUnited States: 100% of population, 15.9 yearsUzbekistan: 100% of population, 12.5 yearsSt. Vincent and the Grenadines: 100% of population, 16.3 yearsViet Nam: 100% of population, 15.5 yearsVanuatu: 65.5% of population, 11.8 yearsSamoa: 100% of population, 12.4 yearsSouth Africa: 90.2% of population, 13.8 yearsZambia: 53.6% of population, 11 yearsZimbabwe: 62% of population, 11.1 yearsAUSBDICAFCODGRCLAOMWINERPAKSYRTCDTUR

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted+0.6452.4e-23187
By rank (Spearman), not adjusted+0.7443.5e-34187
Standard (Pearson), adjusted for national income+0.1550.035187
By rank (Spearman), adjusted for national income+0.2740.000187

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

How solid is it?

Leaving out one country at a time, r ranges from +0.134 (without TON) to +0.174 (without PAK). 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.020).

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 & Pacific30+0.11
Europe & Central Asia50+0.03
Latin America & Caribbean31+0.11
Middle East, North Africa, Afghanistan & Pakistan22+0.56
Sub-Saharan Africa46+0.22

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 third63+0.32
Middle third62+0.14
Richest third62+0.28

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.08
Muslims49+0.36

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.19
Never a European colony21+0.04
Spain20+0.27
United Kingdom63+0.23

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.155 after dropping 37 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.156) but mostly disappears in year-to-year changes (r = +0.024). That points to slow trends particular to each country, not the two measures moving together from year to year.

Across countries (adjusted)+0.155for comparison
Within countries+0.490each country vs itself
…and vs the same year elsewhere+0.156q = 0.035 · 194 countries
Year-on-year changes+0.024q = 0.361
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.

5,676 country-years (one country in one year), 194 countries, 1990–2023, about 29 years each on average. Share of the variation that happens within countries over time: 17% for Electricity access, 9% for Expected schooling. 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.20−0.2-100+10years Expected schooling trails Electricity access →lag -10: r = 0.195 (n = 4,560)lag -9: r = 0.193 (n = 4,722)lag -8: r = 0.193 (n = 4,879)lag -7: r = 0.188 (n = 5,030)lag -6: r = 0.183 (n = 5,176)lag -5: r = 0.178 (n = 5,313)lag -4: r = 0.176 (n = 5,443)lag -3: r = 0.172 (n = 5,567)lag -2: r = 0.167 (n = 5,681)lag -1: r = 0.159 (n = 5,781)lag +0: r = 0.156 (n = 5,676)lag +1: r = 0.156 (n = 5,497)lag +2: r = 0.154 (n = 5,318)lag +3: r = 0.151 (n = 5,139)lag +4: r = 0.147 (n = 4,957)lag +5: r = 0.146 (n = 4,775)lag +6: r = 0.143 (n = 4,590)lag +7: r = 0.140 (n = 4,405)lag +8: r = 0.139 (n = 4,220)lag +9: r = 0.135 (n = 4,035)lag +10: r = 0.131 (n = 3,850)

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

This curve peaks at the edge of the window (lag -10), so it is still drifting where the search stops. That pattern usually reflects a slow trend left over in the data, not a link with real timing. The peak value should not be read as the “true” link at the right lag.

The data


% of population

years
Years
Samoa WSM100%12.42024, 2023
Viet Nam VNM100%15.52024, 2023
St. Vincent and the Grenadines VCT100%16.32024, 2023
Uzbekistan UZB100%12.52024, 2023
United States USA100%15.92024, 2023
Uruguay URY100%17.52024, 2023
Ukraine UKR100%13.32024, 2023
Tuvalu TUV100%12.42024, 2023
Turkiye TUR100%19.82024, 2023
Tunisia TUN100%14.72024, 2023
Trinidad and Tobago TTO100%14.22024, 2023
Tonga TON100%17.82024, 2023
Turkmenistan TKM100%13.22024, 2023
Thailand THA100%15.42024, 2023
Seychelles SYC100%18.22024, 2023

World Bank, World Development Indicators
United Nations Development Programme, Human Development Report 2025

Sources

Electricity access

Access to electricity (% of population)

World Bank · CC BY 4.0 · updated quarterly

Expected schooling

Expected years of schooling

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

The years a child starting school today can expect to spend in it, if current enrolment rates hold. It is a forecast built from the same UNESCO enrolment figures the site already has, so it moves with them.

How this was computed

Data used: most recent value in 2010-2025; values come from 2023–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 Expected schooling

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

More links with Electricity access or Expected schooling