PiecewiseITS.effect_summary#

PiecewiseITS.effect_summary(*, window='post', direction='increase', alpha=0.05, cumulative=True, relative=True, min_effect=None, treated_unit=None, period=None, prefix='Post-period', **kwargs)[source]#

Generate a decision-ready summary of PiecewiseITS causal effects.

Parameters:
  • window (Union[Literal['post'], tuple, slice]) – Time window for analysis (see BaseExperiment.effect_summary()).

  • direction (Literal['increase', 'decrease', 'two-sided']) – Direction for tail probability calculation (PyMC only).

  • alpha (float) – Significance level for HDI/CI intervals (1-alpha confidence).

  • cumulative (bool) – Whether to include cumulative effect statistics.

  • relative (bool) – Whether to include relative effect statistics.

  • min_effect (float | None) – Region of Practical Equivalence (ROPE) threshold (PyMC only).

  • treated_unit (str | None) – Multi-unit experiments select which unit to analyse.

  • period (Optional[Literal['intervention', 'post', 'comparison']]) – Not supported by PiecewiseITS; pass None.

  • prefix (str) – Prefix for prose generation.

  • **kwargs (Any) – Reserved for forward-compatibility.

Return type:

EffectSummary