Replies: 1 comment
-
If you want to handle uncertainty - get the lowest possible value and highest possible value, sample MMM parameters. sm2.sampling(data=model_data2, iter=1000, chains=3) yields 1500 sets of (beta, tau, decay, peak), sample 100 of them (or 1000, or use all of them), pass them to the decompose media contribution function, you shall get 100 mc_df, then 100 ROAS, from which you can get the 10th and 90th percentile. If you want an estimation of ROAS with a confidence interval, use bootstrap method. |
Beta Was this translation helpful? Give feedback.
-
Hi Sibyl,
Thank you for sharing your scripts here. It's really helpful!
I would like to get your thoughts on calculating the 90/10 credible intervals for the final ROAS results. Coz we want to calculate a range of ROAS so that we can interpret the ROAS with a margin of error. Do you have any ideas on how to do that? Thank you so much!
Beta Was this translation helpful? Give feedback.
All reactions