Deprecated. Use mdid instead.
MDiD is a legacy two-period wrapper for the Mean
Difference-in-Differences estimator. The modern replacement
mdid uses a yname/gname/tname
interface and supports staggered treatment adoption natively.
MDiD(
formla,
xformla = NULL,
t,
tmin1,
tname,
data,
panel = FALSE,
se = TRUE,
idname = NULL,
alp = 0.05,
probs = seq(0.05, 0.95, 0.05),
iters = 100,
retEachIter = FALSE,
biters = NULL
)QTE object.
formula of the form y ~ treat.
optional one-sided covariate formula (unused in this estimator; accepted for consistency with other wrappers).
post-treatment period.
pre-treatment period.
name of the time column.
data.frame.
logical; whether data are panel.
logical; whether to compute bootstrap SEs.
name of the unit id column (required when panel = TRUE).
significance level.
quantile grid.
bootstrap iterations.
logical; return per-iteration results.
alias for iters; takes precedence if supplied.
mdid