PowerCurveResult#
- class causalpy.experiments.sc_results.PowerCurveResult[source]#
Result of a simulation-based Bayesian power analysis.
Produced by
SyntheticControl.power_analysis().- detection_rates#
Fraction of simulations where the criterion was met, per effect size.
- raw_results#
Nested list: per effect size, per simulation.
- Type:
- block_length#
Block length used for block-bootstrap residual noise, if applicable.
- Type:
int or None
Methods
Power curve: effect size vs detection rate.
DataFrame with per-effect-size summary statistics.
Attributes
- __init__(effect_sizes, detection_rates, criterion, raw_results, noise_method='iid_gaussian', block_length=None)#
- classmethod __new__(*args, **kwargs)#