Session Ready
Exercise

Popularity for Observed Songs

Let's practice making predictions about song popularity from the Spotify songs data. This will get us used to the syntax we will use for making predictions for new data that was not observed.

Instructions
100 XP
  • Estimate a model predicting popularity from song_age and artist_name
  • Print a summary of the estimated model
  • Create posterior distributions of the predicted scores for each song
  • Print the first 10 predicted scores for the first 5 songs