placestats

Education spending vs. Secondary enrollment

Holds up after adjusting for income

Across 182 countries, Education spending and Secondary enrollment rise and fall together at r = +0.29 (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.42, q = 0.0085, allowing for the many pairs tested).

Comparing countries across the middle half of education spending, 3.12% to 5.28% of GDP, secondary enrollment is better by 8.69% gross at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 8.25% gross.

Link before adjusting (r)+0.295p = 5.3e-5 · 182 countries
After adjusting for national income+0.415p = 6.2e-9 · likely range [+0.29, +0.53]
p, allowing for regions0.000standard error 0.052 · 7 regions
Check for luck (q)0.008across 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
Secondary enrollment · % grosslink with income +0.71 · high

“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 →Secondary enrollment · % gross →0.000008%16.4%3.35%143%Aruba: 3.62% of GDP, 124% grossAfghanistan: 4.34% of GDP, 59.6% grossAngola: 2.51% of GDP, 51.5% grossAlbania: 3.09% of GDP, 108% grossAndorra: 1.9% of GDP, 102% grossUnited Arab Emirates: 3.89% of GDP, 102% grossArgentina: 5% of GDP, 106% grossArmenia: 2.44% of GDP, 90.9% grossAntigua and Barbuda: 3.11% of GDP, 109% grossAustralia: 5.06% of GDP, 132% grossAustria: 5.28% of GDP, 101% grossAzerbaijan: 3.66% of GDP, 91.1% grossBurundi: 4.5% of GDP, 23.1% grossBelgium: 6.28% of GDP, 143% grossBenin: 3.23% of GDP, 43.6% grossBurkina Faso: 5.33% of GDP, 30% grossBangladesh: 2.03% of GDP, 64.3% grossBulgaria: 4.5% of GDP, 94.8% grossBahrain: 1.89% of GDP, 98.8% grossBahamas, The: 2.74% of GDP, 79.5% grossBosnia and Herzegovina: 3.25% of GDP, 87.9% grossBelarus: 5.05% of GDP, 94.8% grossBelize: 4.62% of GDP, 86.5% grossBermuda: 1.87% of GDP, 74.4% grossBolivia: 7.54% of GDP, 90.5% grossBrazil: 5.62% of GDP, 104% grossBarbados: 3.56% of GDP, 104% grossBrunei Darussalam: 4.43% of GDP, 91.8% grossBhutan: 5.85% of GDP, 86.2% grossBotswana: 8.06% of GDP, 70.6% grossCentral African Republic: 1.83% of GDP, 15.8% grossCanada: 4.84% of GDP, 104% grossSwitzerland: 4.86% of GDP, 101% grossChile: 4.91% of GDP, 106% grossChina: 3.9% of GDP, 92.3% grossCote d'Ivoire: 3.61% of GDP, 65.3% grossCameroon: 2.84% of GDP, 44.8% grossCongo, Dem. Rep.: 2.84% of GDP, 55.5% grossCongo, Rep.: 3.34% of GDP, 50.5% grossColombia: 5.26% of GDP, 102% grossComoros: 2.34% of GDP, 54.8% grossCabo Verde: 4.35% of GDP, 96.4% grossCosta Rica: 5.31% of GDP, 122% grossCuracao: 5.44% of GDP, 89.9% grossCayman Islands: 1.57% of GDP, 84.8% grossCyprus: 4.74% of GDP, 107% grossCzechia: 4.3% of GDP, 97.6% grossGermany: 5.24% of GDP, 100% grossDominica: 5.39% of GDP, 103% grossDenmark: 6.36% of GDP, 126% grossDominican Republic: 3.76% of GDP, 76.4% grossAlgeria: 8.98% of GDP, 105% grossEcuador: 3.69% of GDP, 92.8% grossSpain: 4.59% of GDP, 119% grossEstonia: 5.21% of GDP, 109% grossEthiopia: 2.3% of GDP, 33.9% grossFinland: 6.38% of GDP, 142% grossFiji: 4.25% of GDP, 98.1% grossFrance: 5.32% of GDP, 104% grossGabon: 2.32% of GDP, 70.3% grossUnited Kingdom: 5.91% of GDP, 112% grossGeorgia: 3.98% of GDP, 101% grossGhana: 2.91% of GDP, 75.7% grossGuinea: 1.72% of GDP, 38.6% grossGambia, The: 2.81% of GDP, 107% grossGreece: 3.38% of GDP, 105% grossGrenada: 5.13% of GDP, 101% grossGuatemala: 3.08% of GDP, 49.6% grossGuyana: 4.45% of GDP, 91.4% grossHong Kong SAR, China: 3.81% of GDP, 107% grossHonduras: 4.55% of GDP, 51.8% grossCroatia: 4.09% of GDP, 105% grossHungary: 3.8% of GDP, 107% grossIndonesia: 1.28% of GDP, 97.2% grossIndia: 4.1% of GDP, 79.6% grossIreland: 2.9% of GDP, 131% grossIran, Islamic Rep.: 2.82% of GDP, 85.1% grossIceland: 7.31% of GDP, 109% grossIsrael: 5.93% of GDP, 98.5% grossItaly: 4.07% of GDP, 101% grossJamaica: 5.51% of GDP, 84.5% grossJordan: 3.23% of GDP, 91.8% grossJapan: 3.34% of GDP, 102% grossKazakhstan: 4.86% of GDP, 97.6% grossKenya: 4.02% of GDP, 84.3% grossKyrgyz Republic: 6.83% of GDP, 91.7% grossCambodia: 2.18% of GDP, 58.8% grossKiribati: 16.4% of GDP, 90.3% grossSt. Kitts and Nevis: 3.5% of GDP, 138% grossKorea, Rep.: 5.41% of GDP, 96.3% grossKuwait: 6.44% of GDP, 95.4% grossLao PDR: 1.23% of GDP, 50.5% grossLebanon: 1.22% of GDP, 63.8% grossLiberia: 2.27% of GDP, 37.7% grossSt. Lucia: 3.85% of GDP, 87.9% grossSri Lanka: 1.83% of GDP, 88% grossLesotho: 6.62% of GDP, 59.4% grossLithuania: 4.25% of GDP, 105% grossLuxembourg: 3.74% of GDP, 109% grossLatvia: 4.32% of GDP, 101% grossMacao SAR, China: 3.5% of GDP, 94.7% grossMorocco: 6.02% of GDP, 90% grossMoldova: 6.56% of GDP, 99.3% grossMadagascar: 3.05% of GDP, 34.1% grossMaldives: 5.17% of GDP, 79.4% grossMexico: 4.06% of GDP, 103% grossMarshall Islands: 7.7% of GDP, 85.8% grossMali: 4.18% of GDP, 38.9% grossMalta: 4.71% of GDP, 103% grossMyanmar: 2% of GDP, 77% grossMongolia: 5.21% of GDP, 96.8% grossMozambique: 5.98% of GDP, 37.2% grossMauritania: 7.61% of GDP, 36% grossMauritius: 4.25% of GDP, 90.7% grossMalawi: 2.75% of GDP, 36.6% grossMalaysia: 3.51% of GDP, 80.3% grossNamibia: 9.08% of GDP, 82% grossNiger: 4.07% of GDP, 19.9% grossNigeria: 0.319% of GDP, 46.9% grossNicaragua: 2.87% of GDP, 70.2% grossNetherlands: 5.18% of GDP, 138% grossNorway: 5.43% of GDP, 116% grossNepal: 3.69% of GDP, 90.4% grossNaoero: 5.78% of GDP, 94.5% grossNew Zealand: 5.21% of GDP, 114% grossOman: 4.38% of GDP, 95.1% grossPakistan: 1.95% of GDP, 48.3% grossPanama: 2.47% of GDP, 76.6% grossPeru: 4.36% of GDP, 108% grossPhilippines: 3.97% of GDP, 85.3% grossPalau: 3.44% of GDP, 95.7% grossPapua New Guinea: 0.782% of GDP, 52.1% grossPoland: 4.31% of GDP, 108% grossPuerto Rico (US): 4.27% of GDP, 81.5% grossPortugal: 4.55% of GDP, 120% grossParaguay: 3.53% of GDP, 79.1% grossWest Bank and Gaza: 5.43% of GDP, 89.1% grossQatar: 3.23% of GDP, 99.6% grossRomania: 3.28% of GDP, 81.6% grossRussian Federation: 4.16% of GDP, 92.5% grossRwanda: 4.61% of GDP, 48.8% grossSaudi Arabia: 4.48% of GDP, 111% grossSenegal: 6.16% of GDP, 44.1% grossSingapore: 2.19% of GDP, 103% grossSolomon Islands: 8.29% of GDP, 49% grossSierra Leone: 2.62% of GDP, 86.9% grossEl Salvador: 3.32% of GDP, 62.1% grossSan Marino: 2.9% of GDP, 60.4% grossSomalia, Fed. Rep.: 0.000008% of GDP, 3.35% grossSerbia: 3.4% of GDP, 89.8% grossSao Tome and Principe: 5.03% of GDP, 90.4% grossSuriname: 2.87% of GDP, 76.1% grossSlovak Republic: 4.66% of GDP, 93.2% grossSlovenia: 5.28% of GDP, 108% grossSweden: 7.32% of GDP, 132% grossEswatini: 6.03% of GDP, 82% grossSint Maarten (Dutch part): 3.92% of GDP, 111% grossSeychelles: 4.45% of GDP, 70.8% grossTurks and Caicos Islands: 2.95% of GDP, 120% grossChad: 3.2% of GDP, 23.5% grossTogo: 4.14% of GDP, 63.4% grossThailand: 2.52% of GDP, 92.1% grossTajikistan: 5.44% of GDP, 86.9% grossTurkmenistan: 4.29% of GDP, 94.6% grossTimor-Leste: 5.24% of GDP, 84.7% grossTonga: 5.31% of GDP, 92.4% grossTrinidad and Tobago: 3.23% of GDP, 95.7% grossTunisia: 6.73% of GDP, 90.3% grossTurkiye: 3.1% of GDP, 118% grossTuvalu: 12.8% of GDP, 90.7% grossTanzania: 3.16% of GDP, 28.2% grossUkraine: 5.14% of GDP, 86.2% grossUruguay: 4.76% of GDP, 119% grossUnited States: 5.42% of GDP, 97.5% grossUzbekistan: 5.47% of GDP, 98.1% grossSt. Vincent and the Grenadines: 6.46% of GDP, 125% grossViet Nam: 2.89% of GDP, 93.4% grossVanuatu: 7.64% of GDP, 135% grossSamoa: 5.46% of GDP, 87.4% grossSouth Africa: 6.02% of GDP, 104% grossZambia: 4.07% of GDP, 56.8% grossZimbabwe: 0.385% of GDP, 52.4% grossCAFIDNIRLKIRKNAMRTNGASOMTUVVUT

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted+0.2955.3e-5182
By rank (Spearman), not adjusted+0.3305.4e-6182
Standard (Pearson), adjusted for national income+0.4156.2e-9182
By rank (Spearman), adjusted for national income+0.3693.3e-7182

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

How solid is it?

Leaving out one country at a time, r ranges from +0.398 (without VUT) to +0.440 (without MRT). 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: MRT (+0.025).

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 & Pacific30+0.42
Europe & Central Asia48+0.45
Latin America & Caribbean36+0.47
Middle East, North Africa, Afghanistan & Pakistan17+0.70
Sub-Saharan Africa42+0.17

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.46
Middle third60+0.23
Richest third61+0.51

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
Christians105+0.49
Muslims42+0.23

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
France22+0.27
Never a European colony21+0.49
Spain18+0.65
United Kingdom58+0.38

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.387 after dropping 11 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 36years. 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.066, 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 education spending moved did not tend to see their secondary enrollment move with it.

Across countries (adjusted)+0.415for comparison
Within countries+0.142each country vs itself
…and vs the same year elsewhere+0.066q = 0.366 · 177 countries
Year-on-year changes-0.001q = 0.992

2,830 country-years (one country in one year), 177 countries, 1990–2025, about 16 years each on average. Share of the variation that happens within countries over time: 22% for Education spending, 13% for Secondary enrollment. 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 Secondary enrollment trails Education spending →lag -10: r = -0.055 (n = 2,020)lag -9: r = -0.065 (n = 2,143)lag -8: r = -0.062 (n = 2,221)lag -7: r = -0.040 (n = 2,284)lag -6: r = -0.018 (n = 2,344)lag -5: r = 0.003 (n = 2,399)lag -4: r = 0.017 (n = 2,479)lag -3: r = 0.036 (n = 2,546)lag -2: r = 0.041 (n = 2,645)lag -1: r = 0.065 (n = 2,732)lag +0: r = 0.066 (n = 2,830)lag +1: r = 0.087 (n = 2,811)lag +2: r = 0.089 (n = 2,726)lag +3: r = 0.050 (n = 2,613)lag +4: r = 0.070 (n = 2,478)lag +5: r = 0.083 (n = 2,375)lag +6: r = 0.081 (n = 2,297)lag +7: r = 0.105 (n = 2,200)lag +8: r = 0.094 (n = 2,101)lag +9: r = 0.096 (n = 2,003)lag +10: r = 0.081 (n = 1,881)

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

% gross
Years
Kiribati KIR16.4%90.3%2023, 2024
Tuvalu TUV12.8%90.7%2023, 2024
Namibia NAM9.08%82%2024
Algeria DZA8.98%105%2024
Solomon Islands SLB8.29%49%2023, 2012
Botswana BWA8.06%70.6%2020, 2021
Marshall Islands MHL7.7%85.8%2022, 2024
Vanuatu VUT7.64%135%2024, 2023
Mauritania MRT7.61%36%2024, 2020
Bolivia BOL7.54%90.5%2024
Sweden SWE7.32%132%2022, 2024
Iceland ISL7.31%109%2022, 2023
Kyrgyz Republic KGZ6.83%91.7%2023, 2025
Tunisia TUN6.73%90.3%2023, 2016
Lesotho LSO6.62%59.4%2024, 2017

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

Secondary enrollment

School enrollment, secondary (% gross)

UNESCO Institute for Statistics · 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 Education spending and Secondary enrollment

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

More links with Education spending or Secondary enrollment