R Code and References
- Curtis Kephart's Lessons on R
- A great intro for newcomers to R.
- R Functions
- Balance.Table -- Creates a balance table (or "comparison of means" table) to ensure balance between treatment and control groups.
- RDbalance.table -- Create a balance table with regression discontinuity estimates across the threshold
- Regout -- Easier clustering of standard errors with Stargazer output.
- IV.Estimate -- Easily calculate standard errors of the IV estimates in a two-staged least squares context.
- RDplotr -- Create many regression discontinuity plots and save them.
- A primer on dplyr and tidyr
- These packages are my preferred method for data manipulation in R, part of the tidyverse.