Comments (3)
Hi there, you're totally right about the log-linear model, which can be specified in glmnet as family = "poisson". The reason why we haven't touched this part is that first we lacked real count data for the dev at the beginning and second how to do decomp is still quite controversial. Would you elaborate your approach to decomp a multiplicative equation?
from robyn.
I've used different approaches. One that is surely not proprietary is something like the below, written in psuedo code for clarity, happy to re-write if not clear.
yhat=predict(X)
for thisX in X:
newX=X
newX[,thisX] = 0
thisXDecomp_step0=yhat-predict(newX)
Decomps_step0[,thisX]=thisXDecomp_step0
end
now Decomps_step0 has all step0 decomps in it, but of course the total of those may not equal yhat
Decomps_step0[,psuedoPred]=sum_across_all_step0_columns
Decomps_step1=Decomps_step0
Decomps_step1[,adjFactor]=Decomps[,psuedoPred]/yhat elementwise division, here-- adjustment factor to get total to equal original prediction
_for each _step0 column in Decomps_step1, make a step_1 column = step0*adjFactor
for step0 in Decomps_Step0:
make step1 name
Decomps_step1[,step1]=Decomps[,step0]*Decomps[,adjFactor]
end
from robyn.
Thanks for sharing your experience! Providing multiplicative model is on own roadmap, as well as other interesting options like Bayesian model for better calibration, state space model for time varying coefficients etc. For the moment, an update feature to help refreshing the model regularly will be coming next.
from robyn.
Related Issues (20)
- Budget Allocator - Greater ROI with similar spend HOT 2
- URGENT - robyn_recreate() with JSON produces different model HOT 7
- Budget Allocator ROAS does not match one-pager ROAS with weibull PDF adstock HOT 2
- Error in py_get_attr_impl(x, name, silent) : AttributeError: '_DE' object has no attribute 'set_objective_weights' HOT 2
- Conversion for a particular channel given a Spend. HOT 1
- Strange error with adobe-helvetica (?) HOT 1
- Error in `mutate()`: ℹ In argument: `rsq = lares::winsorize(.data$rsq, thresh = c(0.01, 0.99))` HOT 4
- Robyn Output Error - One or both dimensions exceed the maximum (50000px)
- Robyn Output Error - One or both dimensions exceed the maximum (50000px) HOT 3
- Robyn Python API error HOT 4
- Weibull adstock graph problem HOT 3
- How to make Weibull plots more legible? HOT 1
- Difference between immediate vs. carryover in OutputCollect and OutputModels HOT 4
- '500 Internal Server Error' while accessing 'robyn_outputs' - robyn_api for python HOT 6
- Error after robyn_run() "Error in py_get_attr_impl(x, name, silent)" HOT 1
- Inquiry About Sales Incremental Analysis with Budget Changes Using Robyn HOT 1
- How to replicate the Response Curves and Mean Spends by Channel using the Weibull CDF in a one-pager format from raw data
- Robyn Python API - HOT 9
- Error in nevergrad_hp[[co]] <- optimizer$ask() : attempt to select less than one element in integerOneIndex
- Effect of trend,season and all the prophet decomposition is 0 HOT 1
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.