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.13k stars 334 forks source link

Difference between immediate vs. carryover in OutputCollect and OutputModels #879

Closed caarolinagil closed 8 months ago

caarolinagil commented 10 months ago

Project Robyn

Describe issue

Hi,

I noticed that by extracting the immediate vs carryover plot directly from the one pager, the result is one. However, checking the OutputModels$resultCollect$xDecompVec data and adding it all up to get the aggregate, the result is different. Shouldn't it be the same on both sides?

Environment & Robyn version

Make sure you're using the latest Robyn version before you post an issue.

gufengzhou commented 9 months ago

Robyn actually doesn't provide the immediate vs carryover breakout as time series because it's too chunky to store. In pareto_aggregated.csv, or OutputCollect$xDecompAgg, you can find column carryover_pct that's the same as the carryover vs immediate plot in onepager.

caarolinagil commented 9 months ago

Thanks for your answer.

One more doubt, the carryover_pct column in OutputCollect$xDecompAgg, from which version is it available? I can't find it in v.3.9.0. Is it in the next one?

Thanks again!

gufengzhou commented 9 months ago

I recommend you to update to the latest GitHub version.

caarolinagil commented 9 months ago

Perfect, I'll start working with the latest stable version of Github.

We can close the issue.

Thanks! Have a nice day.