scale_target_for_lift_measurements#

pymc_marketing.mmm.lift_test.scale_target_for_lift_measurements(target, transform)[source]#

Scale the target for the lift measurements.

Parameters:
  • target (pd.Series) – Series with the target variable.

  • transform (Callable[[np.ndarray], np.ndarray]) – Function to scale the target.

Returns:

Series with the scaled target.

Return type:

pd.Series