GithubHelp home page GithubHelp logo

Comments (4)

gufengzhou avatar gufengzhou commented on May 2, 2024 2

Hey, 14 rows are bit toooo sparse :) There's a rule of thumb about the n * p relationship of your input data dimensions (n = num of rows, p = num of columns), which is n should be about multiplier 7-10 of p. For example if you have 10 variables, rule of thumb would be to have 70-100 rows, and indeed we recommend to go for multiplier 10. With only 14 observations, I don't believe any technique can give you meaningful results. Therefore, I'd recommend you to break the time unit down to at least weekly, so that you'll have 14 * 7 = 98 rows at least.
Regarding avoiding 0 coef: Robyn uses ridge regression that is reducing overfitting by shrinking beta coefs. Predictors that have very weak correlation to your dependent variable will probably be reduced to 0. What we recommend is:

  1. increase hyperparameter ranges for 0-coef channels on theta (max.reco. c(0, 0.9) ) and gamma (max.reco. c(0.1, 1) ) to give Robyn more freedom
  2. split media into sub-channels, and/or aggregate similar channels, and/or introduce other media
  3. increase trials to get more samples

However, with only 14 rows I am afraid none of these will help. No data, no magic;)

from robyn.

gufengzhou avatar gufengzhou commented on May 2, 2024

Hi, are you saying when using our simulated data, the waterfall plot looks normal. but with your own data it doesn't? this definitely sounds strange. How do you set hyperparameters? (set_hyperBoundLocal)

from robyn.

wenyanyy avatar wenyanyy commented on May 2, 2024

Hi,
you're right. When I used your simulated data, the results looks perfect. However, when i used my own data, it looks very strange as the attachment you saw. I didn't change the hyperparameters bounds. my data is monthly data so there is only 14 rows. do you think it is a reason which result a very high intercept? Also for the result ,we don't want to see any variables that have 0 coefficient. Do you think how we can avoid having 0 coefficient for any media channel spending(variables)? Thank you for your time and looking forward for your reply.

from robyn.

wenyanyy avatar wenyanyy commented on May 2, 2024

from robyn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.