Comments (4)
Hi @wenyanyy hope you are doing well and thanks for using our code! For the ridge regression in the model we only use whatever you define on the "set_mediaVarName" object. The spend is however always required because, in the case you would choose impressions (facebook_I) or clicks(search_clicks_P) like in the example for facebook and search respectively below, we will translate later those impressions or clicks decomposition effects from the ridge regression, into actual spend ($) values for comparability between the saturation(hill) curves for all channels in the budget allocator.
set_mediaVarName <- c("tv_S" ,"ooh_S", "print_S" ,"facebook_I" ,"search_clicks_P")
set_mediaSpendName <- c("tv_S" ,"ooh_S", "print_S" ,"facebook_S" ,"search_S")
Hope it helps and happy analyzing :)
Leo
from robyn.
@Leonelsentana Thank you so much for your explanation. is it possible I set "set_mediaVarName <- c("tv_S" ,"ooh_S", "print_S" ,"facebook_S" ,"search_clicks_S") instead of set_mediaVarName <- c("tv_S" ,"ooh_S", "print_S" ,"facebook_I" ,"search_clicks_P")?What's the difference between them for the modeling result?
from robyn.
Hey! Yes it is completely possible to use spend in all channels. However, we encourage analysts to try to use impressions or clicks, or any other metric for the channel (GRPs, reach, etc.) that better correlate with the actual media exposure and do not embed pricing on it. If you only put spend the model will only use spend on it and the results will be based on spend, again remember it is always better to have KPIs that reflect in a more accurate manner the media exposure (Impressions, clicks, GRPs, etc.) Hope it helps :)
from robyn.
Thank you so much for it. Really appreciate~~
from robyn.
Related Issues (20)
- Error calling library(Robyn) HOT 2
- An error that occurs when setting hyperparameters "'x' must be numeric." HOT 5
- Install nevergrad HOT 1
- Save InputCollect and OutputCollect HOT 2
- About the response curves mean spend by channle graph legend HOT 4
- Python version Release Date HOT 2
- Robyn v3.10.4 Hyperparameters appears on Pareto Front Top Perform Model HOT 1
- Couldn't automatically create clusters: HOT 1
- Issues with Running Robyn HOT 2
- Pareto calculations : Error in serialize(data, node$con) : error writing to connection HOT 2
- Robyn trial runs have started to get very long HOT 2
- Don't appear vec_collect build from xDecompVecImmCarr in v3.10.3 HOT 2
- Model run halted while calculating clusters for model selection HOT 2
- model one-pager does not display legend HOT 3
- No numpy HOT 1
- Refresh Error - One or both dimensions exceed the maximum (50000px) HOT 2
- (reopen) robyn_allocator - What's the difference between expSpendUnitTot & optmSpendUnitTotal? HOT 2
- robyn_recreate() gives a zero coef HOT 2
- Execution halted when running robyn_refresh HOT 1
- Plotting uses huge amount of RAM, causes crash, Out of Memory Errors HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robyn.