moderndid.load_mpdta#
- moderndid.load_mpdta() DataFrame[source]#
Load the County Teen Employment dataset for multiple time period DiD analysis.
This dataset contains county-level teen employment rates from 2003-2007 with staggered treatment timing (minimum wage increases). States were first treated in 2004, 2006, or 2007.
The dataset is a balanced panel of 500 counties observed across 5 years, for a total of 2,500 observations.
- Returns:
polars.DataFrameA DataFrame with the following columns:
year: Year (2003-2007)
countyreal: County identifier
lpop: Log of county population
lemp: Log of county-level teen employment (outcome variable)
first.treat: Period when state first increased minimum wage (2004, 2006, 2007, or 0 for never-treated)
treat: Treatment indicator (1 if treated, 0 if control)
References
[1]Callaway, B., & Sant’Anna, P. H. (2021). Difference-in-differences with multiple time periods. Journal of Econometrics, 225(2), 200-230.