0

I'm new to Facebook Robyn, and when I compare the ROIs shown in the "Share of Spend VS Share of Effect with total ROI" graph versus the "initRoiUnit" in reallocated_hist.csv created from Budget Allocator from the same model, I saw that they are distinct.

I'm trying to find some logic in that difference but at the moment I have no idea what is the algorithm doing.

enter image description here

enter image description here

At this time I understand that in Budget Allocator the data is not the total spend and revenue, but they have an average treatment. But when I see a ROI of 5 in the graph I expect to have a spend * 5.28 as the revenue, but in the Budget Allocator I saw a spend * 0.94.

  • 1
    Welcome to SO, Carlos García! Please make this question *reproducible*. This includes sample code you've attempted (including listing non-base R packages, and any errors/warnings received), sample *unambiguous* data (e.g., `data.frame(x=...,y=...)` or the output from `dput(head(x))`), and intended output given that input. Refs: https://stackoverflow.com/q/5963269, [mcve], and https://stackoverflow.com/tags/r/info. – r2evans Nov 25 '22 at 19:51

0 Answers0