SCSPILLEffects

utils.scspill_helpers.structures.SCSPILLEffects(
    att,
    att_ci,
    att_draws,
    att_plugin,
    att_scm,
    cf_mean,
    cf_lower,
    cf_upper,
    spill_mean,
    spill_lower,
    spill_upper,
    ci_level,
    propagate_alpha,
    n_draws_used,
)

Posterior treatment and spillover effects (Theorems 3.1-3.2).

All paths cover the full sample (pre and post periods); pre-period rows of the spillover panel are fit residuals by construction, not causal spillovers.

Attributes

Name Type Description
att float Posterior mean of the average treatment effect on the treated (mean over the att_draws).
att_ci tuple of float Equal-tailed credible interval for the ATT at level ci_level.
att_draws np.ndarray One ATT draw per retained posterior draw, shape (M,).
att_plugin float ATT evaluated at the posterior means (alpha_hat, rho_hat).
att_scm float ATT of the rho = 0 special case (plain Bayesian horseshoe SCM at alpha_hat) – the no-spillover comparator.
cf_mean, cf_lower, cf_upper np.ndarray Posterior mean and pointwise credible band of the treated unit’s untreated counterfactual path, each shape (T,).
spill_mean, spill_lower, spill_upper pd.DataFrame Posterior mean and pointwise credible band of the spillover effects, each (T, N) indexed by time labels with donor-label columns.
ci_level float Credible level of all intervals.
propagate_alpha bool True when effect draws paired (alpha^(m), rho^(m)); False when alpha was held at alpha_hat (the R package’s convention).
n_draws_used int Number of posterior draws swept in the effects computation.