Standard Errors for Difference-in-Difference Regression
Bruce E. Hansen
October 2024

The following files execute the simulation work reported in the paper. The results as reported were calculated in R 4.2.3 under Windows 11.

Table2.R
Table3.R
Table4.R
Table5.R
Table6.R
Table7.R
Table8.R
Table9.R

All are R files. They use the R packages foreach, doParallel, and extraDistr, but are otherwise self-contained. They save the output for the tables in text files with the names "Table2.txt", etc. 

The following files execute the time computation reported in Table 16. These results as reported were calculated in R 4.4.0.

Table16.R
Table16.do
jregress.ado
jregress.R

