Argument definitions in MMM.allocate_budget_to_maximize_response #1236
Unanswered
scottlyden
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From the documentation:
These definitions plus the discussion in the example notebook (https://www.pymc-marketing.io/en/stable/notebooks/mmm/mmm_budget_allocation_example.html) leave me completely confused.
The labelling of the graphs in the notebook suggests that the total budget is the amount allocated on each "day". (See the plots labelled Comparison of Optimized and Initial Budget Responses.)
Is
budget
the budget for the whole analysis period or for each period within the campaign? Doesnum_days
really mean a number of days or a number of periods, where period is expressed in units oftime_granularity
? In the graphs, the labels say that thebudget
is an amount that's allocated each day even though granularity is specified as weekly!To put it concretely, let's say I want to optimize a campaign over 8 week-long periods with a total budget of 8 million dollars for the whole campaign using a
time_granularity
of weekly. Is mybudget
8 or 1 or 1/7 million?Granularity
is presumably weekly, but isnum_days
8 or 56?A related question concerns the discussion around the second plot titled "Comparison of Optimized and Initial Budget Responses" in the example notebook. The discussion claims:
Please explain how that graph shows this. The outcomes look very different to me. Indeed, the 'optimized' outcome looks inferior in terms of total response. Please tell me what I'm missing. Is it that the original orange line exceeds the blue line by less than three (the savings from spending less on the campaign)?
PS
Since my initial posting, I have since read the notebook https://github.com/pymc-labs/pymc-marketing/blob/main/docs/source/notebooks/mmm/mmm_case_study.ipynb . That notebook adds yet another possible interpretation of the budget variables, ie, that they are vector-valued per channel per period quantities.
Beta Was this translation helpful? Give feedback.
All reactions