python

Introduction to Difference-in-Differences (DiD) in Python

Learn Difference-in-Differences (DiD) in Python using PyFixest and Great Tables. Covers the 2x2 design, TWFE regression, inference comparison, publication-quality tables, event studies, and parallel trends testing based on Corral and Yang (2024).

Introduction to Panel Data Methods in Python

A beginner-friendly tour of seven panel-data estimators — POLS, Between, First-Differences, Fixed Effects, Two-Way FE, Random Effects, and Correlated Random Effects (Mundlak) — applied to a two-period worker wage panel.

Regional Inequality and the Kuznets Curve: Panel Fixed Effects in Python

Replicating the N-shaped Kuznets curve with panel data fixed effects in Python using PyFixest, from pooled OLS through two-way FE, turning point analysis, and determinants of regional inequality across 180 countries

Mastering Causal Metrics

A hands-on AI-powered study guide to causal inference with Python notebooks

Standard Errors in Panel Data: A Beginner's Guide in Python

Comparing standard error estimators in panel data regressions using Python and linearmodels --- from conventional to clustered, Driscoll-Kraay, and fixed effects

Exploratory Spatial Data Analysis: Spatial Clusters and Dynamics of Human Development in South America

An introduction to exploratory spatial data analysis using PySAL, covering choropleth maps, spatial weights, Moran's I, LISA clusters, space-time dynamics, and a Venezuela-Bolivia comparative analysis for 153 South American regions

Multiscale Geographically Weighted Regression: Spatially Varying Economic Convergence in Indonesia

Applying Multiscale Geographically Weighted Regression (MGWR) to reveal how economic catching-up varies across Indonesia's 514 districts, with each variable operating at its own spatial scale

Synthetic Control with Prediction Intervals: Quantifying Uncertainty in Germany's Reunification Impact

Synthetic control with prediction intervals quantifies uncertainty in Germany's reunification GDP impact using the scpi package.

Introduction to PCA Analysis for Building Development Indicators

Building a composite Health Index from Life Expectancy and Infant Mortality using manual PCA with simulated data for 50 countries, then verifying against scikit-learn

Pooled PCA for Building Development Indicators Across Time

Building a comparable Human Development Index across two time periods using pooled PCA with real sub-national data for 153 South American regions, and contrasting with per-period PCA to show why pooled standardization is essential for temporal comparisons