Workshop Code
Use the Texas-calibrated datasets from the Data page with the Hands-on R Lab.
| File | Purpose |
|---|---|
| Lab R script | Yaosheng’s script for the live lab, covering traditional DID, TWFE, an event study, and CSA group-by-time, group-specific, calendar, Simple ATT, and dynamic estimates. |
| R Markdown source | Optional download with the explanations and executable code for the Workshop page. |
Run the Lab
Install R and the packages before the session. Download both dataset CSVs from the Data page into your R project folder, then run the Lab R script from that folder.