placestats

Free and fair elections vs. Slum share of urban population

Fades after adjusting for income

Across 164 countries, Free and fair elections and Slum share of urban population rise and fall together at r = -0.51 (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.13, which could easily be chance (q = 0.54, 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. Caution: direction is not consistent across regions.

Comparing countries across the middle half of free and fair elections, 0.223 to 0.867 points, slum share of urban population is better by 24.8% of urban population at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 5.06% of urban population.

Link before adjusting (r)-0.514p = 2.0e-12 · 164 countries
After adjusting for national income-0.133p = 0.091 · likely range [-0.28, +0.02]
p, allowing for regions0.335standard error 0.127 · 7 regions
Check for luck (q)0.539across 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.

Free and fair elections · index (0-1)link with income +0.61 · 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

Free and fair elections · index (0-1) →Slum share of urban population · % of urban population →00.9680%92.5%Afghanistan: 0 index (0-1), 71.6% of urban populationAngola: 0.293 index (0-1), 62.7% of urban populationAlbania: 0.467 index (0-1), 2.7% of urban populationUnited Arab Emirates: 0.543 index (0-1), 0.113% of urban populationArgentina: 0.878 index (0-1), 14.5% of urban populationArmenia: 0.673 index (0-1), 8.39% of urban populationAustralia: 0.962 index (0-1), 0.035% of urban populationAustria: 0.938 index (0-1), 0.0466% of urban populationAzerbaijan: 0.111 index (0-1), 26.9% of urban populationBurundi: 0.107 index (0-1), 36.8% of urban populationBelgium: 0.968 index (0-1), 0% of urban populationBenin: 0.638 index (0-1), 64% of urban populationBurkina Faso: 0 index (0-1), 87.9% of urban populationBangladesh: 0 index (0-1), 51.5% of urban populationBulgaria: 0.64 index (0-1), 0.197% of urban populationBahrain: 0.274 index (0-1), 0% of urban populationBosnia and Herzegovina: 0.511 index (0-1), 0.313% of urban populationBelarus: 0.194 index (0-1), 0.004% of urban populationBolivia: 0.765 index (0-1), 46.6% of urban populationBrazil: 0.838 index (0-1), 14.9% of urban populationBhutan: 0.865 index (0-1), 44.7% of urban populationBotswana: 0.803 index (0-1), 39.6% of urban populationCentral African Republic: 0.123 index (0-1), 68.9% of urban populationCanada: 0.944 index (0-1), 1.1% of urban populationSwitzerland: 0.942 index (0-1), 0% of urban populationChile: 0.956 index (0-1), 7.32% of urban populationChina: 0 index (0-1), 26.3% of urban populationCote d'Ivoire: 0.333 index (0-1), 48.3% of urban populationCameroon: 0.12 index (0-1), 32.7% of urban populationCongo, Dem. Rep.: 0.18 index (0-1), 78.4% of urban populationCongo, Rep.: 0.076 index (0-1), 75.3% of urban populationColombia: 0.756 index (0-1), 9.7% of urban populationComoros: 0.183 index (0-1), 48.5% of urban populationCabo Verde: 0.836 index (0-1), 46.4% of urban populationCosta Rica: 0.944 index (0-1), 3.55% of urban populationCyprus: 0.909 index (0-1), 0.272% of urban populationCzechia: 0.94 index (0-1), 0.0273% of urban populationGermany: 0.957 index (0-1), 0% of urban populationDjibouti: 0.167 index (0-1), 48.7% of urban populationDenmark: 0.961 index (0-1), 0% of urban populationDominican Republic: 0.768 index (0-1), 11.2% of urban populationAlgeria: 0.307 index (0-1), 13.2% of urban populationEcuador: 0.827 index (0-1), 57.8% of urban populationEgypt, Arab Rep.: 0.137 index (0-1), 3.84% of urban populationSpain: 0.956 index (0-1), 0.046% of urban populationEstonia: 0.952 index (0-1), 0.345% of urban populationEthiopia: 0.324 index (0-1), 64.3% of urban populationFinland: 0.961 index (0-1), 0% of urban populationFiji: 0.54 index (0-1), 9.4% of urban populationFrance: 0.941 index (0-1), 0% of urban populationGabon: 0.186 index (0-1), 38.8% of urban populationUnited Kingdom: 0.924 index (0-1), 0.163% of urban populationGeorgia: 0.32 index (0-1), 7.08% of urban populationGhana: 0.709 index (0-1), 33.5% of urban populationGuinea: 0.002 index (0-1), 44% of urban populationGambia, The: 0.777 index (0-1), 37.1% of urban populationGuinea-Bissau: 0 index (0-1), 59% of urban populationEquatorial Guinea: 0.078 index (0-1), 64.7% of urban populationGreece: 0.944 index (0-1), 0.05% of urban populationGuatemala: 0.666 index (0-1), 37.6% of urban populationGuyana: 0.489 index (0-1), 11.3% of urban populationHonduras: 0.351 index (0-1), 31.5% of urban populationCroatia: 0.875 index (0-1), 0.527% of urban populationHaiti: 0 index (0-1), 51.1% of urban populationHungary: 0.597 index (0-1), 7.2% of urban populationIndonesia: 0.518 index (0-1), 19.4% of urban populationIndia: 0.495 index (0-1), 5.41% of urban populationIreland: 0.945 index (0-1), 8.5% of urban populationIran, Islamic Rep.: 0.235 index (0-1), 44.7% of urban populationIraq: 0.372 index (0-1), 49.3% of urban populationIceland: 0.929 index (0-1), 0% of urban populationItaly: 0.945 index (0-1), 0.02% of urban populationJamaica: 0.884 index (0-1), 0.883% of urban populationJordan: 0.592 index (0-1), 23.4% of urban populationJapan: 0.937 index (0-1), 2% of urban populationKazakhstan: 0.339 index (0-1), 0.794% of urban populationKenya: 0.493 index (0-1), 40.5% of urban populationKyrgyz Republic: 0.426 index (0-1), 2.44% of urban populationCambodia: 0.092 index (0-1), 42.3% of urban populationKorea, Rep.: 0.935 index (0-1), 4.5% of urban populationKuwait: 0 index (0-1), 0% of urban populationLao PDR: 0.236 index (0-1), 54.8% of urban populationLebanon: 0.307 index (0-1), 4.53% of urban populationLiberia: 0.592 index (0-1), 60.5% of urban populationLibya: 0 index (0-1), 16.6% of urban populationSri Lanka: 0.914 index (0-1), 44.7% of urban populationLesotho: 0.785 index (0-1), 25.6% of urban populationLithuania: 0.882 index (0-1), 0.509% of urban populationLuxembourg: 0.944 index (0-1), 0.0173% of urban populationLatvia: 0.92 index (0-1), 0.593% of urban populationMorocco: 0.455 index (0-1), 10.9% of urban populationMoldova: 0.662 index (0-1), 6.5% of urban populationMadagascar: 0.183 index (0-1), 65.7% of urban populationMaldives: 0.643 index (0-1), 34.8% of urban populationMexico: 0.545 index (0-1), 17.6% of urban populationNorth Macedonia: 0.701 index (0-1), 0.278% of urban populationMali: 0 index (0-1), 92.5% of urban populationMalta: 0.903 index (0-1), 0.0375% of urban populationMyanmar: 0 index (0-1), 58.3% of urban populationMontenegro: 0.608 index (0-1), 8.77% of urban populationMongolia: 0.586 index (0-1), 17.9% of urban populationMozambique: 0.089 index (0-1), 55% of urban populationMauritania: 0.288 index (0-1), 58.6% of urban populationMauritius: 0.865 index (0-1), 48.7% of urban populationMalawi: 0.596 index (0-1), 38% of urban populationMalaysia: 0.598 index (0-1), 0.2% of urban populationNamibia: 0.604 index (0-1), 41.4% of urban populationNiger: 0 index (0-1), 70.4% of urban populationNigeria: 0.355 index (0-1), 48.5% of urban populationNicaragua: 0.137 index (0-1), 5.52% of urban populationNetherlands: 0.954 index (0-1), 0% of urban populationNorway: 0.966 index (0-1), 0% of urban populationNepal: 0.693 index (0-1), 40.1% of urban populationNew Zealand: 0.954 index (0-1), 0% of urban populationOman: 0.689 index (0-1), 0% of urban populationPakistan: 0.174 index (0-1), 56% of urban populationPanama: 0.84 index (0-1), 16.3% of urban populationPeru: 0.861 index (0-1), 45.1% of urban populationPhilippines: 0.271 index (0-1), 35.9% of urban populationPapua New Guinea: 0.27 index (0-1), 22.3% of urban populationPoland: 0.825 index (0-1), 4.22% of urban populationPortugal: 0.94 index (0-1), 0.059% of urban populationParaguay: 0.633 index (0-1), 15.1% of urban populationQatar: 0 index (0-1), 0% of urban populationRomania: 0.658 index (0-1), 2.52% of urban populationRussian Federation: 0.135 index (0-1), 2.62% of urban populationRwanda: 0.227 index (0-1), 38.3% of urban populationSaudi Arabia: 0 index (0-1), 0.55% of urban populationSudan: 0 index (0-1), 73.7% of urban populationSenegal: 0.701 index (0-1), 46.4% of urban populationSingapore: 0.782 index (0-1), 0% of urban populationSolomon Islands: 0.748 index (0-1), 1.95% of urban populationSierra Leone: 0.319 index (0-1), 49.3% of urban populationEl Salvador: 0.307 index (0-1), 16.5% of urban populationSomalia, Fed. Rep.: 0 index (0-1), 48.7% of urban populationSerbia: 0.212 index (0-1), 1.42% of urban populationSao Tome and Principe: 0.753 index (0-1), 82.4% of urban populationSuriname: 0.864 index (0-1), 15.8% of urban populationSlovak Republic: 0.938 index (0-1), 0.066% of urban populationSlovenia: 0.916 index (0-1), 0.527% of urban populationSweden: 0.945 index (0-1), 0.336% of urban populationEswatini: 0.376 index (0-1), 17% of urban populationSeychelles: 0.884 index (0-1), 48.7% of urban populationSyrian Arab Republic: 0 index (0-1), 41.1% of urban populationChad: 0.079 index (0-1), 82% of urban populationTogo: 0.309 index (0-1), 38.5% of urban populationThailand: 0.457 index (0-1), 2% of urban populationTajikistan: 0.094 index (0-1), 0.05% of urban populationTurkmenistan: 0.071 index (0-1), 8.38% of urban populationTimor-Leste: 0.857 index (0-1), 33.9% of urban populationTrinidad and Tobago: 0.872 index (0-1), 8.63% of urban populationTunisia: 0.445 index (0-1), 7.64% of urban populationTurkiye: 0.417 index (0-1), 14.1% of urban populationTanzania: 0.364 index (0-1), 70.1% of urban populationUganda: 0.129 index (0-1), 52.7% of urban populationUkraine: 0.604 index (0-1), 1.1% of urban populationUruguay: 0.947 index (0-1), 1.3% of urban populationUnited States: 0.902 index (0-1), 0.0932% of urban populationUzbekistan: 0.304 index (0-1), 7.1% of urban populationViet Nam: 0.527 index (0-1), 32.5% of urban populationVanuatu: 0.853 index (0-1), 3.06% of urban populationSouth Africa: 0.849 index (0-1), 24.2% of urban populationZambia: 0.461 index (0-1), 48.3% of urban populationZimbabwe: 0.171 index (0-1), 54.9% of urban populationAUSBELBFAECUKWTMLINORQATSAUSTPSYCTCD

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted-0.5142.0e-12164
By rank (Spearman), not adjusted-0.5624.8e-15164
Standard (Pearson), adjusted for national income-0.1330.091164
By rank (Spearman), adjusted for national income-0.1320.093164

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

How solid is it?

Leaving out one country at a time, r ranges from -0.159 (without STP) to -0.099 (without SLB). 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: SLB (+0.034).

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 & Pacific20-0.70
Europe & Central Asia48-0.46
Latin America & Caribbean22+0.11
Middle East, North Africa, Afghanistan & Pakistan20-0.20
Sub-Saharan Africa46-0.34

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 third55-0.36
Middle third54+0.14
Richest third55+0.02

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
Christians98-0.17
Muslims47-0.24

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.19
Never a European colony21-0.08
Spain19+0.06
United Kingdom47-0.14

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.133 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.012, 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 free and fair elections moved did not tend to see their slum share of urban population move with it.

Across countries (adjusted)-0.133for comparison
Within countries-0.089each country vs itself
…and vs the same year elsewhere+0.012q = 0.917 · 156 countries
Year-on-year changes—q = —
Read with care.
  • Almost all of the second indicator's variation is between countries, so the within-country estimate rests on a small part of the data.

1,783 country-years (one country in one year), 156 countries, 2000–2022, about 11 years each on average. Share of the variation that happens within countries over time: 10% for Free and fair elections, 9% 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.10−0.1-100+10years Slum share of urban population trails Free and fair elections →lag -10: r = 0.067 (n = 1,176)lag -9: r = 0.058 (n = 1,327)lag -8: r = 0.075 (n = 1,327)lag -7: r = 0.064 (n = 1,476)lag -6: r = 0.069 (n = 1,476)lag -5: r = 0.062 (n = 1,622)lag -4: r = 0.072 (n = 1,622)lag -3: r = 0.024 (n = 1,783)lag -2: r = 0.023 (n = 1,783)lag -1: r = 0.008 (n = 1,783)lag +0: r = 0.012 (n = 1,783)lag +1: r = 0.017 (n = 1,783)lag +2: r = 0.026 (n = 1,783)lag +3: r = 0.025 (n = 1,782)lag +4: r = 0.018 (n = 1,782)lag +5: r = 0.024 (n = 1,781)lag +6: r = 0.023 (n = 1,781)lag +7: r = 0.014 (n = 1,780)lag +8: r = 0.019 (n = 1,780)lag +9: r = -0.000 (n = 1,779)lag +10: r = -0.012 (n = 1,777)

Same year (lag 0): +0.012. 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.08 at lag -8) is higher than the same-year one by 0.06. 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 (0-1)

% of urban population
Years
Belgium BEL0.9680%2025, 2022
Norway NOR0.9660%2025, 2022
Australia AUS0.9620.035%2025, 2022
Finland FIN0.9610%2025, 2022
Denmark DNK0.9610%2025, 2022
Germany DEU0.9570%2025, 2022
Spain ESP0.9560.046%2025, 2022
Chile CHL0.9567.32%2025, 2022
New Zealand NZL0.9540%2025, 2022
Netherlands NLD0.9540%2025, 2022
Estonia EST0.9520.345%2025, 2022
Uruguay URY0.9471.3%2025, 2022
Sweden SWE0.9450.336%2025, 2022
Italy ITA0.9450.02%2025, 2022
Ireland IRL0.9458.5%2025, 2022

Coppedge, M. et al., V-Dem Dataset, Varieties of Democracy (V-Dem) Project
World Bank, World Development Indicators

Sources

Free and fair elections

Free and fair elections index

V-Dem Institute, University of Gothenburg · via Our World in Data · CC BY 4.0 · updated annual

Whether elections are run without voter-registration fraud, widespread irregularities, government threats against the opposition, vote buying or election violence. This asks a narrower question than whether a country is a democracy, and one that is easier to answer. A state can run clean elections while barring the opposition from standing. It can also run dirty elections and still change government. It is the clean-elections part of the electoral democracy index. So its pair with that index, and with liberal and participatory democracy, is built from the same numbers and flagged as such.

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–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 Free and fair elections and Slum share of urban population

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

More links with Free and fair elections or Slum share of urban population