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.
Это упражнение является частью курса
Bayesian Regression Modeling with rstanarm
Инструкции к упражнению
- Estimate a model predicting
popularityfromsong_age - Print a summary of the prior distributions to the screen
Интерактивное практическое упражнение
Попробуйте выполнить это упражнение, дополнив этот пример кода.
# Estimate the model
stan_model <- ___(___ ~ ___, data = songs)
# Print a summary of the prior distributions
___(stan_model)