sa_double_did | R Documentation |
Compute the time-weighted DID and sDID
sa_double_did(formula, dat_panel, treatment, outcome, option)
formula |
A formula. |
dat_panel |
A panel data. |
treatment |
Name of the treatment variable. |
outcome |
Name of the outcome variable. |
option |
A list of options. |
A vector of two elements: Time-weighted DID (the first element) and time-weighted sequential DID (second).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.