placestats

Ethnic diversity vs. Expected schooling

Holds up after adjusting for income

Across 148 countries, Ethnic diversity and Expected schooling rise and fall together at r = -0.41 (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.21 (q = 0.040, allowing for the many pairs tested). Much of the first figure is that both measures rise with national income, but a weak negative link remains.

Comparing countries across the middle half of ethnic diversity, 0.239 to 0.701 points, expected schooling is worse by 2.37 years at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 0.726 years.

Link before adjusting (r)-0.408p = 2.6e-7 · 148 countries
After adjusting for national income-0.207p = 0.012 · likely range [-0.36, -0.05]
p, allowing for regions0.004standard error 0.045 · 7 regions
Check for luck (q)0.040across 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
Expected schooling · yearslink with income +0.81 · proxy

“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 →Expected schooling · years →0.0190.8896.2120.8Afghanistan: 0.763 index, 0 to 1, 10.8 yearsAngola: 0.779 index, 0 to 1, 12.2 yearsAlbania: 0.139 index, 0 to 1, 14.5 yearsUnited Arab Emirates: 0.684 index, 0 to 1, 15.6 yearsArgentina: 0.158 index, 0 to 1, 18.8 yearsArmenia: 0.045 index, 0 to 1, 14.4 yearsAustralia: 0.276 index, 0 to 1, 20.7 yearsAustria: 0.248 index, 0 to 1, 16.3 yearsAzerbaijan: 0.122 index, 0 to 1, 12.9 yearsBurundi: 0.308 index, 0 to 1, 9.83 yearsBelgium: 0.592 index, 0 to 1, 19 yearsBenin: 0.764 index, 0 to 1, 10.4 yearsBurkina Faso: 0.767 index, 0 to 1, 8.73 yearsBangladesh: 0.025 index, 0 to 1, 12.3 yearsBulgaria: 0.289 index, 0 to 1, 15.3 yearsBahrain: 0.582 index, 0 to 1, 15.9 yearsBosnia and Herzegovina: 0.637 index, 0 to 1, 13.2 yearsBelarus: 0.309 index, 0 to 1, 13.7 yearsBolivia: 0.572 index, 0 to 1, 15.6 yearsBrazil: 0.559 index, 0 to 1, 15.8 yearsBhutan: 0.651 index, 0 to 1, 13.2 yearsBotswana: 0.395 index, 0 to 1, 11.4 yearsCentral African Republic: 0.79 index, 0 to 1, 7.44 yearsCanada: 0.73 index, 0 to 1, 15.9 yearsSwitzerland: 0.367 index, 0 to 1, 16.7 yearsChile: 0.439 index, 0 to 1, 16.9 yearsChina: 0.19 index, 0 to 1, 15.5 yearsCote d'Ivoire: 0.731 index, 0 to 1, 11.4 yearsCongo, Dem. Rep.: 0.7 index, 0 to 1, 10.9 yearsCongo, Rep.: 0.704 index, 0 to 1, 12.7 yearsColombia: 0.639 index, 0 to 1, 14.3 yearsComoros: 0.054 index, 0 to 1, 13.3 yearsCabo Verde: 0.442 index, 0 to 1, 11.4 yearsCosta Rica: 0.398 index, 0 to 1, 16.3 yearsCyprus: 0.347 index, 0 to 1, 16.2 yearsCzechia: 0.262 index, 0 to 1, 16.8 yearsDjibouti: 0.649 index, 0 to 1, 6.21 yearsDenmark: 0.177 index, 0 to 1, 18.7 yearsDominican Republic: 0.453 index, 0 to 1, 13.6 yearsAlgeria: 0.372 index, 0 to 1, 15.5 yearsEcuador: 0.528 index, 0 to 1, 14.9 yearsEgypt, Arab Rep.: 0.041 index, 0 to 1, 13.1 yearsSpain: 0.669 index, 0 to 1, 17.8 yearsEstonia: 0.458 index, 0 to 1, 16 yearsEthiopia: 0.783 index, 0 to 1, 9.22 yearsFinland: 0.138 index, 0 to 1, 19.5 yearsFiji: 0.528 index, 0 to 1, 13.8 yearsGabon: 0.789 index, 0 to 1, 12.5 yearsUnited Kingdom: 0.399 index, 0 to 1, 17.8 yearsGeorgia: 0.367 index, 0 to 1, 16.8 yearsGhana: 0.736 index, 0 to 1, 11.4 yearsGuinea: 0.727 index, 0 to 1, 10.4 yearsGambia, The: 0.762 index, 0 to 1, 8.98 yearsGuinea-Bissau: 0.808 index, 0 to 1, 10.6 yearsGreece: 0.167 index, 0 to 1, 20.8 yearsGuatemala: 0.511 index, 0 to 1, 10.7 yearsGuyana: 0.695 index, 0 to 1, 13 yearsHonduras: 0.229 index, 0 to 1, 10.2 yearsCroatia: 0.171 index, 0 to 1, 16.3 yearsHaiti: 0.105 index, 0 to 1, 10.9 yearsHungary: 0.232 index, 0 to 1, 15.5 yearsIndonesia: 0.803 index, 0 to 1, 13.3 yearsIreland: 0.174 index, 0 to 1, 19.2 yearsIran, Islamic Rep.: 0.743 index, 0 to 1, 14 yearsIraq: 0.446 index, 0 to 1, 12.4 yearsIsrael: 0.376 index, 0 to 1, 14.9 yearsItaly: 0.11 index, 0 to 1, 16.7 yearsJamaica: 0.21 index, 0 to 1, 12.4 yearsJordan: 0.044 index, 0 to 1, 13.1 yearsJapan: 0.019 index, 0 to 1, 15.5 yearsKazakhstan: 0.538 index, 0 to 1, 14 yearsKenya: 0.855 index, 0 to 1, 11.5 yearsKyrgyz Republic: 0.487 index, 0 to 1, 12.7 yearsCambodia: 0.158 index, 0 to 1, 11.2 yearsKorea, Rep.: 0.095 index, 0 to 1, 16.6 yearsKuwait: 0.765 index, 0 to 1, 15.9 yearsLao PDR: 0.634 index, 0 to 1, 9.61 yearsLebanon: 0.133 index, 0 to 1, 11.7 yearsLiberia: 0.889 index, 0 to 1, 10.5 yearsLibya: 0.259 index, 0 to 1, 12.9 yearsSri Lanka: 0.323 index, 0 to 1, 13.1 yearsLesotho: 0.313 index, 0 to 1, 11 yearsLithuania: 0.284 index, 0 to 1, 16.5 yearsLatvia: 0.547 index, 0 to 1, 16.5 yearsMorocco: 0.566 index, 0 to 1, 15.1 yearsMoldova: 0.427 index, 0 to 1, 14.6 yearsMadagascar: 0.194 index, 0 to 1, 9.06 yearsMexico: 0.587 index, 0 to 1, 14.5 yearsNorth Macedonia: 0.562 index, 0 to 1, 14.8 yearsMali: 0.852 index, 0 to 1, 7.01 yearsMyanmar: 0.59 index, 0 to 1, 11.5 yearsMongolia: 0.315 index, 0 to 1, 13.6 yearsMauritania: 0.713 index, 0 to 1, 7.95 yearsMauritius: 0.466 index, 0 to 1, 14.2 yearsMalawi: 0.791 index, 0 to 1, 9.9 yearsMalaysia: 0.57 index, 0 to 1, 12.7 yearsNamibia: 0.76 index, 0 to 1, 11.8 yearsNiger: 0.666 index, 0 to 1, 8.31 yearsNigeria: 0.85 index, 0 to 1, 10.5 yearsNicaragua: 0.544 index, 0 to 1, 11.5 yearsNetherlands: 0.354 index, 0 to 1, 18.6 yearsNorway: 0.151 index, 0 to 1, 18.8 yearsNepal: 0.86 index, 0 to 1, 13.8 yearsNew Zealand: 0.485 index, 0 to 1, 19.3 yearsOman: 0.597 index, 0 to 1, 13.4 yearsPakistan: 0.748 index, 0 to 1, 7.9 yearsPanama: 0.612 index, 0 to 1, 13.3 yearsPeru: 0.618 index, 0 to 1, 14.9 yearsPhilippines: 0.807 index, 0 to 1, 12.8 yearsPoland: 0.069 index, 0 to 1, 16.7 yearsPortugal: 0.22 index, 0 to 1, 17.5 yearsParaguay: 0.179 index, 0 to 1, 14 yearsQatar: 0.708 index, 0 to 1, 13.1 yearsRomania: 0.207 index, 0 to 1, 14.1 yearsRussian Federation: 0.376 index, 0 to 1, 13.2 yearsRwanda: 0.28 index, 0 to 1, 12.6 yearsSaudi Arabia: 0.224 index, 0 to 1, 16.9 yearsSudan: 0.746 index, 0 to 1, 8.62 yearsSenegal: 0.747 index, 0 to 1, 9.14 yearsSingapore: 0.395 index, 0 to 1, 16.7 yearsSolomon Islands: 0.097 index, 0 to 1, 11.3 yearsSierra Leone: 0.801 index, 0 to 1, 9.06 yearsEl Salvador: 0.165 index, 0 to 1, 11.1 yearsSomalia, Fed. Rep.: 0.222 index, 0 to 1, 7.49 yearsSerbia: 0.396 index, 0 to 1, 15 yearsSlovak Republic: 0.241 index, 0 to 1, 14.9 yearsSlovenia: 0.258 index, 0 to 1, 17.5 yearsSweden: 0.219 index, 0 to 1, 19 yearsEswatini: 0.39 index, 0 to 1, 15.2 yearsSyrian Arab Republic: 0.213 index, 0 to 1, 7.42 yearsChad: 0.855 index, 0 to 1, 8.35 yearsTogo: 0.88 index, 0 to 1, 13.1 yearsThailand: 0.352 index, 0 to 1, 15.4 yearsTajikistan: 0.367 index, 0 to 1, 10.8 yearsTurkmenistan: 0.255 index, 0 to 1, 13.2 yearsTimor-Leste: 0.802 index, 0 to 1, 13.3 yearsTrinidad and Tobago: 0.655 index, 0 to 1, 14.2 yearsTunisia: 0.034 index, 0 to 1, 14.7 yearsTurkiye: 0.521 index, 0 to 1, 19.8 yearsTanzania: 0.591 index, 0 to 1, 8.59 yearsUganda: 0.883 index, 0 to 1, 11.6 yearsUkraine: 0.37 index, 0 to 1, 13.3 yearsUruguay: 0.176 index, 0 to 1, 17.5 yearsUnited States: 0.527 index, 0 to 1, 15.9 yearsUzbekistan: 0.313 index, 0 to 1, 12.5 yearsSouth Africa: 0.856 index, 0 to 1, 13.8 yearsZambia: 0.706 index, 0 to 1, 11 yearsZimbabwe: 0.415 index, 0 to 1, 11.1 yearsAUSBELCAFESPFINGRCMDGMLISOMSYRTCDTUR

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted-0.4082.6e-7148
By rank (Spearman), not adjusted-0.4033.7e-7148
Standard (Pearson), adjusted for national income-0.2070.012148
By rank (Spearman), adjusted for national income-0.1820.027148

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

How solid is it?

Leaving out one country at a time, r ranges from -0.232 (without SYR) to -0.181 (without QAT). 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: QAT (+0.026).

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 & Pacific17-0.12
Europe & Central Asia43+0.04
Latin America & Caribbean21-0.23
Middle East, North Africa, Afghanistan & Pakistan20-0.23
Sub-Saharan Africa41-0.25

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 third50-0.11
Middle third49+0.00
Richest third49-0.41

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
Christians84-0.18
Muslims46-0.28

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
France23-0.33
Never a European colony21+0.24
Spain18-0.06
United Kingdom44-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.207 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 24years. 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.064, 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 ethnic diversity moved did not tend to see their expected schooling move with it.

Across countries (adjusted)-0.207for comparison
Within countries+0.174each country vs itself
…and vs the same year elsewhere+0.064q = 0.509 · 151 countries
Year-on-year changes+0.050q = 0.166
Read with care.
  • Almost all of this indicator's variation is between countries, not within them, so the within-country estimate rests on a small part of the data.

3,505 country-years (one country in one year), 151 countries, 1990–2013, about 23 years each on average. Share of the variation that happens within countries over time: 1% for Ethnic diversity, 14% for Expected schooling. 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 Expected schooling trails Ethnic diversity →lag -10: r = 0.180 (n = 2,011)lag -9: r = 0.144 (n = 2,171)lag -8: r = 0.114 (n = 2,319)lag -7: r = 0.091 (n = 2,467)lag -6: r = 0.073 (n = 2,615)lag -5: r = 0.060 (n = 2,763)lag -4: r = 0.054 (n = 2,926)lag -3: r = 0.055 (n = 3,077)lag -2: r = 0.064 (n = 3,226)lag -1: r = 0.071 (n = 3,374)lag +0: r = 0.064 (n = 3,505)lag +1: r = 0.050 (n = 3,513)lag +2: r = 0.042 (n = 3,521)lag +3: r = 0.035 (n = 3,528)lag +4: r = 0.037 (n = 3,535)lag +5: r = 0.044 (n = 3,542)lag +6: r = 0.055 (n = 3,548)lag +7: r = 0.062 (n = 3,554)lag +8: r = 0.069 (n = 3,560)lag +9: r = 0.075 (n = 3,565)lag +10: r = 0.079 (n = 3,569)

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

This curve peaks at the edge of the window (lag -10), so it is still drifting where the search stops. That pattern usually reflects a slow trend left over in the data, not a link with real timing. The peak value should not be read as the “true” link at the right lag.

The data


index, 0 to 1

years
Years
Liberia LBR0.88910.52013, 2023
Uganda UGA0.88311.62013, 2023
Togo TGO0.8813.12013, 2023
Nepal NPL0.8613.82013, 2023
South Africa ZAF0.85613.82013, 2023
Chad TCD0.8558.352013, 2023
Kenya KEN0.85511.52013, 2023
Mali MLI0.8527.012013, 2023
Nigeria NGA0.8510.52013, 2023
Guinea-Bissau GNB0.80810.62013, 2023
Philippines PHL0.80712.82013, 2023
Indonesia IDN0.80313.32013, 2023
Timor-Leste TLS0.80213.32013, 2023
Sierra Leone SLE0.8019.062013, 2023
Malawi MWI0.7919.92013, 2023

Drazanova, L. (2019), Historical Index of Ethnic Fractionalization Dataset (HIEF), Harvard Dataverse, doi:10.7910/DVN/4JQRCL
United Nations Development Programme, Human Development Report 2025

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.

Expected schooling

Expected years of schooling

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

The years a child starting school today can expect to spend in it, if current enrolment rates hold. It is a forecast built from the same UNESCO enrolment figures the site already has, so it moves with them.

How this was computed

Data used: most recent value in 2010-2025; values come from 2013–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 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 Expected schooling

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

More links with Ethnic diversity or Expected schooling