The overall, event-study, cohort and calendar-time aggregations of Callaway and Sant'Anna (2021), Sec. 4. Standard errors come from the influence functions of the constituent cells, so they account for the estimation of every cell that enters an aggregate.
Arguments
- gt
Cell list from
morie_grouptimeatt.- g
First treated period index per unit.
- n_units
Number of units.
- weights_by
"cohort_size"(default) weights post- treatment cells by cohort size;"equal"weights them equally. Both routes are kept.
Value
A list with overall, overall_se, event,
cohort and calendar, or an empty list if no cell is
post-treatment.
