Across 190 countries, Basic water access and Education score rise and fall together at r = +0.77 (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.39, which could easily be chance (q = 0.058, 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 basic water access, 87.4% to 99.7% of population, education score is better by 0.45 typical gaps at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 0.208 typical gaps.
Link before adjusting (r)+0.771p = 1.1e-38 · 190 countries
After adjusting for national income+0.385p = 4.4e-8 · likely range [+0.26, +0.50]
p, allowing for regions0.007standard error 0.095 · 7 regions
Check for luck (q)0.058across 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.
Basic water access · % of populationlink with income +0.85 · proxy
Education score · typical gaps (standard deviations)link 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
best-fit line line after adjusting
Four ways to measure the link
Method
r
p
Countries
Standard (Pearson), not adjusted
+0.771
1.1e-38
190
By rank (Spearman), not adjusted
+0.763
2.0e-37
190
Standard (Pearson), adjusted for national income
+0.385
4.4e-8
190
By rank (Spearman), adjusted for national income
+0.229
0.002
190
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 190 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.386 (a minus sign means it grew).
How solid is it?
Leaving out one country at a time, r ranges from +0.357 (without GNQ) to +0.426 (without COD). 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: COD (+0.041).
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.
n
r
East Asia & Pacific
31
+0.33
Europe & Central Asia
50
-0.03
Latin America & Caribbean
33
+0.17
Middle East, North Africa, Afghanistan & Pakistan
21
+0.64
Sub-Saharan Africa
46
+0.04
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.
n
r
Poorest third
64
+0.26
Middle third
63
+0.42
Richest third
63
+0.24
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.
n
r
Christians
108
+0.45
Muslims
48
+0.44
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.
n
r
France
24
+0.00
Never a European colony
21
+0.58
Spain
19
+0.82
United Kingdom
62
+0.29
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.349 after dropping 24 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 0years. So a link here can’t come from anything about a country that stays the same, such as its history, geography, institutions or culture.
Not enough history inside each country to look at this over time. That needs countries measured for several years in a row, and at least one of these measures is measured too rarely.
The data
% of population
typical gaps (standard deviations)
Years
Thailand THA
100%
0.764
2024, 2025
Singapore SGP
100%
1.26
2024, 2023
Puerto Rico (US) PRI
100%
0.956
2024, 2016
New Zealand NZL
100%
1.44
2024, 2023
Norway NOR
100%
1
2024
Netherlands NLD
100%
1.27
2024, 2023
Malta MLT
100%
0.945
2024, 2023
Macao SAR, China MAC
100%
0.965
2024
Luxembourg LUX
100%
0.66
2024
Kuwait KWT
100%
0.25
2024, 2020
Korea, Rep. KOR
100%
1.03
2024
Iceland ISL
100%
1.26
2024, 2023
Hungary HUN
100%
0.83
2024
Hong Kong SAR, China HKG
100%
1.34
2024
Greece GRC
100%
1.31
2024, 2023
World Bank, World Development Indicators uis; undp_hdr; wdi
PlaceStats · via PlaceStats · Derived work; each member keeps its own licence · updated recomputed with the panel
The average of 10 measures from 3 publishers. Each measure is first put on a common scale: 0 is the average country in an average year, and 1 is a typical gap between countries (a standard deviation). Each is turned so that higher is better. Measures are averaged within each publisher first, so a publisher with many measures does not count for more. Members: Primary completion, Expected schooling, Mean years of schooling, Adult literacy, Pupil-teacher ratio, Primary enrollment, Out of school, primary, Secondary enrollment, Tertiary enrollment, Researchers.
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 Basic water access and Education score
This page shows that two measures go together. It does not show that Basic water access changes Education score, or the reverse. These figures also describe countries, not individual people. See the ecological fallacy.
More links with Basic water access or Education score