PlaceboFoldResult#

class causalpy.checks.placebo_in_time.PlaceboFoldResult[source]#

Result of a single placebo fold.

fold#

Fold number (1-indexed).

Type:

int

pseudo_treatment_time#

The shifted treatment time for this fold.

Type:

Any

experiment#

The fitted experiment for this fold.

Type:

BaseExperiment

cumulative_impact_samples#

Posterior samples of the cumulative (summed) impact for this fold.

Type:

xr.DataArray

fold_mean#

Posterior mean of the cumulative impact.

Type:

float

fold_sd#

Posterior standard deviation of the cumulative impact.

Type:

float

Methods

Attributes

__init__(fold, pseudo_treatment_time, experiment, cumulative_impact_samples, fold_mean, fold_sd)#
Parameters:
Return type:

None

classmethod __new__(*args, **kwargs)#