placestats

Rule of law vs. Slum share of urban population

Fades after adjusting for income

Across 182 countries, Rule of law and Slum share of urban population rise and fall together at r = -0.63 (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.21, which could easily be chance (q = 0.43, 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 slum share of urban population, 0.561% to 44.5% of urban population, rule of law is worse by 1.09 points at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 0.387 points.

Link before adjusting (r)-0.628p = 2.6e-21 · 182 countries
After adjusting for national income-0.214p = 0.004 · likely range [-0.35, -0.07]
p, allowing for regions0.278standard error 0.179 · 7 regions
Check for luck (q)0.433across 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.

Rule of law · index (approx. -2.5 to 2.5)link with income +0.72 · high
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.

Every country as a dot

Rule of law · index (approx. -2.5 to 2.5) →Slum share of urban population · % of urban population →-2.212.020%92.5%Aruba: 1.22 index (approx. -2.5 to 2.5), 0% of urban populationAfghanistan: -1.94 index (approx. -2.5 to 2.5), 71.6% of urban populationAngola: -1.17 index (approx. -2.5 to 2.5), 62.7% of urban populationAlbania: -0.119 index (approx. -2.5 to 2.5), 2.7% of urban populationAndorra: 1.41 index (approx. -2.5 to 2.5), 0% of urban populationUnited Arab Emirates: 0.497 index (approx. -2.5 to 2.5), 0.113% of urban populationArgentina: -0.251 index (approx. -2.5 to 2.5), 14.5% of urban populationArmenia: -0.142 index (approx. -2.5 to 2.5), 8.39% of urban populationAntigua and Barbuda: 0.602 index (approx. -2.5 to 2.5), 2.65% of urban populationAustralia: 1.47 index (approx. -2.5 to 2.5), 0.035% of urban populationAustria: 1.68 index (approx. -2.5 to 2.5), 0.0466% of urban populationAzerbaijan: -0.485 index (approx. -2.5 to 2.5), 26.9% of urban populationBurundi: -1.3 index (approx. -2.5 to 2.5), 36.8% of urban populationBelgium: 1.28 index (approx. -2.5 to 2.5), 0% of urban populationBenin: -0.412 index (approx. -2.5 to 2.5), 64% of urban populationBurkina Faso: -0.884 index (approx. -2.5 to 2.5), 87.9% of urban populationBangladesh: -0.96 index (approx. -2.5 to 2.5), 51.5% of urban populationBulgaria: -0.0333 index (approx. -2.5 to 2.5), 0.197% of urban populationBahrain: 0.168 index (approx. -2.5 to 2.5), 0% of urban populationBosnia and Herzegovina: -0.319 index (approx. -2.5 to 2.5), 0.313% of urban populationBelarus: -1.23 index (approx. -2.5 to 2.5), 0.004% of urban populationBelize: -0.397 index (approx. -2.5 to 2.5), 15.7% of urban populationBermuda: 0.8 index (approx. -2.5 to 2.5), 0.0776% of urban populationBolivia: -1.27 index (approx. -2.5 to 2.5), 46.6% of urban populationBrazil: -0.446 index (approx. -2.5 to 2.5), 14.9% of urban populationBrunei Darussalam: 0.588 index (approx. -2.5 to 2.5), 21.6% of urban populationBhutan: 0.79 index (approx. -2.5 to 2.5), 44.7% of urban populationBotswana: 0.312 index (approx. -2.5 to 2.5), 39.6% of urban populationCentral African Republic: -1.71 index (approx. -2.5 to 2.5), 68.9% of urban populationCanada: 1.46 index (approx. -2.5 to 2.5), 1.1% of urban populationSwitzerland: 1.76 index (approx. -2.5 to 2.5), 0% of urban populationChile: 0.691 index (approx. -2.5 to 2.5), 7.32% of urban populationChina: -0.579 index (approx. -2.5 to 2.5), 26.3% of urban populationCote d'Ivoire: -0.578 index (approx. -2.5 to 2.5), 48.3% of urban populationCameroon: -1.25 index (approx. -2.5 to 2.5), 32.7% of urban populationCongo, Dem. Rep.: -1.63 index (approx. -2.5 to 2.5), 78.4% of urban populationCongo, Rep.: -1.18 index (approx. -2.5 to 2.5), 75.3% of urban populationColombia: -0.56 index (approx. -2.5 to 2.5), 9.7% of urban populationComoros: -1.13 index (approx. -2.5 to 2.5), 48.5% of urban populationCabo Verde: 0.424 index (approx. -2.5 to 2.5), 46.4% of urban populationCosta Rica: 0.617 index (approx. -2.5 to 2.5), 3.55% of urban populationCayman Islands: 0.83 index (approx. -2.5 to 2.5), 5.48% of urban populationCyprus: 0.689 index (approx. -2.5 to 2.5), 0.272% of urban populationCzechia: 1.19 index (approx. -2.5 to 2.5), 0.0273% of urban populationGermany: 1.63 index (approx. -2.5 to 2.5), 0% of urban populationDjibouti: -1.01 index (approx. -2.5 to 2.5), 48.7% of urban populationDenmark: 2 index (approx. -2.5 to 2.5), 0% of urban populationDominican Republic: -0.182 index (approx. -2.5 to 2.5), 11.2% of urban populationAlgeria: -0.697 index (approx. -2.5 to 2.5), 13.2% of urban populationEcuador: -0.965 index (approx. -2.5 to 2.5), 57.8% of urban populationEgypt, Arab Rep.: -0.752 index (approx. -2.5 to 2.5), 3.84% of urban populationSpain: 0.932 index (approx. -2.5 to 2.5), 0.046% of urban populationEstonia: 1.49 index (approx. -2.5 to 2.5), 0.345% of urban populationEthiopia: -1.05 index (approx. -2.5 to 2.5), 64.3% of urban populationFinland: 2.02 index (approx. -2.5 to 2.5), 0% of urban populationFiji: 0.306 index (approx. -2.5 to 2.5), 9.4% of urban populationFrance: 0.979 index (approx. -2.5 to 2.5), 0% of urban populationGabon: -1.16 index (approx. -2.5 to 2.5), 38.8% of urban populationUnited Kingdom: 1.27 index (approx. -2.5 to 2.5), 0.163% of urban populationGeorgia: 0.149 index (approx. -2.5 to 2.5), 7.08% of urban populationGhana: 0.054 index (approx. -2.5 to 2.5), 33.5% of urban populationGuinea: -1.15 index (approx. -2.5 to 2.5), 44% of urban populationGambia, The: -0.394 index (approx. -2.5 to 2.5), 37.1% of urban populationGuinea-Bissau: -1.23 index (approx. -2.5 to 2.5), 59% of urban populationEquatorial Guinea: -1.54 index (approx. -2.5 to 2.5), 64.7% of urban populationGreece: 0.298 index (approx. -2.5 to 2.5), 0.05% of urban populationGuatemala: -0.962 index (approx. -2.5 to 2.5), 37.6% of urban populationGuyana: -0.334 index (approx. -2.5 to 2.5), 11.3% of urban populationHonduras: -1.18 index (approx. -2.5 to 2.5), 31.5% of urban populationCroatia: 0.377 index (approx. -2.5 to 2.5), 0.527% of urban populationHaiti: -1.6 index (approx. -2.5 to 2.5), 51.1% of urban populationHungary: 0.192 index (approx. -2.5 to 2.5), 7.2% of urban populationIndonesia: -0.207 index (approx. -2.5 to 2.5), 19.4% of urban populationIndia: -0.0392 index (approx. -2.5 to 2.5), 5.41% of urban populationIreland: 1.59 index (approx. -2.5 to 2.5), 8.5% of urban populationIran, Islamic Rep.: -1.23 index (approx. -2.5 to 2.5), 44.7% of urban populationIraq: -1.36 index (approx. -2.5 to 2.5), 49.3% of urban populationIceland: 1.63 index (approx. -2.5 to 2.5), 0% of urban populationItaly: 0.619 index (approx. -2.5 to 2.5), 0.02% of urban populationJamaica: -0.0777 index (approx. -2.5 to 2.5), 0.883% of urban populationJordan: 0.169 index (approx. -2.5 to 2.5), 23.4% of urban populationJapan: 1.51 index (approx. -2.5 to 2.5), 2% of urban populationKazakhstan: -0.382 index (approx. -2.5 to 2.5), 0.794% of urban populationKenya: -0.465 index (approx. -2.5 to 2.5), 40.5% of urban populationKyrgyz Republic: -0.936 index (approx. -2.5 to 2.5), 2.44% of urban populationCambodia: -1.06 index (approx. -2.5 to 2.5), 42.3% of urban populationKiribati: 0.786 index (approx. -2.5 to 2.5), 5.93% of urban populationKorea, Rep.: 1.12 index (approx. -2.5 to 2.5), 4.5% of urban populationKuwait: 0.231 index (approx. -2.5 to 2.5), 0% of urban populationLao PDR: -0.742 index (approx. -2.5 to 2.5), 54.8% of urban populationLebanon: -1.09 index (approx. -2.5 to 2.5), 4.53% of urban populationLiberia: -0.868 index (approx. -2.5 to 2.5), 60.5% of urban populationLibya: -1.7 index (approx. -2.5 to 2.5), 16.6% of urban populationSt. Lucia: 0.503 index (approx. -2.5 to 2.5), 0.441% of urban populationSri Lanka: -0.258 index (approx. -2.5 to 2.5), 44.7% of urban populationLesotho: -0.407 index (approx. -2.5 to 2.5), 25.6% of urban populationLithuania: 1.37 index (approx. -2.5 to 2.5), 0.509% of urban populationLuxembourg: 1.76 index (approx. -2.5 to 2.5), 0.0173% of urban populationLatvia: 1.09 index (approx. -2.5 to 2.5), 0.593% of urban populationMorocco: -0.368 index (approx. -2.5 to 2.5), 10.9% of urban populationMoldova: -0.161 index (approx. -2.5 to 2.5), 6.5% of urban populationMadagascar: -0.883 index (approx. -2.5 to 2.5), 65.7% of urban populationMaldives: 0.0443 index (approx. -2.5 to 2.5), 34.8% of urban populationMexico: -1.15 index (approx. -2.5 to 2.5), 17.6% of urban populationMarshall Islands: 0.836 index (approx. -2.5 to 2.5), 2.38% of urban populationNorth Macedonia: -0.225 index (approx. -2.5 to 2.5), 0.278% of urban populationMali: -1.09 index (approx. -2.5 to 2.5), 92.5% of urban populationMalta: 0.727 index (approx. -2.5 to 2.5), 0.0375% of urban populationMyanmar: -1.81 index (approx. -2.5 to 2.5), 58.3% of urban populationMontenegro: 0.181 index (approx. -2.5 to 2.5), 8.77% of urban populationMongolia: -0.0998 index (approx. -2.5 to 2.5), 17.9% of urban populationMozambique: -1.19 index (approx. -2.5 to 2.5), 55% of urban populationMauritania: -0.864 index (approx. -2.5 to 2.5), 58.6% of urban populationMauritius: 0.639 index (approx. -2.5 to 2.5), 48.7% of urban populationMalawi: -0.146 index (approx. -2.5 to 2.5), 38% of urban populationMalaysia: 0.345 index (approx. -2.5 to 2.5), 0.2% of urban populationNamibia: 0.328 index (approx. -2.5 to 2.5), 41.4% of urban populationNiger: -0.946 index (approx. -2.5 to 2.5), 70.4% of urban populationNigeria: -1.01 index (approx. -2.5 to 2.5), 48.5% of urban populationNicaragua: -1.62 index (approx. -2.5 to 2.5), 5.52% of urban populationNetherlands: 1.71 index (approx. -2.5 to 2.5), 0% of urban populationNorway: 1.95 index (approx. -2.5 to 2.5), 0% of urban populationNepal: -0.304 index (approx. -2.5 to 2.5), 40.1% of urban populationNaoero: 0.252 index (approx. -2.5 to 2.5), 0.597% of urban populationNew Zealand: 1.67 index (approx. -2.5 to 2.5), 0% of urban populationOman: 0.449 index (approx. -2.5 to 2.5), 0% of urban populationPakistan: -1.02 index (approx. -2.5 to 2.5), 56% of urban populationPanama: -0.263 index (approx. -2.5 to 2.5), 16.3% of urban populationPeru: -0.506 index (approx. -2.5 to 2.5), 45.1% of urban populationPhilippines: -0.574 index (approx. -2.5 to 2.5), 35.9% of urban populationPalau: 1.17 index (approx. -2.5 to 2.5), 0.618% of urban populationPapua New Guinea: -0.571 index (approx. -2.5 to 2.5), 22.3% of urban populationPoland: 0.577 index (approx. -2.5 to 2.5), 4.22% of urban populationPortugal: 1.07 index (approx. -2.5 to 2.5), 0.059% of urban populationParaguay: -0.584 index (approx. -2.5 to 2.5), 15.1% of urban populationWest Bank and Gaza: -0.989 index (approx. -2.5 to 2.5), 19.5% of urban populationQatar: 0.59 index (approx. -2.5 to 2.5), 0% of urban populationRomania: 0.371 index (approx. -2.5 to 2.5), 2.52% of urban populationRussian Federation: -1.16 index (approx. -2.5 to 2.5), 2.62% of urban populationRwanda: 0.1 index (approx. -2.5 to 2.5), 38.3% of urban populationSaudi Arabia: 0.21 index (approx. -2.5 to 2.5), 0.55% of urban populationSudan: -1.77 index (approx. -2.5 to 2.5), 73.7% of urban populationSenegal: -0.205 index (approx. -2.5 to 2.5), 46.4% of urban populationSingapore: 1.43 index (approx. -2.5 to 2.5), 0% of urban populationSolomon Islands: 0.153 index (approx. -2.5 to 2.5), 1.95% of urban populationSierra Leone: -0.839 index (approx. -2.5 to 2.5), 49.3% of urban populationEl Salvador: -0.713 index (approx. -2.5 to 2.5), 16.5% of urban populationSomalia, Fed. Rep.: -2.21 index (approx. -2.5 to 2.5), 48.7% of urban populationSerbia: -0.2 index (approx. -2.5 to 2.5), 1.42% of urban populationSao Tome and Principe: -0.353 index (approx. -2.5 to 2.5), 82.4% of urban populationSuriname: -0.209 index (approx. -2.5 to 2.5), 15.8% of urban populationSlovak Republic: 0.561 index (approx. -2.5 to 2.5), 0.066% of urban populationSlovenia: 0.979 index (approx. -2.5 to 2.5), 0.527% of urban populationSweden: 1.73 index (approx. -2.5 to 2.5), 0.336% of urban populationEswatini: -0.86 index (approx. -2.5 to 2.5), 17% of urban populationSeychelles: 0.597 index (approx. -2.5 to 2.5), 48.7% of urban populationSyrian Arab Republic: -1.81 index (approx. -2.5 to 2.5), 41.1% of urban populationChad: -1.44 index (approx. -2.5 to 2.5), 82% of urban populationTogo: -0.633 index (approx. -2.5 to 2.5), 38.5% of urban populationThailand: -0.216 index (approx. -2.5 to 2.5), 2% of urban populationTajikistan: -1.18 index (approx. -2.5 to 2.5), 0.05% of urban populationTurkmenistan: -1.41 index (approx. -2.5 to 2.5), 8.38% of urban populationTimor-Leste: -0.626 index (approx. -2.5 to 2.5), 33.9% of urban populationTonga: 0.694 index (approx. -2.5 to 2.5), 0.308% of urban populationTrinidad and Tobago: -0.372 index (approx. -2.5 to 2.5), 8.63% of urban populationTunisia: -0.364 index (approx. -2.5 to 2.5), 7.64% of urban populationTurkiye: -0.843 index (approx. -2.5 to 2.5), 14.1% of urban populationTuvalu: 1.22 index (approx. -2.5 to 2.5), 50.9% of urban populationTanzania: -0.519 index (approx. -2.5 to 2.5), 70.1% of urban populationUganda: -0.739 index (approx. -2.5 to 2.5), 52.7% of urban populationUkraine: -0.72 index (approx. -2.5 to 2.5), 1.1% of urban populationUruguay: 0.951 index (approx. -2.5 to 2.5), 1.3% of urban populationUnited States: 0.962 index (approx. -2.5 to 2.5), 0.0932% of urban populationUzbekistan: -0.656 index (approx. -2.5 to 2.5), 7.1% of urban populationSt. Vincent and the Grenadines: 0.502 index (approx. -2.5 to 2.5), 2.76% of urban populationVirgin Islands (U.S.): 0.579 index (approx. -2.5 to 2.5), 1.1% of urban populationViet Nam: -0.314 index (approx. -2.5 to 2.5), 32.5% of urban populationVanuatu: 0.422 index (approx. -2.5 to 2.5), 3.06% of urban populationSamoa: 1.05 index (approx. -2.5 to 2.5), 34.6% of urban populationSouth Africa: 0.0177 index (approx. -2.5 to 2.5), 24.2% of urban populationZambia: -0.561 index (approx. -2.5 to 2.5), 48.3% of urban populationZimbabwe: -1.21 index (approx. -2.5 to 2.5), 54.9% of urban populationAFGBFABLRCODDNKFINMLINICNORSTPTJKTUV

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted-0.6282.6e-21182
By rank (Spearman), not adjusted-0.7069.2e-29182
Standard (Pearson), adjusted for national income-0.2140.004182
By rank (Spearman), adjusted for national income-0.3315.3e-6182

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

How solid is it?

Leaving out one country at a time, r ranges from -0.233 (without NIC) to -0.185 (without KIR). 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: KIR (+0.029).

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.56
Europe & Central Asia49-0.31
Latin America & Caribbean29-0.49
Middle East, North Africa, Afghanistan & Pakistan21-0.32
Sub-Saharan Africa46-0.28

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.38
Middle third60-0.16
Richest third61-0.23

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.29
Muslims49+0.02

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.05
Never a European colony21-0.08
Spain19-0.47
United Kingdom57-0.31

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.214 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 23years. So a link here can’t come from anything about a country that stays the same, such as its history, geography, institutions or culture.

Within countries over time, there is no link that is clearly more than chance (r = +0.086, comparing each country only with itself over the years, and each year only with the same year elsewhere). Whatever the cross-country picture shows, countries whose rule of law moved did not tend to see their slum share of urban population move with it.

Across countries (adjusted)-0.214for comparison
Within countries+0.062each country vs itself
…and vs the same year elsewhere+0.086q = 0.152 · 173 countries
Year-on-year changes—q = —
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.

1,969 country-years (one country in one year), 173 countries, 2000–2022, about 11 years each on average. Share of the variation that happens within countries over time: 9% for Rule of law, 4% for Slum share of urban population. 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.20−0.2-100+10years Slum share of urban population trails Rule of law →lag -10: r = 0.124 (n = 1,301)lag -9: r = 0.138 (n = 1,301)lag -8: r = 0.132 (n = 1,467)lag -7: r = 0.153 (n = 1,467)lag -6: r = 0.127 (n = 1,635)lag -5: r = 0.128 (n = 1,635)lag -4: r = 0.133 (n = 1,796)lag -3: r = 0.115 (n = 1,795)lag -2: r = 0.091 (n = 1,971)lag -1: r = 0.092 (n = 1,803)lag +0: r = 0.086 (n = 1,969)lag +1: r = 0.085 (n = 1,639)lag +2: r = 0.076 (n = 1,967)lag +3: r = 0.070 (n = 1,469)lag +4: r = 0.073 (n = 1,960)lag +5: r = 0.055 (n = 1,301)lag +6: r = 0.069 (n = 1,791)lag +7: r = 0.033 (n = 1,130)lag +8: r = 0.046 (n = 1,627)lag +9: r = -0.030 (n = 943)lag +10: r = 0.025 (n = 1,458)

Same year (lag 0): +0.086. 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 largest value on this curve (+0.15 at lag -7) is higher than the same-year one by 0.07. That gap is not a finding. It is the largest of 21 closely related estimates, and picking the biggest of many tests always makes it look bigger. That is exactly why nothing on this site is ranked or chosen by lag.

The data


index (approx. -2.5 to 2.5)

% of urban population
Years
Finland FIN2.020%2024, 2022
Denmark DNK20%2024, 2022
Norway NOR1.950%2024, 2022
Switzerland CHE1.760%2024, 2022
Luxembourg LUX1.760.0173%2024, 2022
Sweden SWE1.730.336%2024, 2022
Netherlands NLD1.710%2024, 2022
Austria AUT1.680.0466%2024, 2022
New Zealand NZL1.670%2024, 2022
Iceland ISL1.630%2024, 2022
Germany DEU1.630%2024, 2022
Ireland IRL1.598.5%2024, 2022
Japan JPN1.512%2024, 2022
Estonia EST1.490.345%2024, 2022
Australia AUS1.470.035%2024, 2022

Kaufmann, D. and A. Kraay, Worldwide Governance Indicators, World Bank
World Bank, World Development Indicators

Sources

Rule of law

Rule of Law (estimate)

World Bank · CC BY 4.0 · updated annual

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 Rule of law and Slum share of urban population

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

More links with Rule of law or Slum share of urban population