This is the old version of did_multiplegt from de Chaisemartin and D'Haultfoeuille (2020). For most use cases, we recommend using did_multiplegt with mode="dyn" instead, which is faster and has more features.
did_multiplegt_old(
df,
Y,
G,
T,
D,
controls = c(),
placebo = 0,
dynamic = 0,
threshold_stable_treatment = 0,
recat_treatment = NULL,
trends_nonparam = NULL,
trends_lin = NULL,
brep = 0,
cluster = NULL,
covariance = FALSE,
average_effect = NULL,
parallel = FALSE
)A list with treatment effects and related statistics
the data frame for input
the name of Y variable
the name of group variable
the name of time variable
the name of treatment variable
the list of names of control variables, empty if not specified
the number of placebo estimators
the number of dynamic estimators
the threshold to mark a difference stable
the name of treatment group recategorized
trends nonparametric option
trends linear option
the number of bootstrap replications
cluster variable for standard errors
whether to compute covariance
average effect option
whether to run bootstrap in parallel