Skip to content

missing log log transformation for mmm_decompose_contrib() #47

Answered by sibylhe
mateusms01 asked this question in Q&A
Discussion options

You must be logged in to vote

Formula 1: y = b0 * x1^b1
Formula 2: log y = log b0 + b1 * log x1
The two formulas are equivalent. Though the coefficients are inferred from Formula 2, it's okay to plug them into both formulas. In order to get the actual contribution, we need to plug them into Formula 1. See this section for details:
https://github.com/sibylhe/mmm_stan#decompose-sales-to-media-channels-contribution

You can apply the coefficients to the log-log model, but it just won't do anything for you.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mateusms01
Comment options

Answer selected by mateusms01
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants