Exercise

R-squared Posterior

First, let's get a posterior distribution of the R-squared statistic so we can make inferences about how predictive our model is likely to be. The stan_model using the Spotify data is already loaded.

Instructions

100 XP
  • Calculate the posterior distribution of the R-squared statistic
  • Create a histogram of the R-squared distribution