BaşlayınÜcretsiz Başlayın

Calculate Adjusted Scales

It's important to understand how rstanarm calculates adjusted scales for prior distributions, as priors can have a large impact on our estimates if not used in an appropriate manner. Calculate what the adjusted scales should be using the already loaded songs data.

Bu egzersiz

Bayesian Regression Modeling with rstanarm

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Calculate the adjusted scale of the intercept.
  • Calculate the adjusted scale of the song_age.
  • What would be the adjusted scale of valence if it were in the model?

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Calculate the adjusted scale for the intercept
___ * sd(songs$___)

# Calculate the adjusted scale for `song_age`
(___ / sd(songs$___)) * sd(songs$___)

# Calculate the adjusted scale for `valence`
(___ / sd(songs$___)) * sd(songs$___)
Kodu Düzenle ve Çalıştır