  Interactive Course

# Bayesian Regression Modeling with rstanarm

Learn how to leverage Bayesian estimation methods to make better inferences about linear regression models.

• 4 hours
• 15 Videos
• 45 Exercises
• 2,222 Participants
• 3,400 XP

### Loved by learners at thousands of top companies:      ### Course Description

Bayesian estimation offers a flexible alternative to modeling techniques where the inferences depend on p-values. In this course, you’ll learn how to estimate linear regression models using Bayesian methods and the rstanarm package. You’ll be introduced to prior distributions, posterior predictive model checking, and model comparisons within the Bayesian framework. You’ll also learn how to use your estimated model to make predictions for new data.

1. 1

#### Introduction to Bayesian Linear Models

Free

A review of frequentist regression using lm(), an introduction to Bayesian regression using stan_glm(), and a comparison of the respective outputs.

2. #### Assessing Model Fit

In this chapter, we'll learn how to determine if our estimated model fits our data and how to compare competing models.

3. #### Modifying a Bayesian Model

Learn how to modify your Bayesian model including changing the number and length of chains, changing prior distributions, and adding predictors.

4. #### Presenting and Using a Bayesian Regression

In this chapter, we'll learn how to use the estimated model to create visualizations of your model and make predictions for new data.

1. 1

#### Introduction to Bayesian Linear Models

Free

A review of frequentist regression using lm(), an introduction to Bayesian regression using stan_glm(), and a comparison of the respective outputs.

2. #### Modifying a Bayesian Model

Learn how to modify your Bayesian model including changing the number and length of chains, changing prior distributions, and adding predictors.

3. #### Assessing Model Fit

In this chapter, we'll learn how to determine if our estimated model fits our data and how to compare competing models.

4. #### Presenting and Using a Bayesian Regression

In this chapter, we'll learn how to use the estimated model to create visualizations of your model and make predictions for new data.

### What do other learners have to say? “I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group “DataCamp is the top resource I recommend for learning data science.”

Louis Maiden “DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA ##### Jake Thompson

Psychometrician, ATLAS, University of Kansas

Jake is a Psychometrician at the Center for Accessible Teaching, Learning, and Assessment Systems (ATLAS) and received his PhD in Educational Psychology and Research. His interests are include educational assessment, diagnostic classification modeling, and Bayesian inference. Follow him at @wjakethompson on Twitter or on his blog.

See More
##### Collaborators
• Chester Ismay

• David Campos

• Shon Inouye