placestats

Education spending vs. Rule of law

Holds up after adjusting for income

Key points

Across 184 countries, where education spending is higher, rule of law tends to be higher (r = +0.34, 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.45, q = 0.040, allowing for the many pairs tested).

Comparing countries across the middle half of education spending, 3.09% to 5.28% of GDP, rule of law is better by 0.343 points at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 0.323 points.

Before and after adjusting for income

Before adjusting +0.34
Comparing countries with similar income +0.45
Each dot is the link on a scale from −1 to +1. The closer a dot sits to the middle line, the weaker the link. The shaded band is the likely range. A band that crosses the middle line means the link could easily be chance.

Every country as a dot

Education spending · % of GDP →Rule of law · index (approx. -2.5 to 2.5) →0.000008%16.4%-2.172.01Aruba: 3.62% of GDP, 1.23 index (approx. -2.5 to 2.5)Afghanistan: 4.34% of GDP, -1.85 index (approx. -2.5 to 2.5)Angola: 2.51% of GDP, -1.12 index (approx. -2.5 to 2.5)Albania: 3.09% of GDP, -0.0388 index (approx. -2.5 to 2.5)Andorra: 1.9% of GDP, 1.58 index (approx. -2.5 to 2.5)United Arab Emirates: 3.89% of GDP, 0.543 index (approx. -2.5 to 2.5)Argentina: 5% of GDP, -0.102 index (approx. -2.5 to 2.5)Armenia: 2.44% of GDP, -0.265 index (approx. -2.5 to 2.5)Antigua and Barbuda: 3.11% of GDP, 0.569 index (approx. -2.5 to 2.5)Australia: 5.06% of GDP, 1.46 index (approx. -2.5 to 2.5)Austria: 5.28% of GDP, 1.65 index (approx. -2.5 to 2.5)Azerbaijan: 3.66% of GDP, -0.457 index (approx. -2.5 to 2.5)Burundi: 4.5% of GDP, -1.43 index (approx. -2.5 to 2.5)Belgium: 6.28% of GDP, 1.27 index (approx. -2.5 to 2.5)Benin: 3.23% of GDP, -0.456 index (approx. -2.5 to 2.5)Burkina Faso: 5.33% of GDP, -0.92 index (approx. -2.5 to 2.5)Bangladesh: 2.03% of GDP, -0.91 index (approx. -2.5 to 2.5)Bulgaria: 4.5% of GDP, -0.0458 index (approx. -2.5 to 2.5)Bahrain: 1.89% of GDP, 0.18 index (approx. -2.5 to 2.5)Bahamas, The: 2.74% of GDP, 0.229 index (approx. -2.5 to 2.5)Bosnia and Herzegovina: 3.25% of GDP, -0.34 index (approx. -2.5 to 2.5)Belarus: 5.05% of GDP, -1.23 index (approx. -2.5 to 2.5)Belize: 4.62% of GDP, -0.371 index (approx. -2.5 to 2.5)Bermuda: 1.87% of GDP, 0.808 index (approx. -2.5 to 2.5)Bolivia: 7.54% of GDP, -1.35 index (approx. -2.5 to 2.5)Brazil: 5.62% of GDP, -0.486 index (approx. -2.5 to 2.5)Barbados: 3.56% of GDP, 0.72 index (approx. -2.5 to 2.5)Brunei Darussalam: 4.43% of GDP, 0.674 index (approx. -2.5 to 2.5)Bhutan: 5.85% of GDP, 0.722 index (approx. -2.5 to 2.5)Botswana: 8.06% of GDP, 0.281 index (approx. -2.5 to 2.5)Central African Republic: 1.83% of GDP, -1.7 index (approx. -2.5 to 2.5)Canada: 4.84% of GDP, 1.48 index (approx. -2.5 to 2.5)Switzerland: 4.86% of GDP, 1.74 index (approx. -2.5 to 2.5)Chile: 4.91% of GDP, 0.68 index (approx. -2.5 to 2.5)China: 3.9% of GDP, -0.429 index (approx. -2.5 to 2.5)Cote d'Ivoire: 3.61% of GDP, -0.522 index (approx. -2.5 to 2.5)Cameroon: 2.84% of GDP, -1.19 index (approx. -2.5 to 2.5)Congo, Dem. Rep.: 2.84% of GDP, -1.66 index (approx. -2.5 to 2.5)Congo, Rep.: 3.34% of GDP, -1.25 index (approx. -2.5 to 2.5)Colombia: 5.26% of GDP, -0.628 index (approx. -2.5 to 2.5)Comoros: 2.34% of GDP, -0.955 index (approx. -2.5 to 2.5)Cabo Verde: 4.35% of GDP, 0.455 index (approx. -2.5 to 2.5)Costa Rica: 5.31% of GDP, 0.603 index (approx. -2.5 to 2.5)Cayman Islands: 1.57% of GDP, 0.964 index (approx. -2.5 to 2.5)Cyprus: 4.74% of GDP, 0.739 index (approx. -2.5 to 2.5)Czechia: 4.3% of GDP, 1.17 index (approx. -2.5 to 2.5)Germany: 5.24% of GDP, 1.6 index (approx. -2.5 to 2.5)Djibouti: 3.75% of GDP, -1.02 index (approx. -2.5 to 2.5)Dominica: 5.39% of GDP, 0.425 index (approx. -2.5 to 2.5)Denmark: 6.36% of GDP, 2.01 index (approx. -2.5 to 2.5)Dominican Republic: 3.76% of GDP, -0.123 index (approx. -2.5 to 2.5)Algeria: 8.98% of GDP, -0.652 index (approx. -2.5 to 2.5)Ecuador: 3.69% of GDP, -1.03 index (approx. -2.5 to 2.5)Spain: 4.59% of GDP, 0.869 index (approx. -2.5 to 2.5)Estonia: 5.21% of GDP, 1.43 index (approx. -2.5 to 2.5)Ethiopia: 2.3% of GDP, -0.938 index (approx. -2.5 to 2.5)Finland: 6.38% of GDP, 2.01 index (approx. -2.5 to 2.5)Fiji: 4.25% of GDP, 0.419 index (approx. -2.5 to 2.5)France: 5.32% of GDP, 0.97 index (approx. -2.5 to 2.5)Micronesia, Fed. Sts.: 11.6% of GDP, 0.971 index (approx. -2.5 to 2.5)Gabon: 2.32% of GDP, -1.02 index (approx. -2.5 to 2.5)United Kingdom: 5.91% of GDP, 1.27 index (approx. -2.5 to 2.5)Georgia: 3.98% of GDP, 0.0953 index (approx. -2.5 to 2.5)Ghana: 2.91% of GDP, -0.00121 index (approx. -2.5 to 2.5)Guinea: 1.72% of GDP, -1.21 index (approx. -2.5 to 2.5)Gambia, The: 2.81% of GDP, -0.395 index (approx. -2.5 to 2.5)Guinea-Bissau: 2.01% of GDP, -1.27 index (approx. -2.5 to 2.5)Greece: 3.38% of GDP, 0.285 index (approx. -2.5 to 2.5)Grenada: 5.13% of GDP, 0.581 index (approx. -2.5 to 2.5)Guatemala: 3.08% of GDP, -1.03 index (approx. -2.5 to 2.5)Guyana: 4.45% of GDP, -0.312 index (approx. -2.5 to 2.5)Hong Kong SAR, China: 3.81% of GDP, 0.941 index (approx. -2.5 to 2.5)Honduras: 4.55% of GDP, -1.15 index (approx. -2.5 to 2.5)Croatia: 4.09% of GDP, 0.421 index (approx. -2.5 to 2.5)Haiti: 0.965% of GDP, -1.62 index (approx. -2.5 to 2.5)Hungary: 3.8% of GDP, 0.216 index (approx. -2.5 to 2.5)Indonesia: 1.28% of GDP, -0.255 index (approx. -2.5 to 2.5)India: 4.1% of GDP, -0.129 index (approx. -2.5 to 2.5)Ireland: 2.9% of GDP, 1.55 index (approx. -2.5 to 2.5)Iran, Islamic Rep.: 2.82% of GDP, -1.22 index (approx. -2.5 to 2.5)Iceland: 7.31% of GDP, 1.61 index (approx. -2.5 to 2.5)Israel: 5.93% of GDP, 0.677 index (approx. -2.5 to 2.5)Italy: 4.07% of GDP, 0.585 index (approx. -2.5 to 2.5)Jamaica: 5.51% of GDP, -0.0301 index (approx. -2.5 to 2.5)Jordan: 3.23% of GDP, 0.192 index (approx. -2.5 to 2.5)Japan: 3.34% of GDP, 1.54 index (approx. -2.5 to 2.5)Kazakhstan: 4.86% of GDP, -0.409 index (approx. -2.5 to 2.5)Kenya: 4.02% of GDP, -0.474 index (approx. -2.5 to 2.5)Kyrgyz Republic: 6.83% of GDP, -0.931 index (approx. -2.5 to 2.5)Cambodia: 2.18% of GDP, -1.05 index (approx. -2.5 to 2.5)Kiribati: 16.4% of GDP, 0.871 index (approx. -2.5 to 2.5)St. Kitts and Nevis: 3.5% of GDP, 0.58 index (approx. -2.5 to 2.5)Korea, Rep.: 5.41% of GDP, 1.2 index (approx. -2.5 to 2.5)Kuwait: 6.44% of GDP, 0.197 index (approx. -2.5 to 2.5)Lao PDR: 1.23% of GDP, -0.64 index (approx. -2.5 to 2.5)Lebanon: 1.22% of GDP, -1.06 index (approx. -2.5 to 2.5)Liberia: 2.27% of GDP, -0.849 index (approx. -2.5 to 2.5)St. Lucia: 3.85% of GDP, 0.568 index (approx. -2.5 to 2.5)Sri Lanka: 1.83% of GDP, -0.207 index (approx. -2.5 to 2.5)Lesotho: 6.62% of GDP, -0.465 index (approx. -2.5 to 2.5)Lithuania: 4.25% of GDP, 1.37 index (approx. -2.5 to 2.5)Luxembourg: 3.74% of GDP, 1.71 index (approx. -2.5 to 2.5)Latvia: 4.32% of GDP, 1.07 index (approx. -2.5 to 2.5)Macao SAR, China: 3.5% of GDP, 0.855 index (approx. -2.5 to 2.5)Morocco: 6.02% of GDP, -0.341 index (approx. -2.5 to 2.5)Moldova: 6.56% of GDP, -0.153 index (approx. -2.5 to 2.5)Madagascar: 3.05% of GDP, -0.946 index (approx. -2.5 to 2.5)Maldives: 5.17% of GDP, -0.011 index (approx. -2.5 to 2.5)Mexico: 4.06% of GDP, -1.17 index (approx. -2.5 to 2.5)Marshall Islands: 7.7% of GDP, 0.953 index (approx. -2.5 to 2.5)Mali: 4.18% of GDP, -1.19 index (approx. -2.5 to 2.5)Malta: 4.71% of GDP, 0.666 index (approx. -2.5 to 2.5)Myanmar: 2% of GDP, -1.77 index (approx. -2.5 to 2.5)Mongolia: 5.21% of GDP, -0.116 index (approx. -2.5 to 2.5)Mozambique: 5.98% of GDP, -1.18 index (approx. -2.5 to 2.5)Mauritania: 7.61% of GDP, -0.808 index (approx. -2.5 to 2.5)Mauritius: 4.25% of GDP, 0.676 index (approx. -2.5 to 2.5)Malawi: 2.75% of GDP, -0.136 index (approx. -2.5 to 2.5)Malaysia: 3.51% of GDP, 0.408 index (approx. -2.5 to 2.5)Namibia: 9.08% of GDP, 0.376 index (approx. -2.5 to 2.5)Niger: 4.07% of GDP, -1.13 index (approx. -2.5 to 2.5)Nigeria: 0.319% of GDP, -0.951 index (approx. -2.5 to 2.5)Nicaragua: 2.87% of GDP, -1.59 index (approx. -2.5 to 2.5)Netherlands: 5.18% of GDP, 1.67 index (approx. -2.5 to 2.5)Norway: 5.43% of GDP, 1.94 index (approx. -2.5 to 2.5)Nepal: 3.69% of GDP, -0.306 index (approx. -2.5 to 2.5)Naoero: 5.78% of GDP, 0.271 index (approx. -2.5 to 2.5)New Zealand: 5.21% of GDP, 1.66 index (approx. -2.5 to 2.5)Oman: 4.38% of GDP, 0.502 index (approx. -2.5 to 2.5)Pakistan: 1.95% of GDP, -1.07 index (approx. -2.5 to 2.5)Panama: 2.47% of GDP, -0.303 index (approx. -2.5 to 2.5)Peru: 4.36% of GDP, -0.659 index (approx. -2.5 to 2.5)Philippines: 3.97% of GDP, -0.471 index (approx. -2.5 to 2.5)Palau: 3.44% of GDP, 1.17 index (approx. -2.5 to 2.5)Papua New Guinea: 0.782% of GDP, -0.573 index (approx. -2.5 to 2.5)Poland: 4.31% of GDP, 0.569 index (approx. -2.5 to 2.5)Puerto Rico (US): 4.27% of GDP, 0.566 index (approx. -2.5 to 2.5)Portugal: 4.55% of GDP, 1.05 index (approx. -2.5 to 2.5)Paraguay: 3.53% of GDP, -0.631 index (approx. -2.5 to 2.5)West Bank and Gaza: 5.43% of GDP, -0.961 index (approx. -2.5 to 2.5)Qatar: 3.23% of GDP, 0.563 index (approx. -2.5 to 2.5)Romania: 3.28% of GDP, 0.297 index (approx. -2.5 to 2.5)Russian Federation: 4.16% of GDP, -1.27 index (approx. -2.5 to 2.5)Rwanda: 4.61% of GDP, 0.0981 index (approx. -2.5 to 2.5)Saudi Arabia: 4.48% of GDP, 0.274 index (approx. -2.5 to 2.5)Senegal: 6.16% of GDP, -0.193 index (approx. -2.5 to 2.5)Singapore: 2.19% of GDP, 1.49 index (approx. -2.5 to 2.5)Solomon Islands: 8.29% of GDP, 0.179 index (approx. -2.5 to 2.5)Sierra Leone: 2.62% of GDP, -0.843 index (approx. -2.5 to 2.5)El Salvador: 3.32% of GDP, -0.706 index (approx. -2.5 to 2.5)San Marino: 2.9% of GDP, 1.45 index (approx. -2.5 to 2.5)Somalia, Fed. Rep.: 0.000008% of GDP, -2.17 index (approx. -2.5 to 2.5)Serbia: 3.4% of GDP, -0.321 index (approx. -2.5 to 2.5)Sao Tome and Principe: 5.03% of GDP, -0.454 index (approx. -2.5 to 2.5)Suriname: 2.87% of GDP, -0.217 index (approx. -2.5 to 2.5)Slovak Republic: 4.66% of GDP, 0.45 index (approx. -2.5 to 2.5)Slovenia: 5.28% of GDP, 0.922 index (approx. -2.5 to 2.5)Sweden: 7.32% of GDP, 1.74 index (approx. -2.5 to 2.5)Eswatini: 6.03% of GDP, -0.779 index (approx. -2.5 to 2.5)Seychelles: 4.45% of GDP, 0.578 index (approx. -2.5 to 2.5)Chad: 3.2% of GDP, -1.41 index (approx. -2.5 to 2.5)Togo: 4.14% of GDP, -0.627 index (approx. -2.5 to 2.5)Thailand: 2.52% of GDP, -0.122 index (approx. -2.5 to 2.5)Tajikistan: 5.44% of GDP, -1.22 index (approx. -2.5 to 2.5)Turkmenistan: 4.29% of GDP, -1.42 index (approx. -2.5 to 2.5)Timor-Leste: 5.24% of GDP, -0.641 index (approx. -2.5 to 2.5)Tonga: 5.31% of GDP, 0.774 index (approx. -2.5 to 2.5)Trinidad and Tobago: 3.23% of GDP, -0.349 index (approx. -2.5 to 2.5)Tunisia: 6.73% of GDP, -0.391 index (approx. -2.5 to 2.5)Turkiye: 3.1% of GDP, -0.812 index (approx. -2.5 to 2.5)Tuvalu: 12.8% of GDP, 1.35 index (approx. -2.5 to 2.5)Tanzania: 3.16% of GDP, -0.571 index (approx. -2.5 to 2.5)Uganda: 2.56% of GDP, -0.67 index (approx. -2.5 to 2.5)Ukraine: 5.14% of GDP, -0.788 index (approx. -2.5 to 2.5)Uruguay: 4.76% of GDP, 0.939 index (approx. -2.5 to 2.5)United States: 5.42% of GDP, 0.791 index (approx. -2.5 to 2.5)Uzbekistan: 5.47% of GDP, -0.641 index (approx. -2.5 to 2.5)St. Vincent and the Grenadines: 6.46% of GDP, 0.578 index (approx. -2.5 to 2.5)Viet Nam: 2.89% of GDP, -0.175 index (approx. -2.5 to 2.5)Vanuatu: 7.64% of GDP, 0.529 index (approx. -2.5 to 2.5)Samoa: 5.46% of GDP, 1.06 index (approx. -2.5 to 2.5)South Africa: 6.02% of GDP, 0.0408 index (approx. -2.5 to 2.5)Zambia: 4.07% of GDP, -0.492 index (approx. -2.5 to 2.5)Zimbabwe: 0.385% of GDP, -1.22 index (approx. -2.5 to 2.5)ANDBOLCYMDZAFSMHTIKIRSGPSOMTUVZWE

best-fit line line after adjusting

One dot for each country. The dashed line is the straight line that best fits the dots. The solid line is the link after adjusting for national income. A dot far from the lines is a country that does not follow the pattern.

The figures

Link before adjusting (r)+0.338p = 2.7e-6 · 184 countries
After adjusting for national income+0.451p = 1.4e-10 · likely range [+0.33, +0.56]
p, allowing for regions0.004standard error 0.097 · 7 regions
Check for luck (q)0.040across 18,622 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
Rule of law · index (approx. -2.5 to 2.5)link with income +0.72 · high

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

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted+0.3382.7e-6184
By rank (Spearman), not adjusted+0.3538.7e-7184
Standard (Pearson), adjusted for national income+0.4511.4e-10184
By rank (Spearman), adjusted for national income+0.3839.0e-8184

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

How solid is it?

Leaving out one country at a time, r ranges from +0.415 (without TUV) to +0.473 (without BOL). 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: TUV (-0.037).

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 & Pacific31+0.73
Europe & Central Asia48+0.42
Latin America & Caribbean34+0.13
Middle East, North Africa, Afghanistan & Pakistan18+0.25
Sub-Saharan Africa44+0.47

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 third62+0.69
Middle third61+0.19
Richest third61+0.42

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
Christians107+0.48
Muslims44+0.17

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
France24+0.42
Never a European colony21-0.08
Spain19+0.70
United Kingdom59+0.63

By official ideology

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
Nationalist24+0.22
No strong official ideology111+0.37

By party system

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
A few parties banned22+0.04
No parties banned119+0.40

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.343 after dropping 5 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 30 years. 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.035, 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 rule of law move with it.

Across countries (adjusted)+0.451for comparison
Within countries+0.036each country vs itself
…and vs the same year elsewhere+0.035q = 0.517 · 186 countries
Year-on-year changes+0.028q = 0.332
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.

3,339 country-years (one country in one year), 186 countries, 1996–2025, about 18 years each on average. Share of the variation that happens within countries over time: 20% for Education spending, 4% for Rule of law. 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 Rule of law trails Education spending →lag -10: r = 0.022 (n = 2,221)lag -9: r = 0.005 (n = 2,329)lag -8: r = -0.004 (n = 2,475)lag -7: r = -0.001 (n = 2,578)lag -6: r = 0.012 (n = 2,725)lag -5: r = 0.003 (n = 2,809)lag -4: r = 0.002 (n = 2,950)lag -3: r = 0.010 (n = 3,035)lag -2: r = 0.009 (n = 3,146)lag -1: r = 0.025 (n = 3,203)lag +0: r = 0.035 (n = 3,339)lag +1: r = 0.032 (n = 3,405)lag +2: r = 0.011 (n = 3,474)lag +3: r = 0.007 (n = 3,416)lag +4: r = -0.010 (n = 3,367)lag +5: r = -0.025 (n = 3,224)lag +6: r = -0.038 (n = 3,127)lag +7: r = -0.029 (n = 2,966)lag +8: r = -0.024 (n = 2,872)lag +9: r = -0.004 (n = 2,702)lag +10: r = -0.034 (n = 2,592)

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

index (approx. -2.5 to 2.5)
Years
Kiribati KIR16.4%0.8712023, 2025
Tuvalu TUV12.8%1.352023, 2025
Micronesia, Fed. Sts. FSM11.6%0.9712020, 2025
Namibia NAM9.08%0.3762024, 2025
Algeria DZA8.98%-0.6522024, 2025
Solomon Islands SLB8.29%0.1792023, 2025
Botswana BWA8.06%0.2812020, 2025
Marshall Islands MHL7.7%0.9532022, 2025
Vanuatu VUT7.64%0.5292024, 2025
Mauritania MRT7.61%-0.8082024, 2025
Bolivia BOL7.54%-1.352024, 2025
Sweden SWE7.32%1.742022, 2025
Iceland ISL7.31%1.612022, 2025
Kyrgyz Republic KGZ6.83%-0.9312023, 2025
Tunisia TUN6.73%-0.3912023, 2025

World Bank, World Development Indicators
Kaufmann, D. and A. Kraay, Worldwide Governance Indicators, World Bank

Sources

Education spending

Government expenditure on education, total (% of GDP)

UNESCO Institute for Statistics · CC BY 4.0 · updated quarterly

Rule of law

Rule of Law (estimate)

World Bank · CC BY 4.0 · updated annual

How this was computed

Data used: most recent value in 2010-2025; values come from 2013–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 18,622 pairs at once, using the Benjamini–Hochberg method. Underlying data last updated V-Dem v16; V-Party v2. How the country data works · explore Education spending and Rule of law

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

Share or cite this

Put this chart on your site

Paste this code into a web page to show the chart, with a credit and a link back here. See what it looks like.

Cite this page

PlaceStats. (2026). Education spending vs Rule of law by Country. Data: UNESCO Institute for Statistics; World Bank. https://placestats.org/correlates/education-spending-vs-rule-of-law/ (accessed 2 December 2026).

More links with Education spending or Rule of law