placestats

Mean years of schooling vs. Religious attendance

Fades after adjusting for income

A country is not a person. Countries where more people are counted as belonging to this group also tend to differ on the other measure, and that is all. It does not follow that the people in the group are the people with the different score. Making that leap is called the ecological fallacy: reading a pattern across places as a fact about individual people. It is the most common misuse of this kind of data. Religion also varies strongly with region, history and national income, so much of what looks religious here is really those. That is what the adjusted figures are for. The religion shares are estimates for two years only, and the survey questions are asked in rounds that can be ten years apart.

Across 102 countries, Mean years of schooling and Religious attendance rise and fall together at r = -0.64 (on a scale from −1 to +1, where 0 means no link). Comparing only countries with similar income (GDP per person) shrinks it to -0.25, which could easily be chance (q = 0.34, allowing for the many pairs tested, and allowing for countries in the same region being alike). So the first figure mostly shows richer countries differing from poorer ones, not a link between these two things. Caution: direction is not consistent across regions.

Comparing countries across the middle half of religious attendance, 17.3% to 58.2% of respondents, mean years of schooling is worse by 3.07 years at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 0.965 years.

Link before adjusting (r)-0.639p = 5.1e-13 · 102 countries
After adjusting for national income-0.253p = 0.011 · likely range [-0.43, -0.06]
p, allowing for regions0.100standard error 0.131 · 7 regions
Check for luck (q)0.345across 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.

Mean years of schooling · yearslink with income +0.82 · proxy
Religious attendance · % of respondentslink with income -0.66 · high

Both of these rise and fall closely with national income, so a strong link between them before adjusting was close to certain. Read the adjusted figure, not the first one.

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

Every country as a dot

Mean years of schooling · years →Religious attendance · % of respondents →1.6314.32.79%93%Albania: 10.2 years, 14.8% of respondentsAndorra: 11.6 years, 16% of respondentsArgentina: 11.2 years, 36% of respondentsArmenia: 11.3 years, 35.8% of respondentsAustralia: 12.9 years, 17.5% of respondentsAustria: 12.4 years, 26.8% of respondentsAzerbaijan: 11.1 years, 13.9% of respondentsBelgium: 12.7 years, 18.9% of respondentsBurkina Faso: 2.27 years, 76.9% of respondentsBangladesh: 6.79 years, 54.2% of respondentsBulgaria: 11.5 years, 17.3% of respondentsBosnia and Herzegovina: 11 years, 43.3% of respondentsBelarus: 12.3 years, 19.9% of respondentsBolivia: 10 years, 65% of respondentsBrazil: 8.43 years, 59.6% of respondentsCanada: 13.9 years, 16.4% of respondentsSwitzerland: 13.9 years, 16.2% of respondentsChile: 11.3 years, 31% of respondentsChina: 8.04 years, 2.79% of respondentsColombia: 9.03 years, 58.3% of respondentsCyprus: 12.6 years, 50.2% of respondentsCzechia: 13 years, 10% of respondentsGermany: 14.3 years, 19.2% of respondentsDenmark: 13 years, 6.48% of respondentsAlgeria: 7.42 years, 53.5% of respondentsEcuador: 8.97 years, 61.3% of respondentsEgypt, Arab Rep.: 10.1 years, 58.8% of respondentsSpain: 10.8 years, 22.8% of respondentsEstonia: 13.6 years, 8% of respondentsEthiopia: 2.4 years, 93% of respondentsFinland: 13 years, 11.1% of respondentsFrance: 11.8 years, 12.4% of respondentsUnited Kingdom: 13.5 years, 16.1% of respondentsGeorgia: 12.7 years, 33.7% of respondentsGhana: 7.11 years, 83.8% of respondentsGreece: 11.6 years, 44.5% of respondentsGuatemala: 5.85 years, 63.4% of respondentsHong Kong SAR, China: 12.3 years, 16.1% of respondentsCroatia: 12.1 years, 33.7% of respondentsHaiti: 5.38 years, 38.6% of respondentsHungary: 12.3 years, 17.3% of respondentsIndonesia: 8.7 years, 77.8% of respondentsIndia: 6.88 years, 62.7% of respondentsIreland: 11.7 years, 53.3% of respondentsIran, Islamic Rep.: 10.8 years, 43.2% of respondentsIraq: 6.78 years, 43.7% of respondentsIceland: 13.9 years, 8.48% of respondentsItaly: 10.8 years, 40.7% of respondentsJordan: 10.2 years, 56.4% of respondentsJapan: 12.7 years, 12.3% of respondentsKazakhstan: 12.5 years, 32.8% of respondentsKenya: 8.62 years, 84.6% of respondentsKyrgyz Republic: 12.1 years, 39.2% of respondentsKorea, Rep.: 12.7 years, 22.8% of respondentsLebanon: 10.4 years, 53.3% of respondentsLibya: 7.78 years, 54% of respondentsLithuania: 13.6 years, 30% of respondentsLuxembourg: 12.6 years, 22.7% of respondentsLatvia: 13.4 years, 12.8% of respondentsMorocco: 6.2 years, 58.1% of respondentsMoldova: 11.8 years, 27.8% of respondentsMaldives: 7.41 years, 64.8% of respondentsMexico: 9.35 years, 60.6% of respondentsNorth Macedonia: 10.2 years, 40.1% of respondentsMali: 1.63 years, 73.9% of respondentsMalta: 12.4 years, 81.5% of respondentsMyanmar: 6.38 years, 43.5% of respondentsMontenegro: 12.8 years, 36.7% of respondentsMongolia: 9.42 years, 14.1% of respondentsMalaysia: 11.1 years, 60.3% of respondentsNigeria: 7.59 years, 90.3% of respondentsNicaragua: 9.93 years, 54.2% of respondentsNetherlands: 12.7 years, 14.3% of respondentsNorway: 13.1 years, 11.8% of respondentsNew Zealand: 12.9 years, 16.8% of respondentsPakistan: 4.32 years, 60.9% of respondentsPeru: 10.2 years, 57.1% of respondentsPhilippines: 9.98 years, 81.8% of respondentsPoland: 13.2 years, 64.3% of respondentsPortugal: 9.7 years, 29.7% of respondentsWest Bank and Gaza: 10.1 years, 58.5% of respondentsRomania: 11.6 years, 46% of respondentsRussian Federation: 12.4 years, 16.3% of respondentsRwanda: 4.88 years, 78.2% of respondentsSingapore: 12 years, 42.6% of respondentsSerbia: 11.6 years, 20.1% of respondentsSlovak Republic: 13.1 years, 36.1% of respondentsSlovenia: 13 years, 23.8% of respondentsSweden: 12.7 years, 9.65% of respondentsThailand: 9.04 years, 38.1% of respondentsTajikistan: 11.3 years, 40.7% of respondentsTrinidad and Tobago: 10.8 years, 57.8% of respondentsTunisia: 7.59 years, 43.5% of respondentsTurkiye: 8.99 years, 39.5% of respondentsUkraine: 11.1 years, 29.1% of respondentsUruguay: 10.5 years, 13.3% of respondentsUnited States: 13.9 years, 39% of respondentsUzbekistan: 11.9 years, 41.7% of respondentsViet Nam: 8.98 years, 17.2% of respondentsSouth Africa: 11.6 years, 69% of respondentsZambia: 7.4 years, 80.9% of respondentsZimbabwe: 8.93 years, 84.8% of respondentsBFACHNDNKESTETHHTIISLMLIMLTPOLZAF

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted-0.6395.1e-13102
By rank (Spearman), not adjusted-0.6511.3e-13102
Standard (Pearson), adjusted for national income-0.2530.011102
By rank (Spearman), adjusted for national income-0.2800.005102

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

How solid is it?

Leaving out one country at a time, r ranges from -0.296 (without CHN) to -0.223 (without IRL). 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: CHN (-0.043).

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 & Pacific14+0.11
Europe & Central Asia48-0.25
Latin America & Caribbean13-0.18
Middle East, North Africa, Afghanistan & Pakistan12+0.15

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 third34-0.19
Middle third34-0.32
Richest third34-0.23

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
Christians61-0.31
Muslims26-0.42

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 colony15-0.33
Spain12-0.08
United Kingdom23+0.01

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

Not enough history inside each country to look at this over time. That needs countries measured for several years in a row, and at least one of these measures is measured too rarely.

The data


years

% of respondents
Years
Germany DEU14.319.2%2023, 2022
Switzerland CHE13.916.2%2023, 2022
United States USA13.939%2023, 2022
Iceland ISL13.98.48%2023, 2022
Canada CAN13.916.4%2023, 2022
Lithuania LTU13.630%2023, 2022
Estonia EST13.68%2023, 2022
United Kingdom GBR13.516.1%2023, 2022
Latvia LVA13.412.8%2023, 2022
Poland POL13.264.3%2023, 2022
Norway NOR13.111.8%2023, 2022
Slovak Republic SVK13.136.1%2023, 2022
Denmark DNK136.48%2023, 2022
Finland FIN1311.1%2023, 2022
Czechia CZE1310%2023, 2022

United Nations Development Programme, Human Development Report 2025
Haerpfer, C. et al., World Values Survey; EVS, European Values Study

Sources

Mean years of schooling

Mean years of schooling, adults aged 25 and over

United Nations Development Programme, Human Development Report Office · via Our World in Data · CC BY 3.0 IGO · updated annual

The schooling adults actually completed, decades ago for most of them. Expected schooling looks ahead at children; this looks back at adults. It is the one to read for the education of the workforce rather than of children.

Religious attendance

Share attending religious services frequently

World Values Survey Association and European Values Study · via Our World in Data · Free for non-commercial use with attribution · updated irregular (survey waves, roughly every 5 years)

The share who attend religious services at least once a month. This measures taking part, not belief or belonging to a religion. Those are three different things, and they can differ sharply. A country can be almost entirely religious by belonging and yet rarely attend anything. No "better" direction is set, and none could be defended. Attendance describes how people live. It does not show whether a country is doing well, and calling either end the good one would be a claim this site has no basis for. The survey runs in waves, not every year, so data for each country are sparse and uneven.

How this was computed

Data used: most recent value in 2010-2025; values come from 2010–2023. 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 Mean years of schooling and Religious attendance

This page shows that two measures go together. It does not show that Mean years of schooling changes Religious attendance, or the reverse. These figures also describe countries, not individual people. See the ecological fallacy.

More links with Mean years of schooling or Religious attendance