Skip to main content

Bayesian Modeling with RJAGS

In this course, you'll learn how to implement more advanced Bayesian models using RJAGS.

Start Course for Free
4 Hours15 Videos58 Exercises6,721 Learners

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies


Course Description

The Bayesian approach to statistics and machine learning is logical, flexible, and intuitive. In this course, you will engineer and analyze a family of foundational, generalizable Bayesian models. These range in scope from fundamental one-parameter models to intermediate multivariate & generalized linear regression models. The popularity of such Bayesian models has grown along with the availability of computing resources required for their implementation. You will utilize one of these resources - the rjags package in R. Combining the power of R with the JAGS (Just Another Gibbs Sampler) engine, rjags provides a framework for Bayesian modeling, inference, and prediction.
  1. 1

    Introduction to Bayesian Modeling

    Free

    Bayesian models combine prior insights with insights from observed data to form updated, posterior insights about a parameter. In this chapter, you will review these Bayesian concepts in the context of the foundational Beta-Binomial model for a proportion parameter. You will also learn how to use the rjags package to define, compile, and simulate this model in R.

    Play Chapter Now
    The prior model
    50 xp
    Simulating a Beta prior
    100 xp
    Comparing & contrasting Beta priors
    100 xp
    Which prior?
    50 xp
    Data & the likelihood
    50 xp
    Simulating the dependence of X on p
    100 xp
    Approximating the likelihood function
    100 xp
    Interpreting the likelihood function
    50 xp
    The posterior model
    50 xp
    Define, compile, and simulate
    100 xp
    Updating the posterior
    100 xp
    Influence of the prior & data on the posterior
    50 xp
  2. 2

    Bayesian Models & Markov Chains

    The two-parameter Normal-Normal Bayesian model provides a simple foundation for Normal regression models. In this chapter, you will engineer the Normal-Normal and define, compile, and simulate this model using rjags. You will also explore the magic of the Markov chain mechanics behind rjags simulation.

    Play Chapter Now
  3. 3

    Bayesian Inference & Prediction

    In this chapter, you will extend the Normal-Normal model to a simple Bayesian regression model. Within this context, you will explore how to use rjags simulation output to conduct posterior inference. Specifically, you will construct posterior estimates of regression parameters using posterior means & credible intervals, you will test hypotheses using posterior probabilities, and you will construct posterior predictive distributions for new observations.

    Play Chapter Now

Datasets

Sleep study data

Collaborators

Chester Ismay
Nick Solomon
Eunkyung Park
Alicia Johnson HeadshotAlicia Johnson

Associate Professor, Macalester College

Professor Johnson’s primary research interest is in Markov chain Monte Carlo (MCMC) methods. The focus of her research has been on the convergence rates of chains corresponding to MCMC algorithms on general state spaces. In addition, she enjoys the unlimited applications of statistics. As a consultant for a division of the Centers for Disease Control and Prevention and the University of Minnesota, she has collaborated on projects in entomology, forestry, primatology, public health, and others. In other words, her work in statistics allows her to keep learning a little about a lot!
See More

What do other learners have to say?

Join over 11 million learners and start Bayesian Modeling with RJAGS today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.