Generates the null distribution of the ATT under H0 (no treatment effect) by parametric resampling from the estimated IFE factor model. Under H0, both the control panel and treated unit are generated from the fitted factor model with homoskedastic noise. When the fit includes covariate adjustment (beta), the covariate contribution is included in the simulated DGP and re-estimated in each bootstrap replicate.
Arguments
- fit
A
coresynthobject fromscm_fit()withmethod = "gsc".- B
Bootstrap replications (default 499L).
- alpha
Significance level for the confidence interval (default 0.05).
- seed
RNG seed for reproducibility (default NULL).
Value
A list with:
p_value: Two-sided p-value: mean(|ATT*| >= |ATT_obs|)ci_lower: Lower bound of (1-alpha)*100% bootstrap CIci_upper: Upper bound of (1-alpha)*100% bootstrap CIse: Bootstrap standard errorboot_dist: Numeric vector of length B (bootstrap ATT* values)att_obs: Observed ATT from the original fit
