Regresses the outcome on group-by-time interactions in the pre-period and reports both per-period coefficients and a joint Wald (chi-square) test that they are all zero.
Usage
morie_did_test_parallel_trends(
data,
outcome,
treatment,
time,
unit = NULL,
cluster = NULL,
pre_periods = NULL
)Value
A list with coefficients, joint_chi2 (and
its alias joint_f_stat), joint_df,
joint_p_value, parallel_trends_plausible.
Details
For the Callaway-Sant'Anna pre-test on the group-time ATTs prefer
did::conditional_did_pretest.