DressRehearsalResult#
- class causalpy.experiments.sc_results.DressRehearsalResult[source]#
Result of a dress-rehearsal design validation.
Produced by
SyntheticControl.validate_design().- recovered_effect_mean#
Posterior mean of the cumulative impact in the pseudo-post window.
- Type:
- posterior_samples#
Raw posterior draws of cumulative impact.
- Type:
xr.DataArray
- injected_truth#
The actual numeric value injected (after conversion from relative to absolute if applicable).
- Type:
Methods
Plot injected vs recovered effect with HDI band.
Return a DataFrame with recovery statistics.
Convert to a
CheckResultfor sensitivity pipeline integration.Attributes
- __init__(injected_effect, effect_type, recovered_effect_mean, recovered_effect_hdi, hdi_covers_truth, posterior_samples, injected_truth)#
- classmethod __new__(*args, **kwargs)#