pymc-marketing icon indicating copy to clipboard operation
pymc-marketing copied to clipboard

Is there a way to apply the weibul adstock transformation in model

Open shuvayan opened this issue 1 year ago • 3 comments

Hello,

I see that there is a weibull adstock transformation function available but it is not currently being called in the delayed_saturated_mmm module (only geometric adstock) is being called. May I know if there is a way I can use the weibul adstock transformation within the framework?

shuvayan avatar Feb 27 '24 16:02 shuvayan

You're right. The delayed MMM class doesnt currently have support for different adstock functions.

At the moment, you would have to inherit from the class and override the build_model method to use the adstock, saturation, etc that you would like to use

williambdean avatar Feb 27 '24 17:02 williambdean

Okay. Thank you so much for sharing the methodology , I will see if I can implement it!!

shuvayan avatar Feb 28 '24 07:02 shuvayan

Hi @shuvayan Hope you were able to figure out a solution. FYI: We are working on a #632 where a user can specify the saturation function (as well as adstock)

williambdean avatar Apr 25 '24 14:04 williambdean