| CiC-deprecated | R Documentation |
Deprecated. Use cic instead.
CiC is a legacy two-period wrapper for the Change in Changes
estimator. It accepts a formula and explicit t/tmin1 time
period arguments. The modern replacement cic uses a
yname/gname/tname interface and supports staggered
treatment adoption natively via ptetools.
CiC(
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,
pl = FALSE,
cores = 2,
retEachIter = FALSE
)
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. |
se |
logical; whether to compute bootstrap SEs. |
idname |
name of the unit id column (required when |
alp |
significance level. |
probs |
quantile grid. |
iters |
bootstrap iterations. |
pl |
logical; parallel bootstrap. |
cores |
number of cores. |
retEachIter |
logical; return per-iteration results. |
QTE object.
cic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.