TU Dortmund · Introductory Case Studies (Report 1)Analytics2022Individual Report · Prof. Dr. Jörg Rahnenführer & Dr. Franziska Kappenberg

Descriptive Demographic Analysis

Quantifying global distributions, sex longevity gaps, bivariate mortality coupling, 21-subregion homogeneity versus heterogeneity, and 20-year catch-up convergence across 227 countries in the U.S. Census Bureau International Data Base (2001 vs. 2021).

PythonEDAVariance DecompositionConvergence AnalysispandasSciPyNumPyMatplotlib
227 Nations 2021 Global Scope

Complete 2021 coverage across 5 regions & 21 subregions (median LE 75.6 yr, IMR 12.6/1,000); 221 matched pairs for 2001-2021.

r = -0.905 IMR vs. Life Expectancy

Tight convex inverse coupling (Spearman rho = -0.893; Female r = -0.913 vs. Male r = -0.883; Male-Female LE r = +0.971).

η² = 64.8% Between-Subregion Share

Nearly two-thirds of global variance in both LE (64.8%) and IMR (64.2%) lies between the 21 subregions rather than within.

-28.2% SD 20-Year Convergence

218/221 countries gained longevity (mean +5.78 yr; beta-convergence r = -0.842); IMR dispersion fell -42.5% (r = -0.936).

The Problem

Why this mattered

Cross-national demographic indicators are strongly skewed (infant mortality skewness = +1.56 pulls the mean 61% above the median) and hierarchically nested across 5 regions and 21 subregions. Summarizing global health with unstratified averages hides both massive geographic clustering and stark within-subregion divides, while unexamined missing baseline records (6 countries missing in 2001) can bias 20-year comparisons.

My Contribution

What I built and owned

Completed as an individual report for Introductory Case Studies (Winter Semester 2022/23, Department of Statistics, TU Dortmund University). Built the reproducible Python analytics pipeline covering robust and parametric distributional summaries, dual Pearson/Spearman correlation matrices, exact sum-of-squares variance decomposition across all 21 subregions, explicit 2001 missingness auditing, paired 2001-to-2021 sigma- and beta-convergence metrics, and unit tests.

Robust EDA, Subregion Decomposition & 20-Year Convergence

01 · Distributions & Sex Gap

Skewness-Aware Summaries (2021)

Paired mean/SD with median/IQR across all 227 nations to handle left-skewed life expectancy (-0.73) and right-skewed infant mortality (+1.56). Quantified the Female-minus-Male gap (+5.11 yr mean; females outlive males in 226/227 nations, peaking at +11.4 yr in Russia with Montserrat -2.1 yr as sole reversal).

02 · Correlation & Subregion Variance

Exact 21-Subregion Homogeneity Audit

Paired Pearson r (-0.905) with Spearman rho (-0.893) to capture the non-linear convex drop in IMR vs. LE. Decomposed total variance into between-subregion (η² = 64.8% LE, 64.2% IMR) vs. within-subregion shares, contrasting ultra-tight Western Europe (LE IQR 0.8 yr, IMR IQR 0.2) against heterogeneous Eastern Asia (LE IQR 7.5 yr) and South-Eastern Asia (IMR IQR 23.3, exceeding global IQR).

03 · Paired 20-Year Trajectories

Catch-Up Convergence & 2021 Shocks

Explicitly isolated the 6 countries missing 2001 records (Libya, Puerto Rico, South Sudan, Sudan, Syria, United States) to track 221 matched pairs. Documented massive Sub-Saharan catch-up (Zambia +20.0 yr, Uganda +18.9 yr, Zimbabwe +18.5 yr; Rwanda IMR -72.6) alongside the only 3 longevity declines (Mexico -2.2 yr, Peru -1.9 yr, Venezuela -0.2 yr).

20-Year Demographic Shift & Global Convergence Summary (2001 vs. 2021)

Matched-country longitudinal analysis (n = 221 pairs excluding 6 nations missing 2001 IDB baselines) plus 2021 between-subregion variance shares (n = 227).

Indicator2001 Median2021 MedianMean 20-Yr DeltaGlobal SD ShiftImprovedBeta-Conv. r
Life Expectancy, Both (yr) 71.54 75.56 +5.78 yr 9.58 -> 6.88 (-28.2%) 218 / 221 (98.6%) -0.842
Life Expectancy, Males (yr) 68.78 72.99 +5.58 yr 9.18 -> 6.71 (-26.9%) 218 / 221 (98.6%) -0.814
Life Expectancy, Females (yr) 74.06 78.36 +5.97 yr 10.14 -> 7.17 (-29.3%) 218 / 221 (98.6%) -0.859
Infant Mortality (per 1,000) 20.74 12.58 -14.85 33.20 -> 19.10 (-42.5%) 215 / 221 (97.3%) -0.936

Model Outputs & Diagnostics

Key Takeaways

  • Heavy distributional skew makes robust location and spread indispensable: 2021 infant mortality skewness (+1.56) pulls the global mean (20.25) 61% above the median (12.58 per 1,000), while life expectancy spans 36.15 years from Afghanistan (53.25 yr) to Monaco (89.40 yr).
  • Females outlive males in 226 of 227 nations (+5.11 yr mean gap), with post-Soviet Eastern Europe showing the steepest male mortality penalty (Russia +11.44 yr, Belarus +11.14 yr, Lithuania +11.06 yr).
  • Exact sum-of-squares variance decomposition shows 64.8% of life expectancy variance and 64.2% of infant mortality variance lie between the 21 subregions (vs. 51-52% across 5 broad regions), while flagging wide internal heterogeneity inside Eastern Asia (LE IQR 7.5 yr) and South-Eastern Asia (IMR IQR 23.3).
  • Across all 221 countries matched between 2001 and 2021 (after auditing 6 missing 2001 baselines), global health converged sharply: life expectancy SD dropped 28.2% (r = -0.842) and infant mortality SD fell 42.5% (r = -0.936), driven by +18-20 yr gains in Zambia, Uganda, and Zimbabwe, with only Mexico, Peru, and Venezuela declining in 2021.