placestats

Education spending vs. Government expense

Holds up after adjusting for income

Across 146 countries, Education spending and Government expense rise and fall together at r = +0.51 (on a scale from −1 to +1, where 0 means no link). It holds up almost unchanged when only countries with similar income (GDP per person) are compared (r = +0.53, q = 0.040, allowing for the many pairs tested). Caution: leave-one-out range spans 0.16 in r.

Comparing countries across the middle half of government expense, 18.3% to 34.5% of GDP, education spending is 1.19% of GDP higher at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 1.27% of GDP.

Link before adjusting (r)+0.512p = 3.8e-11 · 146 countries
After adjusting for national income+0.526p = 1.1e-11 · likely range [+0.40, +0.63]
p, allowing for regions0.000standard error 0.075 · 7 regions
Check for luck (q)0.040across 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.

Education spending · % of GDPlink with income +0.12 · independent
Government expense · % of GDPlink with income +0.44 · moderate

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

Every country as a dot

Education spending · % of GDP →Government expense · % of GDP →0.000008%16.4%3.77%104%Afghanistan: 4.34% of GDP, 39.2% of GDPAngola: 2.51% of GDP, 14.6% of GDPAlbania: 3.09% of GDP, 25.4% of GDPUnited Arab Emirates: 3.89% of GDP, 3.77% of GDPArgentina: 5% of GDP, 21% of GDPArmenia: 2.44% of GDP, 20.9% of GDPAustralia: 5.06% of GDP, 27.6% of GDPAustria: 5.28% of GDP, 46% of GDPAzerbaijan: 3.66% of GDP, 23% of GDPBurundi: 4.5% of GDP, 12.3% of GDPBelgium: 6.28% of GDP, 39.7% of GDPBurkina Faso: 5.33% of GDP, 19.6% of GDPBangladesh: 2.03% of GDP, 8.32% of GDPBulgaria: 4.5% of GDP, 35.8% of GDPBahrain: 1.89% of GDP, 26.1% of GDPBahamas, The: 2.74% of GDP, 20.3% of GDPBosnia and Herzegovina: 3.25% of GDP, 35.3% of GDPBelarus: 5.05% of GDP, 28.5% of GDPBelize: 4.62% of GDP, 22.3% of GDPBrazil: 5.62% of GDP, 32.4% of GDPBarbados: 3.56% of GDP, 28.8% of GDPBhutan: 5.85% of GDP, 24.1% of GDPBotswana: 8.06% of GDP, 26.5% of GDPCentral African Republic: 1.83% of GDP, 11.7% of GDPCanada: 4.84% of GDP, 19.1% of GDPSwitzerland: 4.86% of GDP, 16.1% of GDPChile: 4.91% of GDP, 24.6% of GDPCote d'Ivoire: 3.61% of GDP, 17.9% of GDPCameroon: 2.84% of GDP, 12.4% of GDPCongo, Dem. Rep.: 2.84% of GDP, 12.4% of GDPCongo, Rep.: 3.34% of GDP, 16.1% of GDPColombia: 5.26% of GDP, 33.3% of GDPCabo Verde: 4.35% of GDP, 30.9% of GDPCosta Rica: 5.31% of GDP, 28.6% of GDPCyprus: 4.74% of GDP, 38.5% of GDPCzechia: 4.3% of GDP, 34.4% of GDPGermany: 5.24% of GDP, 31.2% of GDPDenmark: 6.36% of GDP, 33.3% of GDPDominican Republic: 3.76% of GDP, 18.1% of GDPEcuador: 3.69% of GDP, 30.4% of GDPSpain: 4.59% of GDP, 34% of GDPEstonia: 5.21% of GDP, 37.7% of GDPEthiopia: 2.3% of GDP, 6.12% of GDPFinland: 6.38% of GDP, 44.9% of GDPFiji: 4.25% of GDP, 27.8% of GDPFrance: 5.32% of GDP, 47.3% of GDPMicronesia, Fed. Sts.: 11.6% of GDP, 23.4% of GDPGabon: 2.32% of GDP, 14.1% of GDPUnited Kingdom: 5.91% of GDP, 41.2% of GDPGeorgia: 3.98% of GDP, 25.2% of GDPGhana: 2.91% of GDP, 22.7% of GDPGuinea-Bissau: 2.01% of GDP, 15.5% of GDPGreece: 3.38% of GDP, 47.3% of GDPGuatemala: 3.08% of GDP, 13.5% of GDPHonduras: 4.55% of GDP, 24.4% of GDPCroatia: 4.09% of GDP, 38.1% of GDPHungary: 3.8% of GDP, 42.4% of GDPIndia: 4.1% of GDP, 13.7% of GDPIreland: 2.9% of GDP, 19.2% of GDPIceland: 7.31% of GDP, 32% of GDPIsrael: 5.93% of GDP, 37.3% of GDPItaly: 4.07% of GDP, 47.3% of GDPJamaica: 5.51% of GDP, 27.5% of GDPJordan: 3.23% of GDP, 25.9% of GDPJapan: 3.34% of GDP, 20.1% of GDPKazakhstan: 4.86% of GDP, 17.4% of GDPKenya: 4.02% of GDP, 27.8% of GDPKyrgyz Republic: 6.83% of GDP, 23.7% of GDPCambodia: 2.18% of GDP, 12.9% of GDPKiribati: 16.4% of GDP, 83.7% of GDPSt. Kitts and Nevis: 3.5% of GDP, 26.7% of GDPKorea, Rep.: 5.41% of GDP, 28.3% of GDPLao PDR: 1.23% of GDP, 10.3% of GDPLebanon: 1.22% of GDP, 6.3% of GDPSt. Lucia: 3.85% of GDP, 17.6% of GDPSri Lanka: 1.83% of GDP, 18% of GDPLesotho: 6.62% of GDP, 40.2% of GDPLithuania: 4.25% of GDP, 33.9% of GDPLuxembourg: 3.74% of GDP, 42.2% of GDPLatvia: 4.32% of GDP, 34.2% of GDPMacao SAR, China: 3.5% of GDP, 19.6% of GDPMorocco: 6.02% of GDP, 26.6% of GDPMoldova: 6.56% of GDP, 34.5% of GDPMadagascar: 3.05% of GDP, 11% of GDPMaldives: 5.17% of GDP, 29.5% of GDPMexico: 4.06% of GDP, 22.5% of GDPMarshall Islands: 7.7% of GDP, 59.4% of GDPMali: 4.18% of GDP, 12.2% of GDPMalta: 4.71% of GDP, 33.7% of GDPMyanmar: 2% of GDP, 13.8% of GDPMongolia: 5.21% of GDP, 31.7% of GDPMozambique: 5.98% of GDP, 26% of GDPMauritius: 4.25% of GDP, 29.1% of GDPMalawi: 2.75% of GDP, 20.2% of GDPMalaysia: 3.51% of GDP, 17% of GDPNamibia: 9.08% of GDP, 36.2% of GDPNicaragua: 2.87% of GDP, 16.3% of GDPNetherlands: 5.18% of GDP, 40% of GDPNorway: 5.43% of GDP, 34.5% of GDPNepal: 3.69% of GDP, 19.4% of GDPNaoero: 5.78% of GDP, 104% of GDPNew Zealand: 5.21% of GDP, 35.5% of GDPPanama: 2.47% of GDP, 17.1% of GDPPeru: 4.36% of GDP, 22.8% of GDPPhilippines: 3.97% of GDP, 16.9% of GDPPalau: 3.44% of GDP, 59% of GDPPapua New Guinea: 0.782% of GDP, 20.3% of GDPPoland: 4.31% of GDP, 39.1% of GDPPortugal: 4.55% of GDP, 37.2% of GDPParaguay: 3.53% of GDP, 18.9% of GDPWest Bank and Gaza: 5.43% of GDP, 26.2% of GDPRomania: 3.28% of GDP, 37.3% of GDPRussian Federation: 4.16% of GDP, 30% of GDPRwanda: 4.61% of GDP, 18% of GDPSaudi Arabia: 4.48% of GDP, 24.2% of GDPSenegal: 6.16% of GDP, 23.6% of GDPSingapore: 2.19% of GDP, 17.1% of GDPSolomon Islands: 8.29% of GDP, 28.9% of GDPEl Salvador: 3.32% of GDP, 27.9% of GDPSan Marino: 2.9% of GDP, 40.5% of GDPSomalia, Fed. Rep.: 0.000008% of GDP, 6.35% of GDPSerbia: 3.4% of GDP, 35.5% of GDPSlovak Republic: 4.66% of GDP, 39.8% of GDPSlovenia: 5.28% of GDP, 42.9% of GDPSweden: 7.32% of GDP, 32.5% of GDPEswatini: 6.03% of GDP, 24.6% of GDPTogo: 4.14% of GDP, 16% of GDPThailand: 2.52% of GDP, 20.7% of GDPTajikistan: 5.44% of GDP, 11% of GDPTimor-Leste: 5.24% of GDP, 52.5% of GDPTonga: 5.31% of GDP, 34.7% of GDPTrinidad and Tobago: 3.23% of GDP, 33.3% of GDPTunisia: 6.73% of GDP, 33.8% of GDPTurkiye: 3.1% of GDP, 33% of GDPTanzania: 3.16% of GDP, 16.3% of GDPUganda: 2.56% of GDP, 16.6% of GDPUkraine: 5.14% of GDP, 65.6% of GDPUruguay: 4.76% of GDP, 36.5% of GDPUnited States: 5.42% of GDP, 24.4% of GDPUzbekistan: 5.47% of GDP, 22.3% of GDPSt. Vincent and the Grenadines: 6.46% of GDP, 24.7% of GDPVanuatu: 7.64% of GDP, 26.6% of GDPSamoa: 5.46% of GDP, 26.7% of GDPSouth Africa: 6.02% of GDP, 33.4% of GDPZambia: 4.07% of GDP, 25.1% of GDPZimbabwe: 0.385% of GDP, 11% of GDPBWAFSMKIRLBNMHLNRUPLWSOMUKRZWE

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted+0.5123.8e-11146
By rank (Spearman), not adjusted+0.5172.5e-11146
Standard (Pearson), adjusted for national income+0.5261.1e-11146
By rank (Spearman), adjusted for national income+0.5202.0e-11146

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

How solid is it?

Leaving out one country at a time, r ranges from +0.413 (without KIR) to +0.571 (without NRU). 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.113).

Fragile: this link may not hold up.
  • leave-one-out range spans 0.16 in r

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 & Pacific25+0.50
Europe & Central Asia46+0.07
Latin America & Caribbean24+0.46
Sub-Saharan Africa32+0.74

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 third49+0.76
Middle third48+0.32
Richest third49+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
Christians96+0.59
Muslims26+0.41

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
France14+0.92
Never a European colony16+0.22
Spain18+0.40
United Kingdom46+0.64

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

The link also shows up within countries over time (r = +0.445). It holds even when looking only at changes from one year to the next (r = +0.195). This is the strongest kind of evidence available here: it holds when each country is compared only with itself, and it is not just a product of shared trends.

Across countries (adjusted)+0.526for comparison
Within countries+0.460each country vs itself
…and vs the same year elsewhere+0.445q = 0.000 · 142 countries
Year-on-year changes+0.195q = 8.0e-5
Read with care.
  • The association is much weaker in year-on-year changes than in levels, which points to shared country-specific trends.

2,619 country-years (one country in one year), 142 countries, 1990–2024, about 18 years each on average. Share of the variation that happens within countries over time: 11% for Education spending, 20% for Government expense. 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.50−0.5-100+10years Government expense trails Education spending →lag -10: r = 0.006 (n = 1,837)lag -9: r = -0.046 (n = 1,916)lag -8: r = -0.063 (n = 2,020)lag -7: r = -0.040 (n = 2,087)lag -6: r = -0.012 (n = 2,179)lag -5: r = 0.045 (n = 2,296)lag -4: r = 0.117 (n = 2,388)lag -3: r = 0.172 (n = 2,475)lag -2: r = 0.240 (n = 2,532)lag -1: r = 0.388 (n = 2,591)lag +0: r = 0.445 (n = 2,619)lag +1: r = 0.367 (n = 2,562)lag +2: r = 0.315 (n = 2,473)lag +3: r = 0.244 (n = 2,357)lag +4: r = 0.190 (n = 2,257)lag +5: r = 0.125 (n = 2,128)lag +6: r = 0.080 (n = 2,019)lag +7: r = 0.051 (n = 1,915)lag +8: r = 0.023 (n = 1,811)lag +9: r = -0.010 (n = 1,692)lag +10: r = 0.012 (n = 1,581)

Same year (lag 0): +0.445. 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 data


% of GDP

% of GDP
Years
Kiribati KIR16.4%83.7%2023
Micronesia, Fed. Sts. FSM11.6%23.4%2020
Namibia NAM9.08%36.2%2024, 2023
Solomon Islands SLB8.29%28.9%2023, 2022
Botswana BWA8.06%26.5%2020, 2024
Marshall Islands MHL7.7%59.4%2022, 2020
Vanuatu VUT7.64%26.6%2024, 2023
Sweden SWE7.32%32.5%2022
Iceland ISL7.31%32%2022, 2023
Kyrgyz Republic KGZ6.83%23.7%2023
Tunisia TUN6.73%33.8%2023, 2012
Lesotho LSO6.62%40.2%2024, 2022
Moldova MDA6.56%34.5%2023
St. Vincent and the Grenadines VCT6.46%24.7%2023, 2017
Finland FIN6.38%44.9%2022, 2023

World Bank, World Development Indicators
World Bank, World Development Indicators

Sources

Education spending

Government expenditure on education, total (% of GDP)

UNESCO Institute for Statistics · CC BY 4.0 · updated quarterly

Government expense

Government expense (% of GDP)

World Bank · CC BY 4.0 · updated quarterly

Total central government spending, as a share of GDP: buying, payments to people, subsidies and interest together. From the IMF's Government Finance Statistics. It is the fuller measure of government size, but it covers fewer countries. It counts central government only, so a country with large state and local budgets looks low. About forty fewer countries report it than report government consumption. No "better" direction is set.

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 Education spending and Government expense

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

More links with Education spending or Government expense