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

Altering the Estimation

Now let's alter the estimation options so that we can be prepared to resolve errors that may arise. It's important for these errors to be resolved if they come up so that we can be sure we are making valid inferences. The songs data is already loaded.

Bu egzersiz

Bayesian Regression Modeling with rstanarm

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

Egzersiz talimatları

  • Estimate two models predicting popularity from song_age
  • In the first model, set adapt_delta to 0.99
  • In the second model, set the max_treedepth to 15
  • View a summary of each model

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Estimate the model with a new `adapt_delta`
adapt_model <- ___(popularity ~ song_age, data = songs,
  ___ = list(___ = ___))

# View summary
___(adapt_model)

# Estimate the model with a new `max_treedepth`
tree_model <- ___(popularity ~ song_age, data = songs,
  ___ = list(___ = ___))

# View summary
___(tree_model)
Kodu Düzenle ve Çalıştır