placestats

Compulsory schooling vs. Government spending per capita

Holds up after adjusting for income

Across 43 countries, Compulsory schooling and Government spending per capita rise and fall together at r = +0.02 (on a scale from −1 to +1, where 0 means no link). There is almost no link to explain.

Comparing countries across the middle half of government spending per capita, $21,202 to $34,936, compulsory schooling is 0.0345 years higher at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 0.923 years.

Link before adjusting (r)+0.019p = 0.903 · 43 countries
After adjusting for national income+0.264p = 0.092 · likely range [-0.04, +0.53]
p, allowing for regions0.044standard error 0.091 · 5 regions
Check for luck (q)0.027across 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.

Compulsory schooling · yearslink with income +0.40 · moderate
Government spending per capita · current international dollarslink with income +0.92 · proxy

“Link with income” is how closely each measure tracks GDP per person across countries, from −1 to +1.

Every country as a dot

Compulsory schooling · years →Government spending per capita · current international dollars →815$3,279$72,957Australia: 11 years, $29,639Austria: 13 years, $41,817Belgium: 13 years, $40,194Bulgaria: 12 years, $16,433Brazil: 14 years, $10,810Canada: 10 years, $29,521Switzerland: 11 years, $32,409Chile: 12 years, $9,208Colombia: 12 years, $11,382Costa Rica: 13 years, $11,794Czechia: 10 years, $24,719Germany: 13 years, $36,555Denmark: 10 years, $38,309Spain: 10 years, $26,400Estonia: 9 years, $22,116Finland: 12 years, $37,614France: 13 years, $35,798United Kingdom: 11 years, $29,093Greece: 10 years, $21,055Croatia: 8 years, $23,743Hungary: 13 years, $22,871Indonesia: 9 years, $3,279Ireland: 10 years, $31,581Iceland: 10 years, $39,385Israel: 15 years, $25,449Italy: 12 years, $31,377Japan: 9 years, $20,594Korea, Rep.: 9 years, $21,401Lithuania: 11 years, $21,954Luxembourg: 12 years, $72,957Latvia: 11 years, $19,891Mexico: 14 years, $7,585Netherlands: 13 years, $37,878Norway: 10 years, $50,329New Zealand: 10 years, $23,949Poland: 9 years, $24,692Portugal: 12 years, $22,321Romania: 10 years, $21,349Slovak Republic: 11 years, $22,559Slovenia: 9 years, $26,764Sweden: 10 years, $35,854Turkiye: 12 years, $10,287United States: 12 years, $34,073AUTBRAHRVIDNISLISRJPNLUXMEXNOR

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted+0.0190.90343
By rank (Spearman), not adjusted+0.0590.70743
Standard (Pearson), adjusted for national income+0.2640.09243
By rank (Spearman), adjusted for national income+0.3280.03443

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

How solid is it?

Leaving out one country at a time, r ranges from +0.231 (without KOR) to +0.316 (without IDN). 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: IDN (+0.053).

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
Europe & Central Asia30+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 third15-0.18
Middle third14+0.41
Richest third14+0.35

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
Christians35+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.232 after dropping 1 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 18years. 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.081, 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 compulsory schooling moved did not tend to see their government spending per capita move with it.

Across countries (adjusted)+0.264for comparison
Within countries+0.307each country vs itself
…and vs the same year elsewhere-0.081q = 0.526 · 43 countries
Year-on-year changes+0.008q = 0.759
The direction flips. Comparing each country only with itself gives +0.31. Also taking out what happened to the whole world each year gives -0.08. So the first figure was picking up a trend both measures share with worldwide progress, not a link between them.
Read with care.
  • Much of the within-country association disappears once shared global year effects are removed, which points to a common worldwide trend rather than a country-level relationship.

757 country-years (one country in one year), 43 countries, 2007–2024, about 18 years each on average. Share of the variation that happens within countries over time: 24% for Compulsory schooling, 24% for Government spending per capita. 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 Government spending per capita trails Compulsory schooling →lag -10: r = 0.163 (n = 382)lag -9: r = 0.164 (n = 425)lag -8: r = 0.156 (n = 468)lag -7: r = 0.125 (n = 511)lag -6: r = 0.120 (n = 554)lag -5: r = 0.064 (n = 597)lag -4: r = 0.020 (n = 639)lag -3: r = -0.016 (n = 680)lag -2: r = -0.043 (n = 718)lag -1: r = -0.057 (n = 757)lag +0: r = -0.081 (n = 757)lag +1: r = -0.107 (n = 757)lag +2: r = -0.133 (n = 757)lag +3: r = -0.162 (n = 757)lag +4: r = -0.187 (n = 756)lag +5: r = -0.215 (n = 755)lag +6: r = -0.237 (n = 754)lag +7: r = -0.242 (n = 753)lag +8: r = -0.239 (n = 751)lag +9: r = -0.203 (n = 746)lag +10: r = -0.170 (n = 706)

Same year (lag 0): -0.081. 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.24 at lag +7) is higher than the same-year one by 0.16. 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


years

current international dollars
Years
Israel ISR15$25,4492025, 2024
Mexico MEX14$7,5852025, 2024
Brazil BRA14$10,8102025, 2021
Netherlands NLD13$37,8782025, 2024
Hungary HUN13$22,8712025, 2024
France FRA13$35,7982025, 2024
Germany DEU13$36,5552025, 2024
Costa Rica CRI13$11,7942025, 2024
Belgium BEL13$40,1942025, 2024
Austria AUT13$41,8172025, 2024
United States USA12$34,0732025, 2024
Turkiye TUR12$10,2872025, 2020
Portugal PRT12$22,3212025, 2024
Luxembourg LUX12$72,9572025, 2024
Italy ITA12$31,3772025, 2024

World Bank, World Development Indicators
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

Sources

Compulsory schooling

Compulsory education, duration (years)

UNESCO Institute for Statistics · CC BY 4.0 · updated quarterly

Government spending per capita

General government expenditure per capita

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

All levels of government, in current dollars adjusted for what money buys in each country (purchasing power). So it grows over time with inflation as well as differing across countries. Where it is used for adjusting, it is measured in percentage terms (on a log scale), like income. Compared with national income, this measure answers a question nobody is asking. It is money per person set against money per person. So it moves with GDP per capita at about +0.86. Its development loading, which shows how much a measure just reflects how developed a country is, is +0.92. Rich countries spend far more per person because they have far more per person, and almost all of that figure comes from dividing by people. To ask whether government is a larger part of what a country has, you need a share of GDP, not an amount per head. Three measures here do that: government consumption, government expense and tax revenue. Against income those run +0.12, +0.29 and +0.32. That is a much smaller answer, and the real one.

How this was computed

Data used: most recent value in 2010-2025; values come from 2020–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 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 Compulsory schooling and Government spending per capita

This page shows that two measures go together. It does not show that Compulsory schooling changes Government spending per capita, or the reverse. These figures also describe countries, not individual people. See the ecological fallacy.

More links with Compulsory schooling or Government spending per capita