mdd_DD_means22 | R Documentation |
Estimate juste the before/after treated/control means, and conduct inference on the various diffs
mdd_DD_means22(mdd_dat, add_tests = TRUE)
## S3 method for class 'mdd_DD_means22'
print(x, ...)
mdd_dat |
An object of class mdd_dat created by |
add_tests |
compute also tests? |
x |
output of mdd_DD_means |
... |
unused |
An object of class lm (wrapped into mdd_DD_means22),
with the slot mdd_dat_slot
which contains the output of the tests under DiD_manu_tests
dat_sim_mdd <- sim_dat_common(timing_treatment = 6:10, as_mdd=TRUE)
out <- mdd_DD_means22(mdd_dat=dat_sim_mdd)
out
# extract tests:
attr(out, "mdd_dat_slot")$DiD_manu_tests
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.