calculate_lift_measurements_from_curve#
- pymc_marketing.mmm.lift_test.calculate_lift_measurements_from_curve(x_before, x_after, saturation_curve, pt=<module 'pytensor.tensor' from '/home/docs/checkouts/readthedocs.org/user_builds/pymc-marketing/envs/0.7.0/lib/python3.10/site-packages/pytensor/tensor/__init__.py'>)[source]#
Calculate the lift measurements at two spends.
- Parameters:
- Returns:
npt.NDArray[float]Array of lift measurements based on a given saturation curve