| gsc_inference | R Documentation |
Estimates SE and confidence intervals for the ATT via non-parametric cluster bootstrap or jackknife over control units. Works for both sharp and staggered GSC fits. For staggered fits, bootstrap resamples each cohort's control pool independently, and jackknife uses a per-cohort LOO with delta-method variance aggregation.
gsc_inference(
fit,
method = c("bootstrap", "jackknife", "jackknife_global"),
n_boot = 499L,
level = 0.95,
alternative = c("two.sided", "greater", "less"),
seed = NULL
)
fit |
A |
method |
|
n_boot |
Number of bootstrap replications (default 499L; ignored for jackknife). |
level |
Confidence level (default 0.95). |
alternative |
|
seed |
RNG seed for reproducibility (default NULL). |
Note: gsc_boot() performs a parametric bootstrap under H0 (hypothesis
testing). gsc_inference() provides non-parametric SE and CIs suitable
for inference about the ATT magnitude.
A list of class coresynth_inference.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.