did_check | R Documentation |
Assessing Assumptions for Difference-in-differences
did_check(
formula,
data,
id_unit,
id_time,
design = "did",
is_panel = TRUE,
option = list()
)
formula |
A formula of the following form,
|
data |
A data frame. |
id_unit |
A variable name of unit (e.g., country name, respondent id).
When |
id_time |
A variable name of time (e.g., year). |
design |
The design to be used: either |
is_panel |
A boolean argument.
This argument should be |
option |
A list of the following option parameters:
|
An object of DIDdesign_check
class.
It is a list object consists of placebo estimates and plots for checking the parallel trends assumption.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.