Due Date: May 22, 2026

Submit your lab here.

Problem 1: Democracy and Education: Classic 2×2 DiD

In this analysis, I will ask you to use data from the Alvarez et al. data set on regimes and economic performance worldwide. The data are available as aclppanel.csv, and you can also access a codebook.

Using these data, try to determine whether dictatorship/democracy (REG) has a positive or negative causal effect on average education levels (EDT). Structure the analysis as a difference-in-differences setup using a two‑way fixed effects model (feols from fixest). Describe your findings.

Problem 3: Staggered Adoption and Modern Estimators

The cross-national data have a staggered treatment (countries change regimes at different times). Use the did package (Callaway & Sant’Anna) to estimate the group‑time average treatment effects. Aggregate to an overall ATT. Compare with the TWFE estimate. Use bacondecomp to diagnose any negative weights in the TWFE estimate.

Problem 4: Interactive Fixed Effects (Optional)

If time permits, use fect to estimate the ATT with interactive fixed effects. Compare the results to the previous estimators.