Bayesian Regression: Theory & Practice

Basics: Bayesian Data Analysis, Wrangling, Plotting, and Linear Regression

Author

Michael Franke

This chapter covers treatment of categorical predictors in linear regression, using contrast coding. We learn how to set contrasts, interpret results and use samples to retrieve information on contrasts that we did not encode in the contrast scheme.

There is a theoretical tutorial on the topic, as well as an tutorial with practical exercises.

There is also a sheet with additional exercises (simple linear regression with metric and categorical variables).