placestats

Basic sanitation vs. Tuberculosis incidence

Fades after adjusting for income

Across 195 countries, Basic sanitation and Tuberculosis incidence rise and fall together at r = -0.54 (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.24, which could easily be chance (q = 0.071, 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 sanitation, 69.4% to 99% of population, tuberculosis incidence is better by 91 per 100,000 people at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 56.6 per 100,000 people.

Link before adjusting (r)-0.539p = 4.1e-16 · 195 countries
After adjusting for national income-0.245p = 0.001 · likely range [-0.37, -0.11]
p, allowing for regions0.009standard error 0.065 · 7 regions
Check for luck (q)0.071across 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 sanitation · % of populationlink with income +0.79 · high
Tuberculosis incidence · per 100,000 peoplelink with income -0.67 · 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.

Every country as a dot

Basic sanitation · % of population →Tuberculosis incidence · per 100,000 people →10.4%100%0945Aruba: 98.8% of population, 8.3 per 100,000 peopleAfghanistan: 54.5% of population, 203 per 100,000 peopleAngola: 50.3% of population, 373 per 100,000 peopleAlbania: 99.3% of population, 15 per 100,000 peopleAndorra: 100% of population, 4.9 per 100,000 peopleUnited Arab Emirates: 99.1% of population, 0.63 per 100,000 peopleArgentina: 94.8% of population, 44 per 100,000 peopleArmenia: 93.7% of population, 19 per 100,000 peopleAntigua and Barbuda: 99.6% of population, 1.1 per 100,000 peopleAustralia: 100% of population, 6.9 per 100,000 peopleAustria: 100% of population, 4.9 per 100,000 peopleAzerbaijan: 99% of population, 64 per 100,000 peopleBurundi: 44.6% of population, 83 per 100,000 peopleBelgium: 99.5% of population, 2.7 per 100,000 peopleBenin: 22.2% of population, 40 per 100,000 peopleBurkina Faso: 31.8% of population, 57 per 100,000 peopleBangladesh: 67.6% of population, 221 per 100,000 peopleBulgaria: 86.1% of population, 12 per 100,000 peopleBahrain: 100% of population, 12 per 100,000 peopleBahamas, The: 93.7% of population, 18 per 100,000 peopleBosnia and Herzegovina: 95.4% of population, 21 per 100,000 peopleBelarus: 99.7% of population, 17 per 100,000 peopleBelize: 84.3% of population, 34 per 100,000 peopleBermuda: 99.9% of population, 3.1 per 100,000 peopleBolivia: 71.6% of population, 114 per 100,000 peopleBrazil: 92.4% of population, 49 per 100,000 peopleBarbados: 98.1% of population, 1 per 100,000 peopleBrunei Darussalam: 100% of population, 65 per 100,000 peopleBhutan: 86.8% of population, 191 per 100,000 peopleBotswana: 72.1% of population, 143 per 100,000 peopleCentral African Republic: 14% of population, 419 per 100,000 peopleCanada: 98.6% of population, 6.2 per 100,000 peopleSwitzerland: 99.9% of population, 5.4 per 100,000 peopleChile: 100% of population, 19 per 100,000 peopleChina: 97.3% of population, 49 per 100,000 peopleCote d'Ivoire: 40.4% of population, 99 per 100,000 peopleCameroon: 47.1% of population, 132 per 100,000 peopleCongo, Dem. Rep.: 16.3% of population, 377 per 100,000 peopleCongo, Rep.: 20.6% of population, 302 per 100,000 peopleColombia: 96.6% of population, 49 per 100,000 peopleComoros: 57.2% of population, 22 per 100,000 peopleCabo Verde: 83.1% of population, 47 per 100,000 peopleCosta Rica: 98.8% of population, 9.3 per 100,000 peopleCuracao: 99.2% of population, 2.8 per 100,000 peopleCayman Islands: 83.2% of population, 4.9 per 100,000 peopleCyprus: 99.5% of population, 5.5 per 100,000 peopleCzechia: 99.1% of population, 4.9 per 100,000 peopleGermany: 99.2% of population, 5.4 per 100,000 peopleDjibouti: 67% of population, 495 per 100,000 peopleDominica: 80.4% of population, 4.5 per 100,000 peopleDenmark: 99.6% of population, 3.2 per 100,000 peopleDominican Republic: 90.1% of population, 51 per 100,000 peopleAlgeria: 85.9% of population, 54 per 100,000 peopleEcuador: 91.2% of population, 66 per 100,000 peopleEgypt, Arab Rep.: 97.1% of population, 10 per 100,000 peopleSpain: 99.9% of population, 7.9 per 100,000 peopleEstonia: 99% of population, 8.2 per 100,000 peopleEthiopia: 10.4% of population, 141 per 100,000 peopleFinland: 99.4% of population, 3.7 per 100,000 peopleFiji: 92.8% of population, 104 per 100,000 peopleFrance: 98.6% of population, 7.8 per 100,000 peopleMicronesia, Fed. Sts.: 90.5% of population, 264 per 100,000 peopleGabon: 57.4% of population, 371 per 100,000 peopleUnited Kingdom: 99.1% of population, 9.7 per 100,000 peopleGeorgia: 90.7% of population, 45 per 100,000 peopleGhana: 31.6% of population, 126 per 100,000 peopleGuinea: 32.6% of population, 178 per 100,000 peopleGambia, The: 48.2% of population, 138 per 100,000 peopleGuinea-Bissau: 28.9% of population, 176 per 100,000 peopleEquatorial Guinea: 66.3% of population, 199 per 100,000 peopleGreece: 99% of population, 3.6 per 100,000 peopleGrenada: 92.6% of population, 1.7 per 100,000 peopleGreenland: 62.5% of population, 139 per 100,000 peopleGuatemala: 71.2% of population, 28 per 100,000 peopleGuyana: 91.3% of population, 67 per 100,000 peopleHong Kong SAR, China: 94.8% of population, 66 per 100,000 peopleHonduras: 87.7% of population, 38 per 100,000 peopleCroatia: 95.8% of population, 6.6 per 100,000 peopleHaiti: 29.1% of population, 175 per 100,000 peopleHungary: 98% of population, 5.6 per 100,000 peopleIndonesia: 88.2% of population, 382 per 100,000 peopleIndia: 83.4% of population, 187 per 100,000 peopleIreland: 89.7% of population, 6.2 per 100,000 peopleIran, Islamic Rep.: 90.5% of population, 10 per 100,000 peopleIraq: 98.5% of population, 21 per 100,000 peopleIceland: 98.8% of population, 3 per 100,000 peopleIsrael: 99.9% of population, 2.4 per 100,000 peopleItaly: 99.9% of population, 5 per 100,000 peopleJamaica: 91.6% of population, 2.3 per 100,000 peopleJordan: 96.4% of population, 3.5 per 100,000 peopleJapan: 99.9% of population, 9.8 per 100,000 peopleKazakhstan: 97.9% of population, 45 per 100,000 peopleKenya: 40.9% of population, 207 per 100,000 peopleKyrgyz Republic: 98.5% of population, 128 per 100,000 peopleCambodia: 83.3% of population, 272 per 100,000 peopleKiribati: 45.2% of population, 945 per 100,000 peopleSt. Kitts and Nevis: 95% of population, 1.1 per 100,000 peopleKorea, Rep.: 99.7% of population, 35 per 100,000 peopleKuwait: 100% of population, 10 per 100,000 peopleLao PDR: 88.7% of population, 127 per 100,000 peopleLebanon: 99.2% of population, 13 per 100,000 peopleLiberia: 23.3% of population, 207 per 100,000 peopleLibya: 88.5% of population, 63 per 100,000 peopleSt. Lucia: 83.4% of population, 0.56 per 100,000 peopleSri Lanka: 95.4% of population, 59 per 100,000 peopleLesotho: 47.9% of population, 548 per 100,000 peopleLithuania: 96.4% of population, 31 per 100,000 peopleLuxembourg: 97.6% of population, 7.5 per 100,000 peopleLatvia: 92.5% of population, 21 per 100,000 peopleMacao SAR, China: 100% of population, 59 per 100,000 peopleMorocco: 87.8% of population, 98 per 100,000 peopleMoldova: 86.9% of population, 64 per 100,000 peopleMadagascar: 15.4% of population, 224 per 100,000 peopleMaldives: 99.7% of population, 40 per 100,000 peopleMexico: 93% of population, 28 per 100,000 peopleMarshall Islands: 79% of population, 411 per 100,000 peopleNorth Macedonia: 99% of population, 11 per 100,000 peopleMali: 47.8% of population, 51 per 100,000 peopleMalta: 100% of population, 15 per 100,000 peopleMyanmar: 74.2% of population, 482 per 100,000 peopleMontenegro: 97.8% of population, 16 per 100,000 peopleMongolia: 74.3% of population, 446 per 100,000 peopleMozambique: 38.6% of population, 361 per 100,000 peopleMauritania: 58.7% of population, 65 per 100,000 peopleMauritius: 97.4% of population, 13 per 100,000 peopleMalawi: 49.2% of population, 113 per 100,000 peopleMalaysia: 96% of population, 96 per 100,000 peopleNamibia: 38.7% of population, 422 per 100,000 peopleNiger: 16.3% of population, 86 per 100,000 peopleNigeria: 47.9% of population, 219 per 100,000 peopleNetherlands: 97.7% of population, 4.7 per 100,000 peopleNorway: 98% of population, 3.3 per 100,000 peopleNepal: 86% of population, 227 per 100,000 peopleNaoero: 71.3% of population, 161 per 100,000 peopleNew Zealand: 100% of population, 7.9 per 100,000 peopleOman: 99.3% of population, 11 per 100,000 peoplePakistan: 71.9% of population, 266 per 100,000 peoplePanama: 89.1% of population, 63 per 100,000 peoplePeru: 78.8% of population, 139 per 100,000 peoplePhilippines: 87.2% of population, 625 per 100,000 peoplePalau: 99% of population, 28 per 100,000 peoplePapua New Guinea: 23.6% of population, 664 per 100,000 peoplePoland: 99% of population, 11 per 100,000 peoplePuerto Rico (US): 100% of population, 0.55 per 100,000 peoplePortugal: 99.7% of population, 15 per 100,000 peopleParaguay: 95.9% of population, 81 per 100,000 peopleWest Bank and Gaza: 99.4% of population, 0.29 per 100,000 peopleQatar: 99.9% of population, 37 per 100,000 peopleRomania: 90.5% of population, 60 per 100,000 peopleRussian Federation: 92.2% of population, 34 per 100,000 peopleRwanda: 81.3% of population, 62 per 100,000 peopleSaudi Arabia: 97.6% of population, 8.4 per 100,000 peopleSudan: 65.7% of population, 47 per 100,000 peopleSenegal: 62.5% of population, 132 per 100,000 peopleSingapore: 100% of population, 43 per 100,000 peopleSolomon Islands: 34.6% of population, 123 per 100,000 peopleSierra Leone: 24.9% of population, 372 per 100,000 peopleEl Salvador: 88% of population, 116 per 100,000 peopleSan Marino: 100% of population, 0 per 100,000 peopleSomalia, Fed. Rep.: 44.5% of population, 151 per 100,000 peopleSerbia: 97.9% of population, 8.7 per 100,000 peopleSao Tome and Principe: 48.7% of population, 87 per 100,000 peopleSuriname: 90% of population, 34 per 100,000 peopleSlovak Republic: 97.5% of population, 3.3 per 100,000 peopleSlovenia: 98.3% of population, 2.6 per 100,000 peopleSweden: 98.7% of population, 3.3 per 100,000 peopleEswatini: 64.5% of population, 319 per 100,000 peopleSint Maarten (Dutch part): 98.8% of population, 6.9 per 100,000 peopleSeychelles: 99.7% of population, 17 per 100,000 peopleSyrian Arab Republic: 95.6% of population, 23 per 100,000 peopleTurks and Caicos Islands: 93.2% of population, 8.6 per 100,000 peopleChad: 13.1% of population, 118 per 100,000 peopleTogo: 25.2% of population, 48 per 100,000 peopleThailand: 99.4% of population, 146 per 100,000 peopleTajikistan: 96% of population, 75 per 100,000 peopleTurkmenistan: 99.7% of population, 40 per 100,000 peopleTimor-Leste: 72.9% of population, 496 per 100,000 peopleTonga: 93.9% of population, 1.9 per 100,000 peopleTrinidad and Tobago: 94.2% of population, 27 per 100,000 peopleTunisia: 98.5% of population, 39 per 100,000 peopleTurkiye: 99.3% of population, 13 per 100,000 peopleTuvalu: 89.7% of population, 223 per 100,000 peopleTanzania: 37.2% of population, 172 per 100,000 peopleUganda: 23.9% of population, 197 per 100,000 peopleUkraine: 97.7% of population, 86 per 100,000 peopleUruguay: 99.2% of population, 47 per 100,000 peopleUnited States: 99.6% of population, 3.2 per 100,000 peopleUzbekistan: 96.5% of population, 51 per 100,000 peopleSt. Vincent and the Grenadines: 89.7% of population, 4.6 per 100,000 peopleViet Nam: 95.4% of population, 182 per 100,000 peopleVanuatu: 47.8% of population, 44 per 100,000 peopleSamoa: 97.1% of population, 5.5 per 100,000 peopleSouth Africa: 77.4% of population, 389 per 100,000 peopleZambia: 37.5% of population, 272 per 100,000 peopleZimbabwe: 34.6% of population, 203 per 100,000 peopleBENCAFISRKIRNERPHLPNGPRISMRTGOTLS

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted-0.5394.1e-16195
By rank (Spearman), not adjusted-0.7022.8e-30195
Standard (Pearson), adjusted for national income-0.2450.001195
By rank (Spearman), adjusted for national income-0.3738.2e-8195

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

How solid is it?

Leaving out one country at a time, r ranges from -0.275 (without PHL) to -0.212 (without PNG). 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: PNG (+0.032).

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.37
Europe & Central Asia51-0.71
Latin America & Caribbean36-0.46
Middle East, North Africa, Afghanistan & Pakistan22-0.78
Sub-Saharan Africa46-0.29

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 third65-0.21
Middle third65-0.47
Richest third65-0.59

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
Christians110-0.25
Muslims49-0.30

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.27
Never a European colony21-0.16
Spain19-0.07
United Kingdom63-0.44

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.306 after dropping 26 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 25years. 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.199) but mostly disappears in year-to-year changes (r = -0.048). That points to slow trends particular to each country, not the two measures moving together from year to year.

Across countries (adjusted)-0.245for comparison
Within countries-0.376each country vs itself
…and vs the same year elsewhere-0.199q = 0.006 · 207 countries
Year-on-year changes-0.048q = 0.031
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.

4,985 country-years (one country in one year), 207 countries, 2000–2024, about 24 years each on average. Share of the variation that happens within countries over time: 5% for Basic sanitation, 16% for Tuberculosis incidence. 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.30−0.3-100+10years Tuberculosis incidence trails Basic sanitation →lag -10: r = -0.166 (n = 2,955)lag -9: r = -0.174 (n = 3,161)lag -8: r = -0.182 (n = 3,363)lag -7: r = -0.189 (n = 3,565)lag -6: r = -0.190 (n = 3,767)lag -5: r = -0.196 (n = 3,969)lag -4: r = -0.199 (n = 4,170)lag -3: r = -0.200 (n = 4,381)lag -2: r = -0.200 (n = 4,584)lag -1: r = -0.200 (n = 4,786)lag +0: r = -0.199 (n = 4,985)lag +1: r = -0.206 (n = 4,800)lag +2: r = -0.210 (n = 4,613)lag +3: r = -0.203 (n = 4,423)lag +4: r = -0.199 (n = 4,231)lag +5: r = -0.192 (n = 4,034)lag +6: r = -0.187 (n = 3,840)lag +7: r = -0.181 (n = 3,640)lag +8: r = -0.173 (n = 3,436)lag +9: r = -0.161 (n = 3,234)lag +10: r = -0.154 (n = 3,028)

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

per 100,000 people
Years
San Marino SMR100%02024
Singapore SGP100%432024
Puerto Rico (US) PRI100%0.552024
New Zealand NZL100%7.92024
Malta MLT100%152024
Macao SAR, China MAC100%592024
Kuwait KWT100%102024
Brunei Darussalam BRN100%652024
Bahrain BHR100%122024
Australia AUS100%6.92024
Andorra AND100%4.92024
Chile CHL100%192024
Austria AUT100%4.92024
Japan JPN99.9%9.82024
Bermuda BMU99.9%3.12024

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

Sources

Basic sanitation

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

World Bank · CC BY 4.0 · updated quarterly

Tuberculosis incidence

Incidence of tuberculosis (per 100,000 people)

World Health Organization · CC BY 4.0 · updated quarterly

How this was computed

Data used: most recent value in 2010-2025; values come from 2016–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 Basic sanitation and Tuberculosis incidence

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

More links with Basic sanitation or Tuberculosis incidence