placestats

Ethnic diversity 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 90 countries, Ethnic diversity and Religious attendance rise and fall together at r = +0.51 (on a scale from −1 to +1, where 0 means no link). Comparing only countries with similar income (GDP per person) leaves r = +0.38, which could easily be chance (q = 0.26, allowing for the many pairs tested, and allowing for countries in the same region being alike). Caution: direction is not consistent across regions.

Comparing countries across the middle half of ethnic diversity, 0.21 to 0.569 points, religious attendance is 18.1% of respondents higher at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 10.6% of respondents.

Link before adjusting (r)+0.514p = 2.1e-7 · 90 countries
After adjusting for national income+0.375p = 0.000 · likely range [+0.18, +0.54]
p, allowing for regions0.099standard error 0.192 · 7 regions
Check for luck (q)0.263across 13,797 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.

Ethnic diversity · index, 0 to 1link with income -0.37 · moderate
Religious attendance · % of respondentslink with income -0.66 · high

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

Every country as a dot

Ethnic diversity · index, 0 to 1 →Religious attendance · % of respondents →0.0190.8562.79%93%Albania: 0.139 index, 0 to 1, 14.8% of respondentsArgentina: 0.158 index, 0 to 1, 36% of respondentsArmenia: 0.045 index, 0 to 1, 35.8% of respondentsAustralia: 0.276 index, 0 to 1, 17.5% of respondentsAustria: 0.248 index, 0 to 1, 26.8% of respondentsAzerbaijan: 0.122 index, 0 to 1, 13.9% of respondentsBelgium: 0.592 index, 0 to 1, 18.9% of respondentsBurkina Faso: 0.767 index, 0 to 1, 76.9% of respondentsBangladesh: 0.025 index, 0 to 1, 54.2% of respondentsBulgaria: 0.289 index, 0 to 1, 17.3% of respondentsBosnia and Herzegovina: 0.637 index, 0 to 1, 43.3% of respondentsBelarus: 0.309 index, 0 to 1, 19.9% of respondentsBolivia: 0.572 index, 0 to 1, 65% of respondentsBrazil: 0.559 index, 0 to 1, 59.6% of respondentsCanada: 0.73 index, 0 to 1, 16.4% of respondentsSwitzerland: 0.367 index, 0 to 1, 16.2% of respondentsChile: 0.439 index, 0 to 1, 31% of respondentsChina: 0.19 index, 0 to 1, 2.79% of respondentsColombia: 0.639 index, 0 to 1, 58.3% of respondentsCyprus: 0.347 index, 0 to 1, 50.2% of respondentsCzechia: 0.262 index, 0 to 1, 10% of respondentsDenmark: 0.177 index, 0 to 1, 6.48% of respondentsAlgeria: 0.372 index, 0 to 1, 53.5% of respondentsEcuador: 0.528 index, 0 to 1, 61.3% of respondentsEgypt, Arab Rep.: 0.041 index, 0 to 1, 58.8% of respondentsSpain: 0.669 index, 0 to 1, 22.8% of respondentsEstonia: 0.458 index, 0 to 1, 8% of respondentsEthiopia: 0.783 index, 0 to 1, 93% of respondentsFinland: 0.138 index, 0 to 1, 11.1% of respondentsUnited Kingdom: 0.399 index, 0 to 1, 16.1% of respondentsGeorgia: 0.367 index, 0 to 1, 33.7% of respondentsGhana: 0.736 index, 0 to 1, 83.8% of respondentsGreece: 0.167 index, 0 to 1, 44.5% of respondentsGuatemala: 0.511 index, 0 to 1, 63.4% of respondentsCroatia: 0.171 index, 0 to 1, 33.7% of respondentsHaiti: 0.105 index, 0 to 1, 38.6% of respondentsHungary: 0.232 index, 0 to 1, 17.3% of respondentsIndonesia: 0.803 index, 0 to 1, 77.8% of respondentsIreland: 0.174 index, 0 to 1, 53.3% of respondentsIran, Islamic Rep.: 0.743 index, 0 to 1, 43.2% of respondentsIraq: 0.446 index, 0 to 1, 43.7% of respondentsItaly: 0.11 index, 0 to 1, 40.7% of respondentsJordan: 0.044 index, 0 to 1, 56.4% of respondentsJapan: 0.019 index, 0 to 1, 12.3% of respondentsKazakhstan: 0.538 index, 0 to 1, 32.8% of respondentsKenya: 0.855 index, 0 to 1, 84.6% of respondentsKyrgyz Republic: 0.487 index, 0 to 1, 39.2% of respondentsKorea, Rep.: 0.095 index, 0 to 1, 22.8% of respondentsLebanon: 0.133 index, 0 to 1, 53.3% of respondentsLibya: 0.259 index, 0 to 1, 54% of respondentsLithuania: 0.284 index, 0 to 1, 30% of respondentsLatvia: 0.547 index, 0 to 1, 12.8% of respondentsMorocco: 0.566 index, 0 to 1, 58.1% of respondentsMoldova: 0.427 index, 0 to 1, 27.8% of respondentsMexico: 0.587 index, 0 to 1, 60.6% of respondentsNorth Macedonia: 0.562 index, 0 to 1, 40.1% of respondentsMali: 0.852 index, 0 to 1, 73.9% of respondentsMyanmar: 0.59 index, 0 to 1, 43.5% of respondentsMongolia: 0.315 index, 0 to 1, 14.1% of respondentsMalaysia: 0.57 index, 0 to 1, 60.3% of respondentsNigeria: 0.85 index, 0 to 1, 90.3% of respondentsNicaragua: 0.544 index, 0 to 1, 54.2% of respondentsNetherlands: 0.354 index, 0 to 1, 14.3% of respondentsNorway: 0.151 index, 0 to 1, 11.8% of respondentsNew Zealand: 0.485 index, 0 to 1, 16.8% of respondentsPakistan: 0.748 index, 0 to 1, 60.9% of respondentsPeru: 0.618 index, 0 to 1, 57.1% of respondentsPhilippines: 0.807 index, 0 to 1, 81.8% of respondentsPoland: 0.069 index, 0 to 1, 64.3% of respondentsPortugal: 0.22 index, 0 to 1, 29.7% of respondentsRomania: 0.207 index, 0 to 1, 46% of respondentsRussian Federation: 0.376 index, 0 to 1, 16.3% of respondentsRwanda: 0.28 index, 0 to 1, 78.2% of respondentsSingapore: 0.395 index, 0 to 1, 42.6% of respondentsSerbia: 0.396 index, 0 to 1, 20.1% of respondentsSlovak Republic: 0.241 index, 0 to 1, 36.1% of respondentsSlovenia: 0.258 index, 0 to 1, 23.8% of respondentsSweden: 0.219 index, 0 to 1, 9.65% of respondentsThailand: 0.352 index, 0 to 1, 38.1% of respondentsTajikistan: 0.367 index, 0 to 1, 40.7% of respondentsTrinidad and Tobago: 0.655 index, 0 to 1, 57.8% of respondentsTunisia: 0.034 index, 0 to 1, 43.5% of respondentsTurkiye: 0.521 index, 0 to 1, 39.5% of respondentsUkraine: 0.37 index, 0 to 1, 29.1% of respondentsUruguay: 0.176 index, 0 to 1, 13.3% of respondentsUnited States: 0.527 index, 0 to 1, 39% of respondentsUzbekistan: 0.313 index, 0 to 1, 41.7% of respondentsSouth Africa: 0.856 index, 0 to 1, 69% of respondentsZambia: 0.706 index, 0 to 1, 80.9% of respondentsZimbabwe: 0.415 index, 0 to 1, 84.8% of respondentsCANCHNDNKEGYESPETHJORJPNKENLVANGAPOL

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted+0.5142.1e-790
By rank (Spearman), not adjusted+0.4624.7e-690
Standard (Pearson), adjusted for national income+0.3750.00090
By rank (Spearman), adjusted for national income+0.3240.00290

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

How solid is it?

Leaving out one country at a time, r ranges from +0.334 (without HTI) to +0.418 (without POL). 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: POL (+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 & Pacific12+0.85
Europe & Central Asia42-0.11
Latin America & Caribbean13+0.88

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 third30+0.64
Middle third30+0.48
Richest third30-0.18

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
Christians55+0.29
Muslims24+0.47

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.60
Spain12+0.78
United Kingdom21+0.27

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.375 after dropping 0 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


index, 0 to 1

% of respondents
Years
South Africa ZAF0.85669%2013, 2014
Kenya KEN0.85584.6%2013, 2022
Mali MLI0.85273.9%2013, 2010
Nigeria NGA0.8590.3%2013, 2022
Philippines PHL0.80781.8%2013, 2022
Indonesia IDN0.80377.8%2013, 2022
Ethiopia ETH0.78393%2013, 2022
Burkina Faso BFA0.76776.9%2013, 2010
Pakistan PAK0.74860.9%2013, 2022
Iran, Islamic Rep. IRN0.74343.2%2013, 2022
Ghana GHA0.73683.8%2013, 2014
Canada CAN0.7316.4%2013, 2022
Zambia ZMB0.70680.9%2013, 2010
Spain ESP0.66922.8%2013, 2022
Trinidad and Tobago TTO0.65557.8%2013, 2014

Drazanova, L. (2019), Historical Index of Ethnic Fractionalization Dataset (HIEF), Harvard Dataverse, doi:10.7910/DVN/4JQRCL
Haerpfer, C. et al., World Values Survey; EVS, European Values Study

Sources

Ethnic diversity

Ethnic fractionalization index

Lenka Drazanova · CC0 1.0 · updated one edition (2019), annual values 1945-2013

The chance that two people picked at random in a country belong to different ethnic groups, from 0 (everyone in one group) to close to 1 (many small groups). It measures how mixed a country is, not which groups live there. The groups are those each country's own sources use, so where the lines are drawn differs from country to country. Yearly from 1945 to 2013, so the latest value is from 2013. No "better" direction is set.

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–2022. 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 13,797 pairs at once, using the Benjamini–Hochberg method. Underlying data last updated DYB 2024. How the country data works · explore Ethnic diversity and Religious attendance

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

More links with Ethnic diversity or Religious attendance