lift_test#
Adding lift tests as observations of saturation function.
This provides the inner workings of MMM.add_lift_test_measurements
method. Use that
method directly while working with the MMM
class.
Functions
Add lift measurements to the likelihood from a saturation transformation. |
|
|
Add saturation observations to the likelihood of the model. |
|
Check if the available set is a subset of the required set. |
|
Check if the lift test results satisfy the increasing assumption. |
|
Return function and variable mapping that use a time-varying variable. |
|
Create a function to index variables in the model. |
|
Get indices in the model for each row in the DataFrame. |
Scale the lift measurements for a specific channel. |
|
|
Scale the DataFrame with lift test results to be used in the model. |
|
Scale the target for the lift measurements. |
Exceptions
|
Error when values are missing from a required set. |
|
Data is not monotonic. |
|
Raised when some values are not aligned. |