cd.structures.PureDonorSensitivity
utils.scspill_helpers.cd.structures.PureDonorSensitivity(
treated_label,
clean_labels,
w_sp,
w_pd,
a_pd,
)Misspecification-bias weights of the two estimators of the direct effect.
Attributes
| Name | Type | Description |
|---|---|---|
| treated_label | Any | The treated unit whose direct effect is assessed (the headline). |
| clean_labels | tuple | Controls assumed unexposed: the pure donors. |
| w_sp | pd.Series | Bias weights of the spillover-aware estimator on each clean control. |
| w_pd | pd.Series | Donor weights of the pure-donor synthetic control on each clean control. |
| a_pd | float | Intercept of the pure-donor synthetic control. |
Methods
| Name | Description |
|---|---|
| bias_bounds | Half-widths of the bias sets over a grid of alpha_bar. |
| coefficients | Worst-case bias coefficients (c_p^SP, c_p^PD) for p missed units. |
bias_bounds
utils.scspill_helpers.cd.structures.PureDonorSensitivity.bias_bounds(
p,
alpha_bar,
)Half-widths of the bias sets over a grid of alpha_bar.
Returns
| Name | Type | Description |
|---|---|---|
| pd.DataFrame | Indexed by alpha_bar with columns "spillover_aware" and "pure_donor"; the bias set is [-value, +value]. |
coefficients
utils.scspill_helpers.cd.structures.PureDonorSensitivity.coefficients(p)Worst-case bias coefficients (c_p^SP, c_p^PD) for p missed units.
Each is the sum of the p largest absolute weights.