Stata 13 maxvar11/26/2023 ![]() Sometimes adding these to the data is annoying however, so it’d be great if we could just enter the values directly. With the values in the dataset, we can simply use the rcap graph and be done with it. twoway (line t c cf year, lcolor(green maroon sand))(rcap t_l t_h year, lcolor(black)) Instead, we require that the confidence interval does not include the counterfactual (the thing we drew in yellow). ![]() ![]() In diff-in-diff this is not the case anymore. In standard regressions, we’d say the effect is statistically significant if the CI does not include zero. We’d now like to show this confidence interval (CI) in the previous graph. Pretend we estimated some treatment effect, which lead to the fabricated confidence interval we defined below. The current situation is drawn next to the code block. A typical difference in differences setup (technically triple DiD) set obs 4
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |