Biased Trend #513
Replies: 1 comment 3 replies
-
Hello, I did not deep dive into the code either, so I'd love to have the opinion of a contributor. From my understanding your point is correct and this is indeed an important drawback of using Robyn. This article confirm the problem https://getrecast.com/seasonality/ by stating """ 💡 Your marketing performs better when demand is high. As obvious as this sounds, it’s not what the traditional approach to seasonality assumes. When you incorporate seasonality in your model, you’re attempting to estimate how marketing would perform independent of seasonal changes in demand. You get results that show how much of sales was due to seasonality, and separately how much was driven by marketing. The function looks like this:
It gets worse. Controlling for seasonality in your analysis will give all the credit to the season, which means you’ll under-credit the impact of marketing on your sales. Your model would tell you exactly the wrong thing: that you should spend less when people are most likely to buy! |
Beta Was this translation helpful? Give feedback.
-
Hey folks,
disclaimer: I don't code in R but Python, therefore I cannot dive too much into the code to understand
From my understanding Prophet is used to in the feature engineering part, right?
So the outputs (trend, seasonality, holidays, ...) then flow into the Regression-part. Isn't some kind of bias in there since the time-series is not "corrected" for media-effects, yet?
Imagine that every Sunday you have twice the marketing spend of a regular day. Wouldn't the output be a strong seasonality-coefficient for Sunday and ignore the fact that media is overproportionally spent on that day? Same for months: Imagine that a company is willing to spend overproportionally in low-season (to "generate" demand) and cuts spending in high-season. This would basically "smoothen" / "weaken" the seasonality captured by Prophet, wouldn't it?
So my point is: When first fitting the seasonality-features and then using these outputs to calculate the regression, don't the seasonality features have a bias AGAINST the media-features?
Where's the mistake in my thinking?
Beta Was this translation helpful? Give feedback.
All reactions