placestats

Infrastructure score vs. Slum share of urban population

Fades after adjusting for income

Across 183 countries, Infrastructure score and Slum share of urban population 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.35, which could easily be chance (q = 0.067, 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. Slum share of urban population is one of the measures Infrastructure score is built from, so the two are bound to match. Their link is arithmetic, not a relationship between two things.

Comparing countries across the middle half of slum share of urban population, 0.572% to 44.3% of urban population, infrastructure score is worse by 0.914 typical gaps at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 0.261 typical gaps.

Link before adjusting (r)-0.770p = 3.3e-37 · 183 countries
After adjusting for national income-0.350p = 1.3e-6 · likely range [-0.47, -0.22]
p, allowing for regions0.014standard error 0.103 · 7 regions
Check for luck (q)0.067across 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.

Infrastructure score · typical gaps (standard deviations)link with income +0.90 · proxy
Slum share of urban population · % of urban populationlink with income -0.78 · 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.

Built from the same numbers. Slum share of urban population is one of the measures Infrastructure score is built from, so the two are bound to match. Their link is arithmetic, not a relationship between two things.

Every country as a dot

Infrastructure score · typical gaps (standard deviations) →Slum share of urban population · % of urban population →-1.011.780%92.5%Aruba: 0.917 typical gaps (standard deviations), 0% of urban populationAfghanistan: 0.116 typical gaps (standard deviations), 71.6% of urban populationAngola: -0.152 typical gaps (standard deviations), 62.7% of urban populationAlbania: 1.14 typical gaps (standard deviations), 2.7% of urban populationAndorra: 1.78 typical gaps (standard deviations), 0% of urban populationUnited Arab Emirates: 1.61 typical gaps (standard deviations), 0.113% of urban populationArgentina: 1.25 typical gaps (standard deviations), 14.5% of urban populationArmenia: 1.09 typical gaps (standard deviations), 8.39% of urban populationAntigua and Barbuda: 0.859 typical gaps (standard deviations), 2.65% of urban populationAustralia: 1.5 typical gaps (standard deviations), 0.035% of urban populationAustria: 1.37 typical gaps (standard deviations), 0.0466% of urban populationAzerbaijan: 1.19 typical gaps (standard deviations), 26.9% of urban populationBurundi: -0.835 typical gaps (standard deviations), 36.8% of urban populationBelgium: 1.64 typical gaps (standard deviations), 0% of urban populationBenin: 0.00537 typical gaps (standard deviations), 64% of urban populationBurkina Faso: -0.245 typical gaps (standard deviations), 87.9% of urban populationBangladesh: 0.649 typical gaps (standard deviations), 51.5% of urban populationBulgaria: 1.25 typical gaps (standard deviations), 0.197% of urban populationBahrain: 1.17 typical gaps (standard deviations), 0% of urban populationBosnia and Herzegovina: 1.29 typical gaps (standard deviations), 0.313% of urban populationBelarus: 1.48 typical gaps (standard deviations), 0.004% of urban populationBelize: 0.573 typical gaps (standard deviations), 15.7% of urban populationBermuda: 1.68 typical gaps (standard deviations), 0.0776% of urban populationBolivia: 0.886 typical gaps (standard deviations), 46.6% of urban populationBrazil: 1.18 typical gaps (standard deviations), 14.9% of urban populationBrunei Darussalam: 1.22 typical gaps (standard deviations), 21.6% of urban populationBhutan: 0.847 typical gaps (standard deviations), 44.7% of urban populationBotswana: 0.5 typical gaps (standard deviations), 39.6% of urban populationCentral African Republic: -1.01 typical gaps (standard deviations), 68.9% of urban populationCanada: 1.56 typical gaps (standard deviations), 1.1% of urban populationSwitzerland: 1.7 typical gaps (standard deviations), 0% of urban populationChile: 1.25 typical gaps (standard deviations), 7.32% of urban populationChina: 1.66 typical gaps (standard deviations), 26.3% of urban populationCote d'Ivoire: 0.207 typical gaps (standard deviations), 48.3% of urban populationCameroon: 0.557 typical gaps (standard deviations), 32.7% of urban populationCongo, Dem. Rep.: -0.672 typical gaps (standard deviations), 78.4% of urban populationCongo, Rep.: 0.312 typical gaps (standard deviations), 75.3% of urban populationColombia: 1.01 typical gaps (standard deviations), 9.7% of urban populationComoros: 0.259 typical gaps (standard deviations), 48.5% of urban populationCabo Verde: 0.806 typical gaps (standard deviations), 46.4% of urban populationCosta Rica: 1.19 typical gaps (standard deviations), 3.55% of urban populationCayman Islands: 1.58 typical gaps (standard deviations), 5.48% of urban populationCyprus: 1.47 typical gaps (standard deviations), 0.272% of urban populationCzechia: 1.48 typical gaps (standard deviations), 0.0273% of urban populationGermany: 1.65 typical gaps (standard deviations), 0% of urban populationDjibouti: 0.0105 typical gaps (standard deviations), 48.7% of urban populationDenmark: 1.65 typical gaps (standard deviations), 0% of urban populationDominican Republic: 0.956 typical gaps (standard deviations), 11.2% of urban populationAlgeria: 0.932 typical gaps (standard deviations), 13.2% of urban populationEcuador: 0.989 typical gaps (standard deviations), 57.8% of urban populationEgypt, Arab Rep.: 0.864 typical gaps (standard deviations), 3.84% of urban populationSpain: 1.55 typical gaps (standard deviations), 0.046% of urban populationEstonia: 1.45 typical gaps (standard deviations), 0.345% of urban populationEthiopia: -0.309 typical gaps (standard deviations), 64.3% of urban populationFinland: 1.48 typical gaps (standard deviations), 0% of urban populationFiji: 0.665 typical gaps (standard deviations), 9.4% of urban populationFrance: 1.7 typical gaps (standard deviations), 0% of urban populationGabon: 0.665 typical gaps (standard deviations), 38.8% of urban populationUnited Kingdom: 1.6 typical gaps (standard deviations), 0.163% of urban populationGeorgia: 1.29 typical gaps (standard deviations), 7.08% of urban populationGhana: 0.59 typical gaps (standard deviations), 33.5% of urban populationGuinea: 0.156 typical gaps (standard deviations), 44% of urban populationGambia, The: 0.215 typical gaps (standard deviations), 37.1% of urban populationGuinea-Bissau: -0.158 typical gaps (standard deviations), 59% of urban populationEquatorial Guinea: -0.269 typical gaps (standard deviations), 64.7% of urban populationGreece: 1.57 typical gaps (standard deviations), 0.05% of urban populationGuatemala: 0.576 typical gaps (standard deviations), 37.6% of urban populationGuyana: 0.809 typical gaps (standard deviations), 11.3% of urban populationHonduras: 0.417 typical gaps (standard deviations), 31.5% of urban populationCroatia: 1.28 typical gaps (standard deviations), 0.527% of urban populationHaiti: -0.312 typical gaps (standard deviations), 51.1% of urban populationHungary: 1.5 typical gaps (standard deviations), 7.2% of urban populationIndonesia: 0.742 typical gaps (standard deviations), 19.4% of urban populationIndia: 0.527 typical gaps (standard deviations), 5.41% of urban populationIreland: 1.43 typical gaps (standard deviations), 8.5% of urban populationIran, Islamic Rep.: 0.97 typical gaps (standard deviations), 44.7% of urban populationIraq: 1.04 typical gaps (standard deviations), 49.3% of urban populationIceland: 1.53 typical gaps (standard deviations), 0% of urban populationItaly: 1.36 typical gaps (standard deviations), 0.02% of urban populationJamaica: 1.06 typical gaps (standard deviations), 0.883% of urban populationJordan: 0.776 typical gaps (standard deviations), 23.4% of urban populationJapan: 1.45 typical gaps (standard deviations), 2% of urban populationKazakhstan: 1.09 typical gaps (standard deviations), 0.794% of urban populationKenya: 0.22 typical gaps (standard deviations), 40.5% of urban populationKyrgyz Republic: 0.943 typical gaps (standard deviations), 2.44% of urban populationCambodia: 0.689 typical gaps (standard deviations), 42.3% of urban populationKiribati: 0.485 typical gaps (standard deviations), 5.93% of urban populationKorea, Rep.: 1.72 typical gaps (standard deviations), 4.5% of urban populationKuwait: 0.878 typical gaps (standard deviations), 0% of urban populationLao PDR: 0.399 typical gaps (standard deviations), 54.8% of urban populationLebanon: 0.731 typical gaps (standard deviations), 4.53% of urban populationLiberia: -0.767 typical gaps (standard deviations), 60.5% of urban populationLibya: 0.512 typical gaps (standard deviations), 16.6% of urban populationSt. Lucia: 0.881 typical gaps (standard deviations), 0.441% of urban populationSri Lanka: 0.669 typical gaps (standard deviations), 44.7% of urban populationLesotho: -0.0187 typical gaps (standard deviations), 25.6% of urban populationLithuania: 1.29 typical gaps (standard deviations), 0.509% of urban populationLuxembourg: 1.59 typical gaps (standard deviations), 0.0173% of urban populationLatvia: 1.28 typical gaps (standard deviations), 0.593% of urban populationMorocco: 0.928 typical gaps (standard deviations), 10.9% of urban populationMoldova: 1.23 typical gaps (standard deviations), 6.5% of urban populationMadagascar: -0.434 typical gaps (standard deviations), 65.7% of urban populationMaldives: 1.11 typical gaps (standard deviations), 34.8% of urban populationMexico: 1.13 typical gaps (standard deviations), 17.6% of urban populationMarshall Islands: 0.406 typical gaps (standard deviations), 2.38% of urban populationNorth Macedonia: 1.36 typical gaps (standard deviations), 0.278% of urban populationMali: -0.495 typical gaps (standard deviations), 92.5% of urban populationMalta: 1.63 typical gaps (standard deviations), 0.0375% of urban populationMyanmar: 0.298 typical gaps (standard deviations), 58.3% of urban populationMontenegro: 1.37 typical gaps (standard deviations), 8.77% of urban populationMongolia: 1.03 typical gaps (standard deviations), 17.9% of urban populationMozambique: -0.592 typical gaps (standard deviations), 55% of urban populationMauritania: 0.0018 typical gaps (standard deviations), 58.6% of urban populationMauritius: 1.17 typical gaps (standard deviations), 48.7% of urban populationMalawi: -0.672 typical gaps (standard deviations), 38% of urban populationMalaysia: 1.09 typical gaps (standard deviations), 0.2% of urban populationNamibia: 0.203 typical gaps (standard deviations), 41.4% of urban populationNiger: -0.7 typical gaps (standard deviations), 70.4% of urban populationNigeria: -0.0861 typical gaps (standard deviations), 48.5% of urban populationNicaragua: 0.574 typical gaps (standard deviations), 5.52% of urban populationNetherlands: 1.63 typical gaps (standard deviations), 0% of urban populationNorway: 1.68 typical gaps (standard deviations), 0% of urban populationNepal: 0.616 typical gaps (standard deviations), 40.1% of urban populationNaoero: 0.872 typical gaps (standard deviations), 0.597% of urban populationNew Zealand: 1.51 typical gaps (standard deviations), 0% of urban populationOman: 1.03 typical gaps (standard deviations), 0% of urban populationPakistan: 0.386 typical gaps (standard deviations), 56% of urban populationPanama: 0.927 typical gaps (standard deviations), 16.3% of urban populationPeru: 0.907 typical gaps (standard deviations), 45.1% of urban populationPhilippines: 0.696 typical gaps (standard deviations), 35.9% of urban populationPalau: 0.865 typical gaps (standard deviations), 0.618% of urban populationPapua New Guinea: -0.611 typical gaps (standard deviations), 22.3% of urban populationPoland: 1.24 typical gaps (standard deviations), 4.22% of urban populationPortugal: 1.6 typical gaps (standard deviations), 0.059% of urban populationParaguay: 0.928 typical gaps (standard deviations), 15.1% of urban populationWest Bank and Gaza: 0.774 typical gaps (standard deviations), 19.5% of urban populationQatar: 1.06 typical gaps (standard deviations), 0% of urban populationRomania: 1.45 typical gaps (standard deviations), 2.52% of urban populationRussian Federation: 1.32 typical gaps (standard deviations), 2.62% of urban populationRwanda: 0.0662 typical gaps (standard deviations), 38.3% of urban populationSaudi Arabia: 1.67 typical gaps (standard deviations), 0.55% of urban populationSudan: -0.572 typical gaps (standard deviations), 73.7% of urban populationSenegal: 0.482 typical gaps (standard deviations), 46.4% of urban populationSingapore: 1.33 typical gaps (standard deviations), 0% of urban populationSolomon Islands: 0.0941 typical gaps (standard deviations), 1.95% of urban populationSierra Leone: -0.336 typical gaps (standard deviations), 49.3% of urban populationEl Salvador: 0.822 typical gaps (standard deviations), 16.5% of urban populationSomalia, Fed. Rep.: -0.395 typical gaps (standard deviations), 48.7% of urban populationSerbia: 1.38 typical gaps (standard deviations), 1.42% of urban populationSao Tome and Principe: 0.187 typical gaps (standard deviations), 82.4% of urban populationSuriname: 0.901 typical gaps (standard deviations), 15.8% of urban populationSlovak Republic: 1.4 typical gaps (standard deviations), 0.066% of urban populationSlovenia: 1.42 typical gaps (standard deviations), 0.527% of urban populationSweden: 1.57 typical gaps (standard deviations), 0.336% of urban populationEswatini: 0.534 typical gaps (standard deviations), 17% of urban populationSint Maarten (Dutch part): 1.04 typical gaps (standard deviations), 2.89% of urban populationSeychelles: 1.35 typical gaps (standard deviations), 48.7% of urban populationSyrian Arab Republic: 0.27 typical gaps (standard deviations), 41.1% of urban populationChad: -0.72 typical gaps (standard deviations), 82% of urban populationTogo: -0.0274 typical gaps (standard deviations), 38.5% of urban populationThailand: 1.06 typical gaps (standard deviations), 2% of urban populationTajikistan: 0.389 typical gaps (standard deviations), 0.05% of urban populationTurkmenistan: 0.294 typical gaps (standard deviations), 8.38% of urban populationTimor-Leste: 0.389 typical gaps (standard deviations), 33.9% of urban populationTonga: 0.595 typical gaps (standard deviations), 0.308% of urban populationTrinidad and Tobago: 1.22 typical gaps (standard deviations), 8.63% of urban populationTunisia: 0.956 typical gaps (standard deviations), 7.64% of urban populationTurkiye: 1.19 typical gaps (standard deviations), 14.1% of urban populationTuvalu: 0.208 typical gaps (standard deviations), 50.9% of urban populationTanzania: -0.0741 typical gaps (standard deviations), 70.1% of urban populationUganda: -0.319 typical gaps (standard deviations), 52.7% of urban populationUkraine: 0.97 typical gaps (standard deviations), 1.1% of urban populationUruguay: 1.41 typical gaps (standard deviations), 1.3% of urban populationUnited States: 1.53 typical gaps (standard deviations), 0.0932% of urban populationUzbekistan: 1.42 typical gaps (standard deviations), 7.1% of urban populationSt. Vincent and the Grenadines: 1.22 typical gaps (standard deviations), 2.76% of urban populationVirgin Islands (U.S.): 0.721 typical gaps (standard deviations), 1.1% of urban populationViet Nam: 1.17 typical gaps (standard deviations), 32.5% of urban populationVanuatu: -0.0444 typical gaps (standard deviations), 3.06% of urban populationSamoa: 0.0591 typical gaps (standard deviations), 34.6% of urban populationSouth Africa: 0.709 typical gaps (standard deviations), 24.2% of urban populationZambia: -0.161 typical gaps (standard deviations), 48.3% of urban populationZimbabwe: 0.0863 typical gaps (standard deviations), 54.9% of urban populationANDCAFCHEECUFRAMLIMUSPNGSLBSYCTCDVUT

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted-0.7703.3e-37183
By rank (Spearman), not adjusted-0.7756.3e-38183
Standard (Pearson), adjusted for national income-0.3501.3e-6183
By rank (Spearman), adjusted for national income-0.2530.001183

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

How solid is it?

Leaving out one country at a time, r ranges from -0.376 (without PNG) to -0.319 (without GNQ). 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: GNQ (+0.031).

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 & Pacific28-0.07
Europe & Central Asia49-0.17
Latin America & Caribbean30-0.13
Middle East, North Africa, Afghanistan & Pakistan21-0.23
Sub-Saharan Africa46-0.42

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 third61-0.44
Middle third61-0.28
Richest third61-0.17

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
Christians106-0.39
Muslims49-0.49

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.52
Never a European colony21-0.11
Spain19-0.51
United Kingdom57-0.22

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.350 after dropping 0 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


typical gaps (standard deviations)

% of urban population
Years
Andorra AND1.780%2024, 2022
Korea, Rep. KOR1.724.5%2024, 2022
Switzerland CHE1.70%2024, 2022
France FRA1.70%2024, 2022
Bermuda BMU1.680.0776%2024, 2022
Norway NOR1.680%2024, 2022
Saudi Arabia SAU1.670.55%2024, 2022
China CHN1.6626.3%2024, 2022
Denmark DNK1.650%2024, 2022
Germany DEU1.650%2024, 2022
Belgium BEL1.640%2024, 2022
Malta MLT1.630.0375%2024, 2022
Netherlands NLD1.630%2024, 2022
United Arab Emirates ARE1.610.113%2024, 2022
Portugal PRT1.60.059%2024, 2022

wdi
World Bank, World Development Indicators

Sources

Infrastructure score

Infrastructure score

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

The average of 5 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: Electricity access, Slum share of urban population, Mobile subscriptions, Fixed broadband, Internet users.

Slum share of urban population

Population living in slums (% of urban population)

UN-Habitat · CC BY 4.0 · updated quarterly

How this was computed

Data used: most recent value in 2010-2025; values come from 2012–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 Infrastructure score and Slum share of urban population

This page shows that two measures go together. It does not show that Infrastructure score changes Slum share of urban population, or the reverse. These figures also describe countries, not individual people. See the ecological fallacy.

More links with Infrastructure score or Slum share of urban population