Session Ready
Exercise

Altering chains

Let's practice changing the number and length of chains so that we can get a posterior distribution of different sizes. By changing the size of the posterior, we can change the number of samples used for the posterior summaries, and impact the estimation time. The songs data is already loaded.

Instructions
100 XP
  • For all models, predict popularity from the song_age.
  • Estimate a model with 3 chains, each 1000 iterations long, with the first 500 discarded
  • Estimate a model with 2 chains, each 100 iterations long, discarding the first 50
  • Print a summary of each model