mdd_test_placebo | R Documentation |
Subset the data to the pre-period, and assign a treatment value of 1 to units eventually treated
mdd_test_placebo(mdd_dat, T_treated = NULL, weights = NULL, cluster = NULL)
mdd_dat |
An object of class mdd_dat created by |
T_treated |
Number of pre-period to consider as treated |
cluster , weights |
see |
DID_dat_raw <- sim_dat_common(timing_treatment = 5:10)
DID_dat <- mdd_data_format(DID_dat_raw)
mdd_test_placebo(mdd_dat = DID_dat, T_treated = 1)
mdd_test_placebo(mdd_dat = DID_dat, T_treated = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.