mdd_estim_CH: de Chaisemartin and d'Haufeuille estimators

View source: R/estim_ChaiseFeuille_2020.R

mdd_estim_CH_2020R Documentation

de Chaisemartin and d'Haufeuille estimators

Description

Simple wrapper for did_multiplegt, see help file there

Usage

mdd_estim_CH_2020(mdd_dat, ...)

mdd_estim_CH(mdd_dat, mode = c("dyn", "had", "old"), ...)

Arguments

mdd_dat

An object of class mdd_dat created by mdd_data_format

...

Further arguments passed to did_multiplegt

mode

type of estimator, see did_multiplegt.

See Also

mDid_weights_CH for a local implementation of the CH weights.

Examples

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)

MatthieuStigler/multiDiff documentation built on Feb. 14, 2025, 12:02 a.m.