НачатьНачать бесплатно

Creating credible intervals

Practice creating credible intervals. Credible intervals allow us to make inferences about the probability of a parameter taking a given value. This is how we determine if a parameter is meaningful when estimated with Bayesian methods. The Bayesian model, stan_model, is already created for you.

Это упражнение является частью курса

Bayesian Regression Modeling with rstanarm

Посмотреть курс

Инструкции к упражнению

  • Create 90% credible intervals for the parameters in stan_model
  • Create 95% credible intervals for the parameters in stan_model
  • Create 80% credible intervals for the parameters in stan_model

Интерактивное практическое упражнение

Попробуйте выполнить это упражнение, дополнив этот пример кода.

# Create the 90% credible intervals
___(stan_model)

# Create the 95% credible intervals
___(stan_model, ___ = ___)

# Create the 80% credible intervals
___(stan_model, ___ = ___)
Редактировать и запускать код