LiftExperimentLikelihood

effects.LiftExperimentLikelihood(
    self,
    effect,
    lift_test_results,
    prior_scale,
    likelihood_scale=1,
)

Wrap an effect and applies a normal likelihood to its output.

This class uses an input as a reference for the effect, and applies a normal likelihood to the output of the effect.

Parameters

Name Type Description Default
effect BaseEffect The effect to wrap. required
lift_test_results pd.DataFrame A dataframe with the lift test results. Should be in sktime format, and must have the same index as the input data. required
prior_scale float The scale of the prior distribution for the likelihood. required