placestats

Basic sanitation vs. Equality score

Holds up after adjusting for income

Key points

Across 161 countries, where basic sanitation is higher, equality score tends to be higher (r = +0.72, 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.45 (q = 0.013, 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. Caution: direction is not consistent across regions.

Comparing countries across the middle half of basic sanitation, 64.5% to 98.5% of population, equality score is better by 0.717 typical gaps at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 0.55 typical gaps.

Before and after adjusting for income

Before adjusting +0.72
Comparing countries with similar income +0.45
Each dot is the link on a scale from −1 to +1. The closer a dot sits to the middle line, the weaker the link. The shaded band is the likely range. A band that crosses the middle line means the link could easily be chance.

Every country as a dot

Basic sanitation · % of population →Equality score · typical gaps (standard deviations) →10.4%100%-2.511.06Angola: 50.3% of population, -1.52 typical gaps (standard deviations)Albania: 99.3% of population, 0.74 typical gaps (standard deviations)United Arab Emirates: 99.1% of population, 0.92 typical gaps (standard deviations)Argentina: 94.8% of population, -0.0243 typical gaps (standard deviations)Armenia: 93.7% of population, 0.842 typical gaps (standard deviations)Australia: 100% of population, 0.472 typical gaps (standard deviations)Austria: 100% of population, 0.632 typical gaps (standard deviations)Burundi: 44.6% of population, -1.63 typical gaps (standard deviations)Belgium: 99.5% of population, 0.895 typical gaps (standard deviations)Benin: 22.2% of population, -0.24 typical gaps (standard deviations)Burkina Faso: 31.8% of population, -0.796 typical gaps (standard deviations)Bangladesh: 67.6% of population, 0.51 typical gaps (standard deviations)Bulgaria: 86.1% of population, 0.142 typical gaps (standard deviations)Bosnia and Herzegovina: 95.4% of population, 0.688 typical gaps (standard deviations)Belarus: 99.7% of population, 1.03 typical gaps (standard deviations)Belize: 84.3% of population, 0.119 typical gaps (standard deviations)Bolivia: 71.6% of population, 0.0335 typical gaps (standard deviations)Brazil: 92.4% of population, -0.529 typical gaps (standard deviations)Barbados: 98.1% of population, 0.434 typical gaps (standard deviations)Bhutan: 86.8% of population, 0.799 typical gaps (standard deviations)Botswana: 72.1% of population, -1.27 typical gaps (standard deviations)Central African Republic: 14% of population, -1.88 typical gaps (standard deviations)Canada: 98.6% of population, 0.62 typical gaps (standard deviations)Switzerland: 99.9% of population, 0.51 typical gaps (standard deviations)Chile: 100% of population, -0.0433 typical gaps (standard deviations)China: 97.3% of population, 0.369 typical gaps (standard deviations)Cote d'Ivoire: 40.4% of population, -0.127 typical gaps (standard deviations)Cameroon: 47.1% of population, -0.675 typical gaps (standard deviations)Congo, Dem. Rep.: 16.3% of population, -2.33 typical gaps (standard deviations)Congo, Rep.: 20.6% of population, -1.38 typical gaps (standard deviations)Colombia: 96.6% of population, -0.906 typical gaps (standard deviations)Comoros: 57.2% of population, 0.565 typical gaps (standard deviations)Cabo Verde: 83.1% of population, -0.375 typical gaps (standard deviations)Costa Rica: 98.8% of population, -0.197 typical gaps (standard deviations)Cyprus: 99.5% of population, 0.61 typical gaps (standard deviations)Czechia: 99.1% of population, 0.96 typical gaps (standard deviations)Germany: 99.2% of population, 0.483 typical gaps (standard deviations)Djibouti: 67% of population, -0.607 typical gaps (standard deviations)Denmark: 99.6% of population, 0.709 typical gaps (standard deviations)Dominican Republic: 90.1% of population, 0.176 typical gaps (standard deviations)Algeria: 85.9% of population, 0.851 typical gaps (standard deviations)Ecuador: 91.2% of population, -0.287 typical gaps (standard deviations)Egypt, Arab Rep.: 97.1% of population, 0.763 typical gaps (standard deviations)Spain: 99.9% of population, 0.498 typical gaps (standard deviations)Estonia: 99% of population, 0.665 typical gaps (standard deviations)Ethiopia: 10.4% of population, -0.344 typical gaps (standard deviations)Finland: 99.4% of population, 0.857 typical gaps (standard deviations)Fiji: 92.8% of population, 0.552 typical gaps (standard deviations)France: 98.6% of population, 0.607 typical gaps (standard deviations)Micronesia, Fed. Sts.: 90.5% of population, -0.539 typical gaps (standard deviations)Gabon: 57.4% of population, 0.156 typical gaps (standard deviations)United Kingdom: 99.1% of population, 0.565 typical gaps (standard deviations)Georgia: 90.7% of population, 0.381 typical gaps (standard deviations)Ghana: 31.6% of population, -1.07 typical gaps (standard deviations)Guinea: 32.6% of population, 0.435 typical gaps (standard deviations)Gambia, The: 48.2% of population, -0.359 typical gaps (standard deviations)Guinea-Bissau: 28.9% of population, -0.51 typical gaps (standard deviations)Equatorial Guinea: 66.3% of population, -0.00131 typical gaps (standard deviations)Greece: 99% of population, 0.503 typical gaps (standard deviations)Grenada: 92.6% of population, -0.0995 typical gaps (standard deviations)Guatemala: 71.2% of population, -0.409 typical gaps (standard deviations)Honduras: 87.7% of population, -0.592 typical gaps (standard deviations)Croatia: 95.8% of population, 0.7 typical gaps (standard deviations)Haiti: 29.1% of population, -0.965 typical gaps (standard deviations)Hungary: 98% of population, 0.656 typical gaps (standard deviations)Indonesia: 88.2% of population, 0.365 typical gaps (standard deviations)India: 83.4% of population, 1.05 typical gaps (standard deviations)Ireland: 89.7% of population, 0.768 typical gaps (standard deviations)Iran, Islamic Rep.: 90.5% of population, 0.31 typical gaps (standard deviations)Iraq: 98.5% of population, 0.712 typical gaps (standard deviations)Iceland: 98.8% of population, 0.895 typical gaps (standard deviations)Israel: 99.9% of population, 0.227 typical gaps (standard deviations)Italy: 99.9% of population, 0.443 typical gaps (standard deviations)Jamaica: 91.6% of population, 0.109 typical gaps (standard deviations)Jordan: 96.4% of population, 0.498 typical gaps (standard deviations)Japan: 99.9% of population, 0.55 typical gaps (standard deviations)Kazakhstan: 97.9% of population, 0.759 typical gaps (standard deviations)Kenya: 40.9% of population, -0.947 typical gaps (standard deviations)Kyrgyz Republic: 98.5% of population, 0.8 typical gaps (standard deviations)Kiribati: 45.2% of population, 0.994 typical gaps (standard deviations)Korea, Rep.: 99.7% of population, 0.544 typical gaps (standard deviations)Lao PDR: 88.7% of population, 0.261 typical gaps (standard deviations)Lebanon: 99.2% of population, 0.248 typical gaps (standard deviations)Liberia: 23.3% of population, -0.456 typical gaps (standard deviations)St. Lucia: 83.4% of population, -0.0757 typical gaps (standard deviations)Sri Lanka: 95.4% of population, 0.202 typical gaps (standard deviations)Lesotho: 47.9% of population, -1.22 typical gaps (standard deviations)Lithuania: 96.4% of population, 0.341 typical gaps (standard deviations)Luxembourg: 97.6% of population, 0.504 typical gaps (standard deviations)Latvia: 92.5% of population, 0.473 typical gaps (standard deviations)Morocco: 87.8% of population, 0.0727 typical gaps (standard deviations)Moldova: 86.9% of population, 0.897 typical gaps (standard deviations)Madagascar: 15.4% of population, -1.46 typical gaps (standard deviations)Maldives: 99.7% of population, 0.754 typical gaps (standard deviations)Mexico: 93% of population, -0.0512 typical gaps (standard deviations)Marshall Islands: 79% of population, 0.344 typical gaps (standard deviations)North Macedonia: 99% of population, 0.412 typical gaps (standard deviations)Mali: 47.8% of population, -0.544 typical gaps (standard deviations)Malta: 100% of population, 0.6 typical gaps (standard deviations)Myanmar: 74.2% of population, 0.408 typical gaps (standard deviations)Montenegro: 97.8% of population, 0.402 typical gaps (standard deviations)Mongolia: 74.3% of population, 0.623 typical gaps (standard deviations)Mozambique: 38.6% of population, -2.51 typical gaps (standard deviations)Mauritania: 58.7% of population, 0.336 typical gaps (standard deviations)Mauritius: 97.4% of population, 0.31 typical gaps (standard deviations)Malawi: 49.2% of population, -1.72 typical gaps (standard deviations)Malaysia: 96% of population, 0.0991 typical gaps (standard deviations)Namibia: 38.7% of population, -1.55 typical gaps (standard deviations)Niger: 16.3% of population, -1.01 typical gaps (standard deviations)Nigeria: 47.9% of population, -0.587 typical gaps (standard deviations)Netherlands: 97.7% of population, 0.958 typical gaps (standard deviations)Norway: 98% of population, 0.909 typical gaps (standard deviations)Nepal: 86% of population, 0.652 typical gaps (standard deviations)Naoero: 71.3% of population, 0.326 typical gaps (standard deviations)Pakistan: 71.9% of population, -0.0801 typical gaps (standard deviations)Panama: 89.1% of population, -0.497 typical gaps (standard deviations)Peru: 78.8% of population, 0.00216 typical gaps (standard deviations)Philippines: 87.2% of population, 0.0429 typical gaps (standard deviations)Poland: 99% of population, 0.794 typical gaps (standard deviations)Portugal: 99.7% of population, 0.479 typical gaps (standard deviations)Paraguay: 95.9% of population, -0.156 typical gaps (standard deviations)West Bank and Gaza: 99.4% of population, 0.292 typical gaps (standard deviations)Qatar: 99.9% of population, 0.421 typical gaps (standard deviations)Romania: 90.5% of population, 0.707 typical gaps (standard deviations)Russian Federation: 92.2% of population, 0.539 typical gaps (standard deviations)Rwanda: 81.3% of population, -0.821 typical gaps (standard deviations)Sudan: 65.7% of population, 0.212 typical gaps (standard deviations)Senegal: 62.5% of population, -0.104 typical gaps (standard deviations)Solomon Islands: 34.6% of population, -0.732 typical gaps (standard deviations)Sierra Leone: 24.9% of population, -0.683 typical gaps (standard deviations)El Salvador: 88% of population, 0.0323 typical gaps (standard deviations)Serbia: 97.9% of population, 0.524 typical gaps (standard deviations)Sao Tome and Principe: 48.7% of population, -0.236 typical gaps (standard deviations)Suriname: 90% of population, 0.129 typical gaps (standard deviations)Slovak Republic: 97.5% of population, 1.06 typical gaps (standard deviations)Slovenia: 98.3% of population, 1.02 typical gaps (standard deviations)Sweden: 98.7% of population, 0.733 typical gaps (standard deviations)Eswatini: 64.5% of population, -1.85 typical gaps (standard deviations)Seychelles: 99.7% of population, 0.575 typical gaps (standard deviations)Syrian Arab Republic: 95.6% of population, 0.456 typical gaps (standard deviations)Chad: 13.1% of population, -0.729 typical gaps (standard deviations)Togo: 25.2% of population, -0.634 typical gaps (standard deviations)Thailand: 99.4% of population, 0.524 typical gaps (standard deviations)Tajikistan: 96% of population, 0.206 typical gaps (standard deviations)Timor-Leste: 72.9% of population, -0.346 typical gaps (standard deviations)Tonga: 93.9% of population, 0.87 typical gaps (standard deviations)Tunisia: 98.5% of population, 0.483 typical gaps (standard deviations)Turkiye: 99.3% of population, -0.0783 typical gaps (standard deviations)Tuvalu: 89.7% of population, -0.0409 typical gaps (standard deviations)Tanzania: 37.2% of population, -1.21 typical gaps (standard deviations)Uganda: 23.9% of population, -1.16 typical gaps (standard deviations)Ukraine: 97.7% of population, 0.966 typical gaps (standard deviations)Uruguay: 99.2% of population, 0.134 typical gaps (standard deviations)United States: 99.6% of population, 0.00761 typical gaps (standard deviations)Uzbekistan: 96.5% of population, 0.499 typical gaps (standard deviations)Viet Nam: 95.4% of population, 0.322 typical gaps (standard deviations)Vanuatu: 47.8% of population, 0.079 typical gaps (standard deviations)Samoa: 97.1% of population, 0.098 typical gaps (standard deviations)South Africa: 77.4% of population, -1.12 typical gaps (standard deviations)Zambia: 37.5% of population, -2.37 typical gaps (standard deviations)Zimbabwe: 34.6% of population, -1.72 typical gaps (standard deviations)BLRCAFCODCOLETHGINKIRMOZSVKSVNSWZ

best-fit line line after adjusting

One dot for each country. The dashed line is the straight line that best fits the dots. The solid line is the link after adjusting for national income. A dot far from the lines is a country that does not follow the pattern.

The figures

Link before adjusting (r)+0.721p = 3.7e-27 · 161 countries
After adjusting for national income+0.447p = 3.1e-9 · likely range [+0.31, +0.56]
p, allowing for regions0.000standard error 0.066 · 7 regions
Check for luck (q)0.013across 18,622 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 sanitation · % of populationlink with income +0.79 · high
Equality score · typical gaps (standard deviations)link with income +0.64 · high

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.

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted+0.7213.7e-27161
By rank (Spearman), not adjusted+0.6611.4e-21161
Standard (Pearson), adjusted for national income+0.4473.1e-9161
By rank (Spearman), adjusted for national income+0.3096.9e-5161

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

How solid is it?

Leaving out one country at a time, r ranges from +0.429 (without NAM) to +0.468 (without GIN). 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: GIN (+0.021).

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 & Pacific23-0.10
Europe & Central Asia46+0.11
Latin America & Caribbean23+0.19
Middle East, North Africa, Afghanistan & Pakistan16+0.64
Sub-Saharan Africa45+0.18

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 third54+0.42
Middle third53+0.55
Richest third54+0.19

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
Christians102+0.33
Muslims39+0.62

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
France24+0.48
Never a European colony16+0.61
Spain19-0.23
United Kingdom48+0.64

By official ideology

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
Nationalist22+0.71
No strong official ideology107+0.43

By party system

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
A few parties banned24+0.21
No parties banned114+0.49

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.460 after dropping 7 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 0 years. 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
Malta MLT100%0.62024, 2023
Australia AUS100%0.4722024, 2020
Chile CHL100%-0.04332024
Austria AUT100%0.6322024, 2023
Japan JPN99.9%0.552024, 2020
Qatar QAT99.9%0.4212024, 2017
Israel ISR99.9%0.2272024, 2022
Spain ESP99.9%0.4982024, 2023
Switzerland CHE99.9%0.512024, 2023
Italy ITA99.9%0.4432024, 2023
Belarus BLR99.7%1.032024, 2020
Korea, Rep. KOR99.7%0.5442024, 2021
Maldives MDV99.7%0.7542024, 2019
Seychelles SYC99.7%0.5752024, 2018
Portugal PRT99.7%0.4792024, 2023

World Bank, World Development Indicators
wdi

Sources

Basic sanitation

People using at least basic sanitation services (% of population)

World Bank · CC BY 4.0 · updated quarterly

Equality score

Equality score

PlaceStats · via PlaceStats · Derived work; each member keeps its own licence · updated recomputed with the panel

The average of 2 measures from 1 publisher. 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: Extreme poverty rate, Gini index.

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 18,622 pairs at once, using the Benjamini–Hochberg method. Underlying data last updated V-Dem v16; V-Party v2. How the country data works · explore Basic sanitation and Equality score

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

Share or cite this

Put this chart on your site

Paste this code into a web page to show the chart, with a credit and a link back here. See what it looks like.

Cite this page

PlaceStats. (2026). Basic sanitation vs Equality score by Country. Data: World Bank; PlaceStats. https://placestats.org/correlates/basic-sanitation-vs-equality-score/ (accessed 1 December 2026).

More links with Basic sanitation or Equality score