1. Learn
  2. /
  3. Courses
  4. /
  5. Bayesian Regression Modeling with rstanarm

Connected

Exercise

Specifying informative priors

Now let's specify a custom prior so that we can have more control over our model. The songs dataset is already loaded.

Instructions

100 XP
  • Predict popularity from song_age
  • Specify a normal prior distribution for the predictor with a mean of 20 and standard deviation of 0.1
  • Print the prior summary to the screen