placestats

Electricity access vs. Out of school, primary

Holds up after adjusting for income

Across 186 countries, Electricity access and Out of school, primary rise and fall together at r = -0.50 (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.26 (q = 0.0036, allowing for the many pairs tested). Much of the first figure is that both measures rise with national income, but a weak negative link remains.

Comparing countries across the middle half of electricity access, 91.8% to 100% of population, out of school, primary is better by 2.2% of primary-age children at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 1.44% of primary-age children.

Link before adjusting (r)-0.504p = 2.3e-13 · 186 countries
After adjusting for national income-0.256p = 0.000 · likely range [-0.39, -0.12]
p, allowing for regions5.9e-5standard error 0.026 · 7 regions
Check for luck (q)0.004across 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
Out of school, primary · % of primary-age childrenlink with income -0.45 · moderate

“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 →Out of school, primary · % of primary-age children →13.4%100%0.00387%65.6%Aruba: 100% of population, 1.76% of primary-age childrenAngola: 55.5% of population, 36.8% of primary-age childrenAlbania: 100% of population, 0.488% of primary-age childrenAndorra: 100% of population, 2.41% of primary-age childrenUnited Arab Emirates: 100% of population, 0.00387% of primary-age childrenArgentina: 98.4% of population, 0.735% of primary-age childrenArmenia: 100% of population, 1.08% of primary-age childrenAntigua and Barbuda: 100% of population, 1.71% of primary-age childrenAustralia: 100% of population, 0.124% of primary-age childrenAustria: 100% of population, 1.43% of primary-age childrenAzerbaijan: 100% of population, 0.0266% of primary-age childrenBurundi: 20.1% of population, 26.5% of primary-age childrenBelgium: 100% of population, 1.66% of primary-age childrenBenin: 59% of population, 9.61% of primary-age childrenBurkina Faso: 34% of population, 34.3% of primary-age childrenBangladesh: 99.5% of population, 5.86% of primary-age childrenBulgaria: 100% of population, 5.9% of primary-age childrenBahrain: 100% of population, 4.75% of primary-age childrenBahamas, The: 100% of population, 15.9% of primary-age childrenBosnia and Herzegovina: 100% of population, 2.1% of primary-age childrenBelarus: 100% of population, 4.49% of primary-age childrenBelize: 99.6% of population, 10.7% of primary-age childrenBermuda: 100% of population, 3.41% of primary-age childrenBolivia: 96.6% of population, 9.25% of primary-age childrenBrazil: 99.8% of population, 2.19% of primary-age childrenBarbados: 100% of population, 17.6% of primary-age childrenBrunei Darussalam: 100% of population, 3.61% of primary-age childrenBhutan: 100% of population, 10.5% of primary-age childrenBotswana: 80.2% of population, 0.535% of primary-age childrenCentral African Republic: 18.2% of population, 37.9% of primary-age childrenCanada: 100% of population, 4.99% of primary-age childrenSwitzerland: 100% of population, 0.143% of primary-age childrenChile: 99% of population, 2.12% of primary-age childrenCote d'Ivoire: 72.9% of population, 12.6% of primary-age childrenCameroon: 72% of population, 3.76% of primary-age childrenCongo, Rep.: 53% of population, 17.1% of primary-age childrenColombia: 98.9% of population, 7.32% of primary-age childrenComoros: 91.7% of population, 20.6% of primary-age childrenCabo Verde: 98.4% of population, 41.8% of primary-age childrenCosta Rica: 99.8% of population, 4.49% of primary-age childrenCuracao: 100% of population, 27.9% of primary-age childrenCayman Islands: 100% of population, 5.17% of primary-age childrenCyprus: 100% of population, 0.425% of primary-age childrenCzechia: 100% of population, 0.809% of primary-age childrenGermany: 100% of population, 0.274% of primary-age childrenDominica: 100% of population, 3.95% of primary-age childrenDenmark: 100% of population, 0.893% of primary-age childrenDominican Republic: 99.5% of population, 4.93% of primary-age childrenAlgeria: 100% of population, 1.57% of primary-age childrenEcuador: 98.5% of population, 4.72% of primary-age childrenEgypt, Arab Rep.: 100% of population, 3.51% of primary-age childrenSpain: 100% of population, 1.24% of primary-age childrenEstonia: 100% of population, 3.39% of primary-age childrenEthiopia: 56.6% of population, 22.5% of primary-age childrenFinland: 100% of population, 1.77% of primary-age childrenFiji: 95.9% of population, 2.39% of primary-age childrenFrance: 100% of population, 0.204% of primary-age childrenMicronesia, Fed. Sts.: 88.9% of population, 23.1% of primary-age childrenGabon: 95.1% of population, 28.8% of primary-age childrenUnited Kingdom: 100% of population, 0.0698% of primary-age childrenGeorgia: 100% of population, 6.17% of primary-age childrenGhana: 91.9% of population, 4.77% of primary-age childrenGuinea: 53.8% of population, 14.7% of primary-age childrenGambia, The: 69% of population, 16.9% of primary-age childrenGuinea-Bissau: 43.7% of population, 30.5% of primary-age childrenEquatorial Guinea: 65.1% of population, 65.6% of primary-age childrenGreece: 100% of population, 0.11% of primary-age childrenGrenada: 95.6% of population, 4.94% of primary-age childrenGuatemala: 90.9% of population, 8.43% of primary-age childrenGuyana: 93% of population, 18% of primary-age childrenHong Kong SAR, China: 100% of population, 1.4% of primary-age childrenHonduras: 95.5% of population, 26.6% of primary-age childrenCroatia: 100% of population, 1.81% of primary-age childrenHungary: 100% of population, 2.81% of primary-age childrenIndonesia: 99.9% of population, 0.877% of primary-age childrenIndia: 99.9% of population, 0.119% of primary-age childrenIreland: 100% of population, 1.81% of primary-age childrenIran, Islamic Rep.: 100% of population, 0.103% of primary-age childrenIceland: 100% of population, 1.82% of primary-age childrenIsrael: 100% of population, 2.66% of primary-age childrenItaly: 100% of population, 2.06% of primary-age childrenJamaica: 97.7% of population, 4.34% of primary-age childrenJordan: 100% of population, 1.89% of primary-age childrenJapan: 100% of population, 0.0684% of primary-age childrenKazakhstan: 100% of population, 7.91% of primary-age childrenKenya: 77% of population, 32.9% of primary-age childrenKyrgyz Republic: 100% of population, 2.96% of primary-age childrenCambodia: 99.2% of population, 3.69% of primary-age childrenKiribati: 97.7% of population, 8.71% of primary-age childrenKorea, Rep.: 100% of population, 0.0557% of primary-age childrenKuwait: 100% of population, 7.47% of primary-age childrenLao PDR: 96.5% of population, 10.4% of primary-age childrenLebanon: 100% of population, 22.5% of primary-age childrenLiberia: 34.9% of population, 38.3% of primary-age childrenSt. Lucia: 100% of population, 7.01% of primary-age childrenSri Lanka: 100% of population, 9.14% of primary-age childrenLesotho: 60.6% of population, 32.2% of primary-age childrenLithuania: 100% of population, 0.13% of primary-age childrenLuxembourg: 100% of population, 0.256% of primary-age childrenLatvia: 100% of population, 2.74% of primary-age childrenMacao SAR, China: 100% of population, 10.8% of primary-age childrenMorocco: 100% of population, 0.471% of primary-age childrenMoldova: 100% of population, 0.463% of primary-age childrenMadagascar: 42.5% of population, 3.4% of primary-age childrenMaldives: 100% of population, 0.946% of primary-age childrenMexico: 99.8% of population, 0.363% of primary-age childrenMarshall Islands: 97.2% of population, 1.48% of primary-age childrenNorth Macedonia: 100% of population, 3.79% of primary-age childrenMali: 49.5% of population, 34% of primary-age childrenMalta: 100% of population, 2.64% of primary-age childrenMyanmar: 80.4% of population, 1.41% of primary-age childrenMontenegro: 100% of population, 0.218% of primary-age childrenMongolia: 99.1% of population, 8.56% of primary-age childrenMozambique: 36.9% of population, 1% of primary-age childrenMauritania: 52.2% of population, 11.3% of primary-age childrenMauritius: 100% of population, 0.785% of primary-age childrenMalawi: 15.6% of population, 2.09% of primary-age childrenMalaysia: 100% of population, 12% of primary-age childrenNamibia: 59.3% of population, 0.865% of primary-age childrenNiger: 21.3% of population, 40.4% of primary-age childrenNigeria: 62.5% of population, 24.3% of primary-age childrenNicaragua: 88.7% of population, 6.66% of primary-age childrenNetherlands: 100% of population, 0.519% of primary-age childrenNorway: 100% of population, 1.38% of primary-age childrenNepal: 97.9% of population, 0.762% of primary-age childrenNaoero: 100% of population, 6.6% of primary-age childrenNew Zealand: 100% of population, 2.62% of primary-age childrenOman: 100% of population, 5.76% of primary-age childrenPakistan: 95.7% of population, 17.9% of primary-age childrenPanama: 96% of population, 7.7% of primary-age childrenPeru: 96.5% of population, 0.156% of primary-age childrenPhilippines: 94.8% of population, 11.6% of primary-age childrenPalau: 100% of population, 1.33% of primary-age childrenPapua New Guinea: 43.3% of population, 4% of primary-age childrenPoland: 100% of population, 0.0917% of primary-age childrenPuerto Rico (US): 100% of population, 13.3% of primary-age childrenPortugal: 100% of population, 0.508% of primary-age childrenParaguay: 99.8% of population, 13.3% of primary-age childrenWest Bank and Gaza: 100% of population, 9.56% of primary-age childrenQatar: 100% of population, 4.62% of primary-age childrenRomania: 100% of population, 15.6% of primary-age childrenRussian Federation: 100% of population, 4.94% of primary-age childrenRwanda: 72% of population, 0.97% of primary-age childrenSaudi Arabia: 100% of population, 0.527% of primary-age childrenSudan: 66% of population, 43.8% of primary-age childrenSenegal: 82.9% of population, 24.5% of primary-age childrenSingapore: 100% of population, 0.212% of primary-age childrenSolomon Islands: 81.5% of population, 30.1% of primary-age childrenSierra Leone: 39.2% of population, 0.888% of primary-age childrenEl Salvador: 98.7% of population, 8.66% of primary-age childrenSan Marino: 100% of population, 6.13% of primary-age childrenSerbia: 100% of population, 3.33% of primary-age childrenSao Tome and Principe: 77.7% of population, 2.88% of primary-age childrenSuriname: 99% of population, 16.2% of primary-age childrenSlovak Republic: 100% of population, 1.06% of primary-age childrenSlovenia: 100% of population, 1.45% of primary-age childrenSweden: 100% of population, 0.57% of primary-age childrenEswatini: 89.3% of population, 3.83% of primary-age childrenSint Maarten (Dutch part): 100% of population, 6.78% of primary-age childrenSeychelles: 100% of population, 6.8% of primary-age childrenSyrian Arab Republic: 89.3% of population, 21.8% of primary-age childrenTurks and Caicos Islands: 100% of population, 0.133% of primary-age childrenChad: 13.4% of population, 24.8% of primary-age childrenTogo: 61.1% of population, 0.639% of primary-age childrenThailand: 100% of population, 0.817% of primary-age childrenTajikistan: 99.9% of population, 4.15% of primary-age childrenTurkmenistan: 100% of population, 4.31% of primary-age childrenTimor-Leste: 94.3% of population, 6.88% of primary-age childrenTonga: 100% of population, 2.28% of primary-age childrenTrinidad and Tobago: 100% of population, 7.16% of primary-age childrenTunisia: 100% of population, 1.09% of primary-age childrenTurkiye: 100% of population, 0.603% of primary-age childrenTuvalu: 100% of population, 0.537% of primary-age childrenTanzania: 52.4% of population, 16.4% of primary-age childrenUganda: 55.3% of population, 4.12% of primary-age childrenUkraine: 100% of population, 12.9% of primary-age childrenUruguay: 100% of population, 0.0355% of primary-age childrenUnited States: 100% of population, 3.98% of primary-age childrenUzbekistan: 100% of population, 0.655% of primary-age childrenSt. Vincent and the Grenadines: 100% of population, 0.59% of primary-age childrenViet Nam: 100% of population, 1.73% of primary-age childrenVanuatu: 65.5% of population, 2.53% of primary-age childrenSamoa: 100% of population, 1.81% of primary-age childrenSouth Africa: 90.2% of population, 6.06% of primary-age childrenZambia: 53.6% of population, 3.51% of primary-age childrenZimbabwe: 62% of population, 10.5% of primary-age childrenAREAZECAFCPVCUWGNQMOZMWINERSLEURY

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted-0.5042.3e-13186
By rank (Spearman), not adjusted-0.4947.8e-13186
Standard (Pearson), adjusted for national income-0.2560.000186
By rank (Spearman), adjusted for national income-0.2560.000186

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

How solid is it?

Leaving out one country at a time, r ranges from -0.297 (without MWI) to -0.228 (without NER). 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.040).

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.01
Europe & Central Asia50+0.04
Latin America & Caribbean35-0.12
Middle East, North Africa, Afghanistan & Pakistan18-0.55
Sub-Saharan Africa44-0.11

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.14
Middle third62-0.63
Richest third62-0.47

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
Christians109-0.10
Muslims44-0.43

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
France23-0.24
Never a European colony19-0.91
Spain20-0.88
United Kingdom59+0.03

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

Across countries (adjusted)-0.256for comparison
Within countries-0.371each country vs itself
…and vs the same year elsewhere-0.219q = 0.005 · 184 countries
Year-on-year changes-0.013q = 0.786
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.
  • The association is much weaker in year-on-year changes than in levels, which points to shared country-specific trends.

3,513 country-years (one country in one year), 184 countries, 1990–2024, about 19 years each on average. Share of the variation that happens within countries over time: 8% for Electricity access, 24% for Out of school, primary. 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 Out of school, primary trails Electricity access →lag -10: r = -0.394 (n = 2,265)lag -9: r = -0.378 (n = 2,405)lag -8: r = -0.367 (n = 2,528)lag -7: r = -0.342 (n = 2,669)lag -6: r = -0.333 (n = 2,810)lag -5: r = -0.313 (n = 2,945)lag -4: r = -0.307 (n = 3,081)lag -3: r = -0.287 (n = 3,209)lag -2: r = -0.268 (n = 3,332)lag -1: r = -0.245 (n = 3,445)lag +0: r = -0.219 (n = 3,513)lag +1: r = -0.206 (n = 3,473)lag +2: r = -0.198 (n = 3,419)lag +3: r = -0.195 (n = 3,358)lag +4: r = -0.180 (n = 3,296)lag +5: r = -0.176 (n = 3,234)lag +6: r = -0.173 (n = 3,168)lag +7: r = -0.164 (n = 3,094)lag +8: r = -0.147 (n = 3,013)lag +9: r = -0.120 (n = 2,930)lag +10: r = -0.104 (n = 2,829)

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

% of primary-age children
Years
Samoa WSM100%1.81%2024
Viet Nam VNM100%1.73%2024
St. Vincent and the Grenadines VCT100%0.59%2024, 2017
Uzbekistan UZB100%0.655%2024, 2025
United States USA100%3.98%2024, 2022
Uruguay URY100%0.0355%2024, 2023
Ukraine UKR100%12.9%2024
Tuvalu TUV100%0.537%2024
Turkiye TUR100%0.603%2024, 2023
Tunisia TUN100%1.09%2024, 2023
Trinidad and Tobago TTO100%7.16%2024
Tonga TON100%2.28%2024, 2022
Turkmenistan TKM100%4.31%2024
Thailand THA100%0.817%2024, 2025
Turks and Caicos Islands TCA100%0.133%2024

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

Out of school, primary

Children out of school (% of primary school age)

UNESCO Institute for Statistics · CC BY 4.0 · updated quarterly

Children of primary-school age not enrolled at any level. Treated as measuring the same thing as gross primary enrolment, which is on the site. They are two ways of asking whether children are in school, so their agreement is not a finding.

How this was computed

Data used: most recent value in 2010-2025; values come from 2010–2025. 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 Out of school, primary

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

More links with Electricity access or Out of school, primary