placestats

PISA maths vs. Slum share of urban population

Fades after adjusting for income

Across 83 countries, PISA maths and Slum share of urban population rise and fall together at r = -0.55 (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.17, which could easily be chance (q = 0.39, 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: correlation moves sharply once outliers are trimmed.

Comparing countries across the middle half of pisa maths, 389 to 480 PISA points, slum share of urban population is better by 9.56% of urban population at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 3.64% of urban population.

Link before adjusting (r)-0.551p = 6.6e-8 · 83 countries
After adjusting for national income-0.170p = 0.126 · likely range [-0.37, +0.05]
p, allowing for regions0.187standard error 0.107 · 5 regions
Check for luck (q)0.389across 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.

PISA maths · PISA pointslink with income +0.79 · 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

PISA maths · PISA points →Slum share of urban population · % of urban population →3365750%45.1%Albania: 368 PISA points, 2.7% of urban populationUnited Arab Emirates: 431 PISA points, 0.113% of urban populationArgentina: 378 PISA points, 14.5% of urban populationAustralia: 487 PISA points, 0.035% of urban populationAustria: 487 PISA points, 0.0466% of urban populationBelgium: 489 PISA points, 0% of urban populationBulgaria: 417 PISA points, 0.197% of urban populationBosnia and Herzegovina: 406 PISA points, 0.313% of urban populationBelarus: 472 PISA points, 0.004% of urban populationBrazil: 379 PISA points, 14.9% of urban populationBrunei Darussalam: 442 PISA points, 21.6% of urban populationCanada: 497 PISA points, 1.1% of urban populationSwitzerland: 508 PISA points, 0% of urban populationChile: 412 PISA points, 7.32% of urban populationColombia: 383 PISA points, 9.7% of urban populationCosta Rica: 385 PISA points, 3.55% of urban populationCyprus: 418 PISA points, 0.272% of urban populationCzechia: 487 PISA points, 0.0273% of urban populationGermany: 475 PISA points, 0% of urban populationDenmark: 489 PISA points, 0% of urban populationDominican Republic: 339 PISA points, 11.2% of urban populationAlgeria: 360 PISA points, 13.2% of urban populationSpain: 473 PISA points, 0.046% of urban populationEstonia: 510 PISA points, 0.345% of urban populationFinland: 484 PISA points, 0% of urban populationFrance: 474 PISA points, 0% of urban populationUnited Kingdom: 489 PISA points, 0.163% of urban populationGeorgia: 390 PISA points, 7.08% of urban populationGreece: 430 PISA points, 0.05% of urban populationGuatemala: 344 PISA points, 37.6% of urban populationCroatia: 463 PISA points, 0.527% of urban populationHungary: 473 PISA points, 7.2% of urban populationIndonesia: 366 PISA points, 19.4% of urban populationIreland: 492 PISA points, 8.5% of urban populationIceland: 459 PISA points, 0% of urban populationItaly: 471 PISA points, 0.02% of urban populationJamaica: 377 PISA points, 0.883% of urban populationJordan: 361 PISA points, 23.4% of urban populationJapan: 536 PISA points, 2% of urban populationKazakhstan: 425 PISA points, 0.794% of urban populationCambodia: 336 PISA points, 42.3% of urban populationKorea, Rep.: 527 PISA points, 4.5% of urban populationLebanon: 393 PISA points, 4.53% of urban populationLithuania: 475 PISA points, 0.509% of urban populationLuxembourg: 483 PISA points, 0.0173% of urban populationLatvia: 483 PISA points, 0.593% of urban populationMorocco: 365 PISA points, 10.9% of urban populationMoldova: 414 PISA points, 6.5% of urban populationMexico: 395 PISA points, 17.6% of urban populationNorth Macedonia: 389 PISA points, 0.278% of urban populationMalta: 466 PISA points, 0.0375% of urban populationMontenegro: 406 PISA points, 8.77% of urban populationMongolia: 425 PISA points, 17.9% of urban populationMalaysia: 409 PISA points, 0.2% of urban populationNetherlands: 493 PISA points, 0% of urban populationNorway: 468 PISA points, 0% of urban populationNew Zealand: 479 PISA points, 0% of urban populationPanama: 357 PISA points, 16.3% of urban populationPeru: 391 PISA points, 45.1% of urban populationPhilippines: 355 PISA points, 35.9% of urban populationPoland: 489 PISA points, 4.22% of urban populationPortugal: 472 PISA points, 0.059% of urban populationParaguay: 338 PISA points, 15.1% of urban populationWest Bank and Gaza: 366 PISA points, 19.5% of urban populationQatar: 414 PISA points, 0% of urban populationRomania: 428 PISA points, 2.52% of urban populationRussian Federation: 488 PISA points, 2.62% of urban populationSaudi Arabia: 389 PISA points, 0.55% of urban populationSingapore: 575 PISA points, 0% of urban populationEl Salvador: 343 PISA points, 16.5% of urban populationSerbia: 440 PISA points, 1.42% of urban populationSlovak Republic: 464 PISA points, 0.066% of urban populationSlovenia: 485 PISA points, 0.527% of urban populationSweden: 482 PISA points, 0.336% of urban populationThailand: 394 PISA points, 2% of urban populationTrinidad and Tobago: 417 PISA points, 8.63% of urban populationTunisia: 367 PISA points, 7.64% of urban populationTurkiye: 453 PISA points, 14.1% of urban populationUkraine: 441 PISA points, 1.1% of urban populationUruguay: 409 PISA points, 1.3% of urban populationUnited States: 465 PISA points, 0.0932% of urban populationUzbekistan: 364 PISA points, 7.1% of urban populationViet Nam: 469 PISA points, 32.5% of urban populationALBESTGTMJAMJPNKHMMKDPERSGPVNM

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted-0.5516.6e-883
By rank (Spearman), not adjusted-0.6493.3e-1183
Standard (Pearson), adjusted for national income-0.1700.12683
By rank (Spearman), adjusted for national income-0.1880.09083

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 83 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.254 (without VNM) to -0.139 (without BRN). 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: VNM (-0.084).

Fragile: this link may not hold up.
  • correlation moves sharply once outliers are trimmed

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 & Pacific13-0.02
Europe & Central Asia43-0.17
Latin America & Caribbean15-0.13

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 third28-0.10
Middle third27-0.40
Richest third28-0.14

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
Christians55-0.36
Muslims17+0.12

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
Spain14-0.04
United Kingdom13-0.18

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.326 after dropping 6 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


PISA points

% of urban population
Years
Singapore SGP5750%2022
Japan JPN5362%2022
Korea, Rep. KOR5274.5%2022
Estonia EST5100.345%2022
Switzerland CHE5080%2022
Canada CAN4971.1%2022
Netherlands NLD4930%2022
Ireland IRL4928.5%2022
Belgium BEL4890%2022
Denmark DNK4890%2022
United Kingdom GBR4890.163%2022
Poland POL4894.22%2022
Russian Federation RUS4882.62%2018, 2022
Austria AUT4870.0466%2022
Australia AUS4870.035%2022

OECD databases as named on each indicator: PISA, Social Expenditure Database (SOCX), Income Distribution Database, Development Assistance Committee statistics, Family Database, Government at a Glance, Corporate Tax Statistics, employment and environment statistics
World Bank, World Development Indicators

Sources

PISA maths

PISA mean mathematics score

OECD · via Our World in Data · CC BY 4.0 (OECD terms and conditions) · updated annual, except the snapshots noted per indicator

The average score of 15-year-olds on the same test in every country taking part. It is scaled so the OECD average in the starting year was 500, with a standard deviation (a typical gap between students) of 100. Held every three years. The 2021 round was held in 2022, and the OECD says it can still be compared with earlier rounds despite the pandemic. The three subjects are treated as measuring the same thing. Their links with each other are above 0.95, and that close match is a fact about the test, not about schooling.

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–2022. 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 5 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 PISA maths and Slum share of urban population

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

More links with PISA maths or Slum share of urban population