placestats

Compulsory schooling vs. Homicide rate

Holds up after adjusting for income

Across 158 countries, Compulsory schooling and Homicide rate rise and fall together at r = +0.10 (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 homicide rate, 0.938 to 6.94 per 100,000 population, compulsory schooling is 0.106 years higher at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 0.152 years.

Link before adjusting (r)+0.095p = 0.233 · 158 countries
After adjusting for national income+0.144p = 0.072 · likely range [-0.01, +0.29]
p, allowing for regions0.033standard error 0.052 · 7 regions
Check for luck (q)0.041across 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
Homicide rate · per 100,000 populationlink with income -0.38 · moderate

“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 →Homicide rate · per 100,000 population →516076.3Aruba: 13 years, 1.93 per 100,000 populationAfghanistan: 9 years, 4.03 per 100,000 populationAngola: 10 years, 4.1 per 100,000 populationAlbania: 9 years, 1.76 per 100,000 populationAndorra: 10 years, 2.58 per 100,000 populationUnited Arab Emirates: 12 years, 0.693 per 100,000 populationArgentina: 14 years, 4.49 per 100,000 populationArmenia: 12 years, 2.21 per 100,000 populationAntigua and Barbuda: 11 years, 10.7 per 100,000 populationAustralia: 11 years, 0.854 per 100,000 populationAustria: 13 years, 0.876 per 100,000 populationAzerbaijan: 9 years, 1.99 per 100,000 populationBelgium: 13 years, 1.08 per 100,000 populationBangladesh: 5 years, 2.34 per 100,000 populationBulgaria: 12 years, 1.09 per 100,000 populationBahrain: 9 years, 0.196 per 100,000 populationBahamas, The: 12 years, 32.2 per 100,000 populationBosnia and Herzegovina: 9 years, 1.22 per 100,000 populationBelarus: 11 years, 2.38 per 100,000 populationBelize: 8 years, 28.1 per 100,000 populationBermuda: 13 years, 6.18 per 100,000 populationBolivia: 14 years, 4.42 per 100,000 populationBrazil: 14 years, 19.3 per 100,000 populationBarbados: 11 years, 7.44 per 100,000 populationBrunei Darussalam: 9 years, 0.486 per 100,000 populationCanada: 10 years, 1.98 per 100,000 populationSwitzerland: 11 years, 0.597 per 100,000 populationChile: 12 years, 6.35 per 100,000 populationChina: 9 years, 0.502 per 100,000 populationCameroon: 6 years, 6.76 per 100,000 populationColombia: 12 years, 24.9 per 100,000 populationCabo Verde: 10 years, 6.99 per 100,000 populationCosta Rica: 13 years, 17.7 per 100,000 populationCayman Islands: 12 years, 4.37 per 100,000 populationCyprus: 10 years, 0.957 per 100,000 populationCzechia: 10 years, 0.768 per 100,000 populationGermany: 13 years, 0.911 per 100,000 populationDominica: 12 years, 27.1 per 100,000 populationDenmark: 10 years, 0.841 per 100,000 populationDominican Republic: 15 years, 10.9 per 100,000 populationAlgeria: 10 years, 1.16 per 100,000 populationEcuador: 15 years, 45.7 per 100,000 populationEgypt, Arab Rep.: 12 years, 1.31 per 100,000 populationSpain: 10 years, 0.691 per 100,000 populationEstonia: 9 years, 1.54 per 100,000 populationEthiopia: 8 years, 8.51 per 100,000 populationFinland: 12 years, 0.982 per 100,000 populationFrance: 13 years, 1.35 per 100,000 populationMicronesia, Fed. Sts.: 8 years, 0.907 per 100,000 populationUnited Kingdom: 11 years, 1.12 per 100,000 populationGeorgia: 9 years, 2.03 per 100,000 populationGhana: 11 years, 1.83 per 100,000 populationGuinea-Bissau: 9 years, 1.12 per 100,000 populationGreece: 10 years, 0.84 per 100,000 populationGrenada: 12 years, 13.7 per 100,000 populationGuatemala: 16 years, 23.4 per 100,000 populationGuyana: 6 years, 19.1 per 100,000 populationHong Kong SAR, China: 9 years, 0.376 per 100,000 populationHonduras: 12 years, 31.4 per 100,000 populationCroatia: 8 years, 0.667 per 100,000 populationHaiti: 6 years, 41.2 per 100,000 populationHungary: 13 years, 0.723 per 100,000 populationIndonesia: 9 years, 0.304 per 100,000 populationIndia: 8 years, 2.82 per 100,000 populationIreland: 10 years, 0.654 per 100,000 populationIran, Islamic Rep.: 9 years, 2.38 per 100,000 populationIraq: 6 years, 9.46 per 100,000 populationIceland: 10 years, 1.29 per 100,000 populationIsrael: 15 years, 1.63 per 100,000 populationItaly: 12 years, 0.568 per 100,000 populationJamaica: 6 years, 49.4 per 100,000 populationJordan: 10 years, 0.988 per 100,000 populationJapan: 9 years, 0.229 per 100,000 populationKazakhstan: 9 years, 2.55 per 100,000 populationKenya: 12 years, 4.87 per 100,000 populationKiribati: 9 years, 7.12 per 100,000 populationSt. Kitts and Nevis: 12 years, 64.2 per 100,000 populationKorea, Rep.: 9 years, 0.477 per 100,000 populationKuwait: 9 years, 0.25 per 100,000 populationLebanon: 10 years, 2.24 per 100,000 populationLiberia: 6 years, 3.09 per 100,000 populationSt. Lucia: 10 years, 39 per 100,000 populationSri Lanka: 11 years, 3.31 per 100,000 populationLithuania: 11 years, 2.63 per 100,000 populationLuxembourg: 12 years, 1.53 per 100,000 populationLatvia: 11 years, 2.5 per 100,000 populationMacao SAR, China: 10 years, 0.56 per 100,000 populationMorocco: 9 years, 1.67 per 100,000 populationMoldova: 10 years, 2.54 per 100,000 populationMaldives: 12 years, 0.615 per 100,000 populationMexico: 14 years, 24.9 per 100,000 populationNorth Macedonia: 13 years, 1.53 per 100,000 populationMalta: 11 years, 0.563 per 100,000 populationMyanmar: 5 years, 2.58 per 100,000 populationMontenegro: 9 years, 0.789 per 100,000 populationMongolia: 12 years, 5.64 per 100,000 populationMauritania: 9 years, 1 per 100,000 populationMauritius: 12 years, 2.27 per 100,000 populationMalawi: 8 years, 1.78 per 100,000 populationMalaysia: 6 years, 0.734 per 100,000 populationNamibia: 7 years, 11.2 per 100,000 populationNigeria: 9 years, 15.7 per 100,000 populationNicaragua: 7 years, 11.3 per 100,000 populationNetherlands: 13 years, 0.691 per 100,000 populationNorway: 10 years, 0.725 per 100,000 populationNepal: 9 years, 2.13 per 100,000 populationNew Zealand: 10 years, 1.46 per 100,000 populationOman: 10 years, 0.139 per 100,000 populationPakistan: 12 years, 4.33 per 100,000 populationPanama: 11 years, 11.7 per 100,000 populationPeru: 14 years, 8.6 per 100,000 populationPhilippines: 13 years, 4.35 per 100,000 populationPalau: 12 years, 11.2 per 100,000 populationPoland: 9 years, 0.802 per 100,000 populationPuerto Rico (US): 13 years, 15.1 per 100,000 populationPortugal: 12 years, 0.72 per 100,000 populationParaguay: 13 years, 6.78 per 100,000 populationWest Bank and Gaza: 10 years, 0.622 per 100,000 populationQatar: 12 years, 0.0691 per 100,000 populationRomania: 10 years, 1.12 per 100,000 populationRussian Federation: 11 years, 7.82 per 100,000 populationRwanda: 6 years, 3.61 per 100,000 populationSaudi Arabia: 9 years, 0.935 per 100,000 populationSingapore: 6 years, 0.0691 per 100,000 populationSierra Leone: 9 years, 2.22 per 100,000 populationEl Salvador: 15 years, 7.9 per 100,000 populationSan Marino: 10 years, 0 per 100,000 populationSerbia: 8 years, 1.31 per 100,000 populationSao Tome and Principe: 6 years, 3.23 per 100,000 populationSuriname: 6 years, 6.52 per 100,000 populationSlovak Republic: 11 years, 1.12 per 100,000 populationSlovenia: 9 years, 0.566 per 100,000 populationSweden: 10 years, 1.15 per 100,000 populationEswatini: 7 years, 12.5 per 100,000 populationSeychelles: 11 years, 7.97 per 100,000 populationSyrian Arab Republic: 9 years, 2.06 per 100,000 populationTurks and Caicos Islands: 13 years, 76.3 per 100,000 populationThailand: 9 years, 4.79 per 100,000 populationTajikistan: 9 years, 0.892 per 100,000 populationTurkmenistan: 12 years, 1.01 per 100,000 populationTimor-Leste: 9 years, 4.07 per 100,000 populationTonga: 15 years, 0.946 per 100,000 populationTrinidad and Tobago: 7 years, 40.4 per 100,000 populationTunisia: 9 years, 4.69 per 100,000 populationTurkiye: 12 years, 3.23 per 100,000 populationTuvalu: 9 years, 0 per 100,000 populationTanzania: 7 years, 3.75 per 100,000 populationUganda: 7 years, 8.97 per 100,000 populationUkraine: 11 years, 3.78 per 100,000 populationUruguay: 14 years, 11.2 per 100,000 populationUnited States: 12 years, 5.76 per 100,000 populationUzbekistan: 11 years, 1.4 per 100,000 populationSt. Vincent and the Grenadines: 12 years, 51.3 per 100,000 populationViet Nam: 10 years, 1.54 per 100,000 populationSamoa: 8 years, 6.26 per 100,000 populationSouth Africa: 9 years, 43.7 per 100,000 populationZambia: 7 years, 5.2 per 100,000 populationZimbabwe: 7 years, 6.76 per 100,000 populationBGDECUHTIISRJAMKNAMMRSGPSLVTCATON

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted+0.0950.233158
By rank (Spearman), not adjusted+0.0940.243158
Standard (Pearson), adjusted for national income+0.1440.072158
By rank (Spearman), adjusted for national income+0.2730.001158

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

How solid is it?

Leaving out one country at a time, r ranges from +0.104 (without ECU) to +0.189 (without JAM). 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: JAM (+0.045).

Fragile: this link may not hold up.
  • direction is not consistent across regions

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 & Pacific23+0.25
Europe & Central Asia49+0.08
Latin America & Caribbean35-0.16
Middle East, North Africa, Afghanistan & Pakistan20-0.37
Sub-Saharan Africa23-0.26

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 third53-0.06
Middle third52+0.25
Richest third53-0.04

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
Christians94+0.05
Muslims35-0.18

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
Never a European colony20+0.14
Spain19+0.34
United Kingdom52-0.02

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.165 after dropping 19 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 28years. 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.077, 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 homicide rate move with it.

Across countries (adjusted)+0.144for comparison
Within countries-0.091each country vs itself
…and vs the same year elsewhere-0.077q = 0.059 · 152 countries
Year-on-year changes+0.033q = 0.219

2,958 country-years (one country in one year), 152 countries, 1997–2024, about 20 years each on average. Share of the variation that happens within countries over time: 15% for Compulsory schooling, 19% for Homicide rate. 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 Homicide rate trails Compulsory schooling →lag -10: r = -0.021 (n = 2,854)lag -9: r = -0.020 (n = 2,959)lag -8: r = -0.011 (n = 3,064)lag -7: r = -0.020 (n = 3,099)lag -6: r = -0.028 (n = 3,140)lag -5: r = -0.034 (n = 3,171)lag -4: r = -0.053 (n = 3,186)lag -3: r = -0.064 (n = 3,191)lag -2: r = -0.075 (n = 3,163)lag -1: r = -0.075 (n = 3,070)lag +0: r = -0.077 (n = 2,958)lag +1: r = -0.089 (n = 2,857)lag +2: r = -0.120 (n = 2,742)lag +3: r = -0.143 (n = 2,626)lag +4: r = -0.156 (n = 2,504)lag +5: r = -0.169 (n = 2,377)lag +6: r = -0.144 (n = 2,268)lag +7: r = -0.112 (n = 2,155)lag +8: r = -0.072 (n = 2,041)lag +9: r = -0.025 (n = 1,925)lag +10: r = 0.011 (n = 1,796)

Same year (lag 0): -0.077. 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.17 at lag +5) is higher than the same-year one by 0.09. 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

per 100,000 population
Years
Guatemala GTM1623.42025, 2023
Tonga TON150.9462025, 2019
El Salvador SLV157.92025, 2022
Israel ISR151.632025, 2022
Ecuador ECU1545.72025, 2023
Dominican Republic DOM1510.92025, 2023
Uruguay URY1411.22025, 2023
Peru PER148.62025, 2021
Mexico MEX1424.92025, 2023
Brazil BRA1419.32025, 2023
Bolivia BOL144.422025, 2023
Argentina ARG144.492025, 2023
Turks and Caicos Islands TCA1376.32025, 2022
Paraguay PRY136.782025, 2023
Puerto Rico (US) PRI1315.12025, 2024

World Bank, World Development Indicators
UN Office on Drugs and Crime, Intentional Homicide Victims

Sources

Compulsory schooling

Compulsory education, duration (years)

UNESCO Institute for Statistics · CC BY 4.0 · updated quarterly

Homicide rate

Intentional homicide rate (per 100,000 population)

United Nations Office on Drugs and Crime · via Our World in Data · CC BY 3.0 IGO · updated annual

Counts victims of intentional homicide (murder). Homicide is the crime least often left unreported. So it is the only crime figure similar enough across countries to use here. Rates of assault, theft and rape reflect how often people report crimes and how police record them, at least as much as how much crime there is, so they are left out on purpose. Even homicide figures shift when a country switches between police records and public-health records.

How this was computed

Data used: most recent value in 2010-2025; values come from 2010–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 Compulsory schooling and Homicide rate

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

More links with Compulsory schooling or Homicide rate