python

MGWFER: Causal Spatially Varying Coefficients via Panel Fixed Effects

A faithful Python tutorial on Li & Fotheringham (2026) — using a two-stage MGWFER algorithm to remove time-invariant spatial confounders from Multiscale GWR and recover both unbiased spatially varying slopes and intrinsic contextual effects from simulated panel data (225 units x 3 periods).

Causal Machine Learning for Policy Evaluation: From ATE to IATE to a Better Assignment Rule

A beginner-friendly walk-through of Causal Machine Learning — ATE, GATE, IATE, and welfare-maximising assignment — using DoubleML and EconML on a synthetic Flanders ALMP-style cohort with known true effects.

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.