Teaching
Yiqing Xu, Stanford University
Lecture slides with their LaTeX sources, R code and data, free to use and adapt in your own teaching. Each course site gives its license and how to cite it.
Courses
Lectures on Causal Panel Analysis
Six lectures on causal inference with panel data: the parametric approach, difference-in-differences, factorial difference-in-differences, two-way fixed effects, modern difference-in-differences, and synthetic control. Course site · GitHub repository
POLI 450A: Political Methodology I (Regression)
The first course in Stanford’s political science PhD methods sequence: estimation and inference, simple and multiple regression, and robust and clustered standard errors, with worksheets and short videos. Course site · GitHub repository · YouTube playlist
Earlier course sites
From UC San Diego, kept as they were.
- POLI 171: Making Policy with Data (2017)
- POLI 273: Causal Inference (2017 and 2018)
Software
The R packages used in these courses, with their tutorials, are listed on yiqingxu.org.