overall_weights | R Documentation |
A function that returns weights on (g,t)'s to deliver overall (averaged across groups and time periods) treatment effect parameters
overall_weights(attgt, balance_e = NULL, min_e = -Inf, max_e = Inf, ...)
attgt |
A group_time_att object to be aggregated |
balance_e |
Drops groups that do not have at least |
min_e |
The minimum event time computed in the event study results. This is useful when there are a huge number of pre-treatment periods. |
max_e |
The maximum event time computed in the event study results. This is useful when there are a huge number of post-treatment periods. |
... |
extra arguments |
a data.frame containing columns:
group: the group
time.period: the time period
overall_weight: the weight
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.