DelayedSaturatedMMM.compute_mean_contributions_over_time#

DelayedSaturatedMMM.compute_mean_contributions_over_time(original_scale=False)#

Get the contributions of each channel over time.

Parameters:

original_scale (bool, optional) – Whether to return the contributions in the original scale of the target variable. If False, the contributions are returned in the scale of the transformed target variable. Defaults to False.

Returns:

A dataframe with the mean contributions of each channel and control variables over time.

Return type:

pd.DataFrame