Stata 17 introduces a convenient package for double- and triple-differenced treatment effects estimation, embodied in the didregress and xtdidregress commands. It offers three methods for correcting the p values and confidence intervals, by far the slowest of which is the wild cluster bootstrap.
But I've just made boottest work after these commands and it is doing the same bootstrap about 200 times faster, making the test much more practical.
If no hypothesis is stated in the boottest command line, it defaults to testing that the treatment effect is 0.
Example:
Install with:
But I've just made boottest work after these commands and it is doing the same bootstrap about 200 times faster, making the test much more practical.
If no hypothesis is stated in the boottest command line, it defaults to testing that the treatment effect is 0.
Example:
Code:
webuse smallg didregress (outcome x i.b) (treated), group(county) time(year) wildbootstrap(rseed(123) errorweight(webb)) boottest, seed(123) weight(webb) nograph reps(1000) // same test, ~200 times faster
Code:
ssc install boottest, replace
Comment