Estimates SE and confidence intervals for the ATT by re-estimating the
fit on resampled units: a bootstrap of the treated and the control units,
drawn separately, or a jackknife that drops one unit at a time. Works for
sharp, staggered and multi-arm SI fits. Each refit keeps the rank k the
fit used.
Arguments
- fit
A
coresynthobject fromscm_fit()withmethod = "si".- method
"bootstrap"(default),"jackknife", or"jackknife_global"(staggered fits only).- n_boot
Number of bootstrap replications (default 499L; ignored for jackknife).
- level
Confidence level (default 0.95).
- alternative
"two.sided"(default),"greater", or"less".- seed
RNG seed for reproducibility (default NULL).
Details
Holding the treated units fixed would leave out their own noise, which is
most of the variance when few units are treated, so they are resampled
too; with a single treated unit (in any arm) there is nothing to resample
and the function stops. For a sharp fit with one treated unit,
conformal_inference() gives a valid interval.
The controls are drawn once per replicate and shared by every arm and
every cohort, as the SVD basis is a property of the shared donor pool.
Treated units are drawn within their arm. On a staggered fit they are
pooled across cohorts, so cohort sizes vary across replicates, and the
cohorts are rebuilt from the draw and combined with their
N_treated * T_post weights. "jackknife" drops each cohort's own donors
and treated units and combines the per-cohort variances by the delta
method, which ignores the covariance that shared donors induce between
cohorts; "jackknife_global" (staggered fits only) drops every unit from
the whole panel in turn and keeps it. Both jackknives drop treated units,
so every cohort needs at least two (Clarke et al. 2024, Algorithm 3).
