facebookexperimental / Robyn

Robyn is an experimental, AI/ML-powered and open sourced Marketing Mix Modeling (MMM) package from Meta Marketing Science. Our mission is to democratise modeling knowledge, inspire the industry through innovation, reduce human bias in the modeling process & build a strong open source marketing science community.
https://facebookexperimental.github.io/Robyn/
MIT License
1.16k stars 346 forks source link

weibull halflife depends on data length #255

Closed slavakx closed 2 years ago

slavakx commented 2 years ago

Hi,

trying to understand how you calculate weibull adstock, I figured out that scaleTrans depends on the time units. So having a fixed scale and shape params, halflife will be different based on time units. Is this a correct behavior? Example: time units of 20 (halflife ~6.5 weeks) and 100 has a halflife of 18 weeks.

image

image

gufengzhou commented 2 years ago

Hi, yes it's expected. Scale is the relative position