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

Determine Prior Distributions

Now let's explore the prior distributions for a Bayesian model, so that we can understand how rstanarm handles priors. Priors can have a large impact on our model, so it's important to know which prior distributions were used in an estimated model. The songs dataset is already loaded.

Bu egzersiz

Bayesian Regression Modeling with rstanarm

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

Egzersiz talimatları

  • Estimate a model predicting popularity from song_age
  • Print a summary of the prior distributions to the screen

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Estimate the model
stan_model <- ___(___ ~ ___, data = songs)

# Print a summary of the prior distributions
___(stan_model)
Kodu Düzenle ve Çalıştır