placestats

Health spending vs. Muslim share

Holds up 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 177 countries, Health spending and Muslim share rise and fall together at r = -0.30 (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.26, q = 0.029, allowing for the many pairs tested).

Comparing countries across the middle half of muslim share, 0.267% to 56.4% of population, health spending is 1.28% of GDP lower at the top of that range than the bottom. Comparing only countries with similar national income, the gap is 1.1% of GDP.

Link before adjusting (r)-0.304p = 3.8e-5 · 177 countries
After adjusting for national income-0.264p = 0.000 · likely range [-0.40, -0.12]
p, allowing for regions0.001standard error 0.044 · 7 regions
Check for luck (q)0.029across 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.

Health spending · % of GDPlink with income +0.29 · independent
Muslim share · % of populationlink with income -0.14 · independent

Neither of these is closely tied to national income, so adjusting for income is a real test here, not a formality.

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

Every country as a dot

Health spending · % of GDP →Muslim share · % of population →1.33%16.7%0.00186%99.9%Afghanistan: 15% of GDP, 99.9% of populationAngola: 2.55% of GDP, 0.256% of populationAlbania: 7.05% of GDP, 74.5% of populationUnited Arab Emirates: 4.97% of GDP, 72.9% of populationArgentina: 10.3% of GDP, 0.929% of populationArmenia: 9.32% of GDP, 0.267% of populationAustralia: 10.4% of GDP, 3.5% of populationAustria: 11.8% of GDP, 8.3% of populationAzerbaijan: 4.27% of GDP, 94.7% of populationBurundi: 9.09% of GDP, 2.99% of populationBelgium: 10.8% of GDP, 6.81% of populationBenin: 3.34% of GDP, 31.4% of populationBurkina Faso: 7.8% of GDP, 67.4% of populationBangladesh: 2.17% of GDP, 91.1% of populationBulgaria: 7.92% of GDP, 10.3% of populationBahrain: 4% of GDP, 74% of populationBahamas, The: 6.3% of GDP, 0.0858% of populationBosnia and Herzegovina: 8.92% of GDP, 53.6% of populationBelarus: 7.08% of GDP, 0.262% of populationBelize: 4.15% of GDP, 0.18% of populationBolivia: 6.92% of GDP, 0.0098% of populationBrazil: 9.73% of GDP, 0.0177% of populationBarbados: 5.4% of GDP, 0.707% of populationBrunei Darussalam: 2.23% of GDP, 82.2% of populationBhutan: 4.42% of GDP, 0.222% of populationBotswana: 6.26% of GDP, 0.33% of populationCentral African Republic: 10.7% of GDP, 6.24% of populationCanada: 11.3% of GDP, 4.89% of populationSwitzerland: 11.7% of GDP, 6.08% of populationChile: 10.5% of GDP, 0.067% of populationChina: 5.94% of GDP, 1.82% of populationCote d'Ivoire: 3.43% of GDP, 46.3% of populationCameroon: 4.55% of GDP, 25.2% of populationCongo, Dem. Rep.: 3.68% of GDP, 1.27% of populationCongo, Rep.: 3.3% of GDP, 1.46% of populationColombia: 8.14% of GDP, 0.00393% of populationComoros: 6.55% of GDP, 98.3% of populationCabo Verde: 5.85% of GDP, 0.313% of populationCosta Rica: 6.87% of GDP, 0.0252% of populationCyprus: 8.12% of GDP, 24.4% of populationCzechia: 8.51% of GDP, 0.327% of populationGermany: 12.3% of GDP, 6.55% of populationDjibouti: 2.28% of GDP, 97.7% of populationDenmark: 9.39% of GDP, 4.22% of populationDominican Republic: 4.6% of GDP, 0.0248% of populationAlgeria: 4.35% of GDP, 98.4% of populationEcuador: 7.56% of GDP, 0.0181% of populationEgypt, Arab Rep.: 4.88% of GDP, 95.2% of populationSpain: 9.22% of GDP, 3.58% of populationEstonia: 7.84% of GDP, 0.598% of populationEthiopia: 2.8% of GDP, 36.2% of populationFinland: 10.5% of GDP, 1.61% of populationFiji: 3.62% of GDP, 5.78% of populationFrance: 11.5% of GDP, 9.1% of populationMicronesia, Fed. Sts.: 12.9% of GDP, 0.00196% of populationGabon: 3.13% of GDP, 8.64% of populationUnited Kingdom: 11.1% of GDP, 6.37% of populationGeorgia: 6.86% of GDP, 10.5% of populationGhana: 2.95% of GDP, 19.9% of populationGuinea: 3.69% of GDP, 86.8% of populationGambia, The: 2.89% of GDP, 97% of populationGuinea-Bissau: 8.82% of GDP, 56% of populationEquatorial Guinea: 3.5% of GDP, 4.05% of populationGreece: 8.39% of GDP, 5.12% of populationGrenada: 4.65% of GDP, 0.395% of populationGuatemala: 6.8% of GDP, 0.00271% of populationGuyana: 2.47% of GDP, 6.5% of populationHonduras: 7.71% of GDP, 0.00277% of populationCroatia: 7.15% of GDP, 1.37% of populationHaiti: 3.19% of GDP, 0.00186% of populationHungary: 6.37% of GDP, 0.139% of populationIndonesia: 2.7% of GDP, 87% of populationIndia: 3.34% of GDP, 15.2% of populationIreland: 6.85% of GDP, 1.69% of populationIran, Islamic Rep.: 6.03% of GDP, 99.8% of populationIraq: 5.53% of GDP, 99.5% of populationIceland: 8.98% of GDP, 1.21% of populationIsrael: 7.1% of GDP, 14.7% of populationItaly: 8.44% of GDP, 4.42% of populationJamaica: 7.6% of GDP, 0.016% of populationJordan: 7.66% of GDP, 97.1% of populationJapan: 10.7% of GDP, 0.17% of populationKazakhstan: 3.77% of GDP, 77.9% of populationKenya: 4.35% of GDP, 10.9% of populationKyrgyz Republic: 4.5% of GDP, 91.7% of populationCambodia: 4.62% of GDP, 2.04% of populationKiribati: 10.9% of GDP, 0.0854% of populationKorea, Rep.: 8.68% of GDP, 0.31% of populationKuwait: 4.96% of GDP, 80.2% of populationLao PDR: 1.33% of GDP, 0.0222% of populationLebanon: 5.57% of GDP, 67.8% of populationLiberia: 13% of GDP, 12.7% of populationLibya: 7.81% of GDP, 99% of populationSt. Lucia: 4.73% of GDP, 0.0949% of populationSri Lanka: 3.68% of GDP, 10.2% of populationLesotho: 12.6% of GDP, 0.218% of populationLithuania: 7.6% of GDP, 0.0892% of populationLuxembourg: 5.89% of GDP, 1.83% of populationLatvia: 7.28% of GDP, 0.67% of populationMorocco: 6.06% of GDP, 99.7% of populationMoldova: 6.74% of GDP, 0.181% of populationMadagascar: 3.43% of GDP, 1.16% of populationMaldives: 9.25% of GDP, 94.1% of populationMexico: 5.5% of GDP, 0.00629% of populationNorth Macedonia: 7.43% of GDP, 34.7% of populationMali: 3.81% of GDP, 94.1% of populationMalta: 8.84% of GDP, 3.64% of populationMyanmar: 4.46% of GDP, 3.35% of populationMontenegro: 9.65% of GDP, 21.3% of populationMongolia: 6.07% of GDP, 3.53% of populationMozambique: 8.5% of GDP, 19.4% of populationMauritania: 4.34% of GDP, 99.2% of populationMauritius: 5.57% of GDP, 17.5% of populationMalawi: 6.53% of GDP, 11.6% of populationMalaysia: 3.96% of GDP, 64.1% of populationNamibia: 9.48% of GDP, 0.119% of populationNiger: 4.05% of GDP, 98.1% of populationNigeria: 4.19% of GDP, 56.1% of populationNicaragua: 8.3% of GDP, 0.00459% of populationNetherlands: 10% of GDP, 5.5% of populationNorway: 9.43% of GDP, 4.11% of populationNepal: 6.16% of GDP, 5.08% of populationNew Zealand: 10.1% of GDP, 1.36% of populationOman: 3.49% of GDP, 81.8% of populationPakistan: 2.52% of GDP, 96.5% of populationPanama: 8.33% of GDP, 0.0531% of populationPeru: 5.64% of GDP, 0.0216% of populationPhilippines: 5.1% of GDP, 6.46% of populationPapua New Guinea: 2.87% of GDP, 0.0748% of populationPoland: 8.06% of GDP, 0.00732% of populationPortugal: 10.2% of GDP, 0.409% of populationParaguay: 8.36% of GDP, 0.0113% of populationWest Bank and Gaza: 10.7% of GDP, 99% of populationQatar: 2.52% of GDP, 75.9% of populationRomania: 5.71% of GDP, 0.356% of populationRussian Federation: 7.04% of GDP, 8.19% of populationRwanda: 5.13% of GDP, 1.81% of populationSaudi Arabia: 5.69% of GDP, 92.7% of populationSudan: 2.85% of GDP, 98.9% of populationSenegal: 4.32% of GDP, 97.6% of populationSingapore: 4.49% of GDP, 16.1% of populationSolomon Islands: 5.36% of GDP, 0.34% of populationSierra Leone: 4.72% of GDP, 80.1% of populationEl Salvador: 9.29% of GDP, 0.0035% of populationSomalia, Fed. Rep.: 3.74% of GDP, 99.8% of populationSerbia: 8.03% of GDP, 4.42% of populationSao Tome and Principe: 5.77% of GDP, 0.0915% of populationSuriname: 5.41% of GDP, 13.1% of populationSlovak Republic: 7.35% of GDP, 0.0548% of populationSlovenia: 9.88% of GDP, 1.61% of populationSweden: 11.2% of GDP, 8.1% of populationEswatini: 7.5% of GDP, 0.136% of populationSeychelles: 4.48% of GDP, 0.893% of populationSyrian Arab Republic: 2.71% of GDP, 94.2% of populationChad: 5% of GDP, 56.4% of populationTogo: 6.11% of GDP, 16.1% of populationThailand: 4.54% of GDP, 4.51% of populationTajikistan: 7.44% of GDP, 98.9% of populationTurkmenistan: 5.5% of GDP, 94.3% of populationTimor-Leste: 9.6% of GDP, 0.257% of populationTonga: 7.36% of GDP, 0.0605% of populationTrinidad and Tobago: 7.53% of GDP, 5.46% of populationTunisia: 7.99% of GDP, 99.3% of populationTurkiye: 4.28% of GDP, 97.1% of populationTanzania: 3.05% of GDP, 29.9% of populationUganda: 4.24% of GDP, 11.4% of populationUkraine: 8.2% of GDP, 0.568% of populationUruguay: 9.02% of GDP, 0.0893% of populationUnited States: 16.7% of GDP, 1.19% of populationUzbekistan: 6.74% of GDP, 95.6% of populationSt. Vincent and the Grenadines: 4.44% of GDP, 0.107% of populationViet Nam: 4.56% of GDP, 0.0721% of populationVanuatu: 4.12% of GDP, 0.0193% of populationSamoa: 6.78% of GDP, 0.0253% of populationSouth Africa: 8.91% of GDP, 1.6% of populationZambia: 5.98% of GDP, 0.511% of populationZimbabwe: 2.93% of GDP, 0.529% of populationAFGAGOBGDDJIFSMLAOLSOPAKPNGPSEUSA

best-fit line line after adjusting

Four ways to measure the link

MethodrpCountries
Standard (Pearson), not adjusted-0.3043.8e-5177
By rank (Spearman), not adjusted-0.2750.000177
Standard (Pearson), adjusted for national income-0.2640.000177
By rank (Spearman), adjusted for national income-0.2500.001177

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

How solid is it?

Leaving out one country at a time, r ranges from -0.309 (without AFG) to -0.249 (without BRN). 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: AFG (-0.045).

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 & Pacific25-0.44
Europe & Central Asia48-0.39
Latin America & Caribbean28-0.27
Middle East, North Africa, Afghanistan & Pakistan22-0.34
Sub-Saharan Africa46-0.36

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 third59-0.19
Middle third59+0.00
Richest third59-0.62

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
Christians108-0.10
Muslims49+0.01

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
France25+0.08
Never a European colony21-0.27
Spain20-0.22
United Kingdom58-0.31

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.312 after dropping 2 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


% of GDP

% of population
Years
United States USA16.7%1.19%2023, 2020
Afghanistan AFG15%99.9%2023, 2020
Liberia LBR13%12.7%2023, 2020
Micronesia, Fed. Sts. FSM12.9%0.00196%2023, 2020
Lesotho LSO12.6%0.218%2023, 2020
Germany DEU12.3%6.55%2024, 2020
Austria AUT11.8%8.3%2024, 2020
Switzerland CHE11.7%6.08%2023, 2020
France FRA11.5%9.1%2024, 2020
Canada CAN11.3%4.89%2024, 2020
Sweden SWE11.2%8.1%2024, 2020
United Kingdom GBR11.1%6.37%2024, 2020
Kiribati KIR10.9%0.0854%2023, 2020
Belgium BEL10.8%6.81%2023, 2020
Japan JPN10.7%0.17%2023, 2020

World Bank, World Development Indicators
Pew Research Center, Religious Composition by Country, 2010-2020. Pew Research Center bears no responsibility for the analyses or interpretations of the data presented here.
One of these measures is published under a licence that forbids changes. Values are shown exactly as published and must not be republished in a changed or rescaled form.

Sources

Health spending

Current health expenditure (% of GDP)

World Health Organization Global Health Expenditure Database · CC BY 4.0 · updated quarterly

Muslim share

Share of the population identifying as Muslim

Pew Research Center · via Our World in Data · Pew Research Center terms of use, excerpts with attribution · updated decennial · comparable from 2010 only

The second largest religion. The three religion shares are parts of one total. So for any pair of them, more of one means less of the others. They are built from the same numbers, so they are bound to match, and the site flags this. Hindu, Buddhist, folk and other religions are not included, so that what is taken from Pew's dataset stays a small excerpt of it. No "better" direction is set.

How this was computed

Data used: most recent value in 2010-2025; values come from 2020–2024. 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 Health spending and Muslim share

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

More links with Health spending or Muslim share