| ddid2 | R Documentation |
Deprecated. Use ddid instead.
ddid2 is a legacy two-period wrapper for the Distributional
Difference-in-Differences estimator. The modern replacement
ddid uses a yname/gname/tname
interface and supports staggered treatment adoption natively.
ddid2(
formla,
xformla = NULL,
t,
tmin1,
tname,
data,
panel = TRUE,
dropalwaystreated = TRUE,
idname = NULL,
probs = seq(0.05, 0.95, 0.05),
iters = 100,
alp = 0.05,
method = "logit",
se = TRUE,
retEachIter = FALSE,
seedvec = NULL,
pl = FALSE,
cores = NULL,
biters = NULL,
cl = NULL
)
formla |
formula of the form |
xformla |
optional one-sided covariate formula. |
t |
post-treatment period. |
tmin1 |
pre-treatment period. |
tname |
name of the time column. |
data |
data.frame. |
panel |
logical; whether data are panel (must be |
dropalwaystreated |
logical; whether to drop always-treated units. |
idname |
name of the unit id column. |
probs |
quantile grid. |
iters |
bootstrap iterations. |
alp |
significance level. |
method |
propensity score estimation method ( |
se |
logical; whether to compute bootstrap SEs. |
retEachIter |
logical; return per-iteration results. |
seedvec |
optional vector of seeds for reproducible bootstrap. |
pl |
logical; parallel bootstrap. |
cores |
number of cores. |
biters |
alias for |
cl |
alias for |
QTE object.
ddid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.