Python

geometrics

Are poorer regions catching up, and is inequality falling? geometrics answers with spatial methods in Python, Plotly figures, and no-code Streamlit apps.

expdpy

What patterns and relationships hide in your panel data? expdpy reveals them in Python, with Plotly figures, publication tables, and no-code Streamlit apps.

Regional Inequality from Outer Space: Predicting GDP from Nighttime Lights and Building Inequality Indices in Python

Learn how to turn satellite images of nighttime lights into estimates of regional income, then measure how unequal regions are within each country. Step by step in Python, we test whether regional inequality first rises and then falls as countries develop.

Do Industrial Parks Work? Evaluating Place-Based Policy in Ethiopia with Difference-in-Differences

Do industrial parks bring more economic activity to nearby towns, and who benefits? This Python tutorial compares places that got a park with places that did not, before and after it opened, using simulated data modeled on Ethiopia, and also looks at household welfare and outcomes for women. It comes with an interactive app that runs in your web browser.

Dynamic Panel Data Models in Python: From Nickell Bias to System GMM

When a firm gains or loses workers this year, how much of that change is still there next year? This Python tutorial uses data on 140 British firms to show why simple estimates of this persistence mislead and how more careful methods and checks reach a reliable answer. It comes with an interactive app that runs in your web browser.

Indonesia514

A Data Science Repository to Study Regional Development across 514 Districts in Indonesia

Bouncing Back Better? Evaluating the Economic Impact of the Aceh Tsunami

How did the 2004 tsunami affect the economy of Aceh, Indonesia, over the long run? This beginner-friendly Python tutorial uses simulated data, nighttime lights, and several causal methods to compare damaged and undamaged areas before and after the disaster.

Double LASSO in Python: Does Abortion Reduce Crime?

Python companion to the R and Stata Double LASSO tutorials — same data, same five estimators, plus a hands-on introduction to the DoubleML library (DoubleMLPLR, DoubleMLIRM, and learner-robustness across LASSO, RandomForest, XGBoost).

Carbon Taxes and CO2 Emissions: A Synthetic-Control Analysis in Python

Did the carbon tax that Sweden introduced in 1991 cut carbon emissions from transport, and did it hurt the economy? This Python tutorial builds a look-alike Sweden from other wealthy countries and finds transport emissions about 11 percent lower each year, with no sign of slower economic growth. It comes with an interactive app that runs in your web browser.

Do Institutions Cause Prosperity? An IV Tutorial in Python

Do good institutions make countries richer? This Python tutorial revisits the 2001 study by Acemoglu, Johnson and Robinson, which uses death rates of early European settlers in 64 former colonies to isolate the effect of institutions, and shows that a simple comparison understates that effect. It comes with an interactive app that runs in your web browser.