View source: R/estim_ChaiseFeuille_2020.R
mdd_estim_CH_2020 | R Documentation |
Simple wrapper for did_multiplegt, see help file there
mdd_estim_CH_2020(mdd_dat, ...)
mdd_estim_CH(mdd_dat, mode = c("dyn", "had", "old"), ...)
mdd_dat |
An object of class mdd_dat created by |
... |
Further arguments passed to did_multiplegt |
mode |
type of estimator, see did_multiplegt. |
mDid_weights_CH
for a local implementation of the CH weights.
data(GentzkowData)
GentzkowData_md <- mdd_data_format(GentzkowData, y_var="prestout",
time.index = "year", treat = "numdailies", unit.index="cnty90" )
CH_2024_out <- mdd_estim_CH(mdd_dat = GentzkowData_md)
CH_2024_out
tidy(CH_2024_out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.