Exercise

Fitting a Bayesian linear regression

Practice fitting a Bayesian model. This is the same model we already estimated with frequentist methods, so we'll be able to compare the parameter outputs later. The songs data is already loaded.

Instructions

100 XP
  • Create a Bayesian linear model, stan_model, that predicts song popularity from song age
  • Print a summary of the Bayesian linear model