cd.structures.CDTestResult
utils.scspill_helpers.cd.structures.CDTestResult(
statistic,
critical_value,
p_value,
reject,
reference_statistics,
)A P test with its pre-treatment reference distribution.
Attributes
| Name | Type | Description |
|---|---|---|
| statistic | float | The post-treatment statistic. |
| critical_value | float | The ci-quantile of the reference statistics. |
| p_value | float | Share of reference statistics at least as large as statistic. |
| reject | bool | Whether statistic exceeds critical_value. |
| reference_statistics | np.ndarray | The pre-treatment reference statistics, shape (T0,). |