regression

Learn Stan with brms, Part II

In the first post of this series, we focused on a single-level intercept-only model. In this post we expand the model to include a single continuous predictor. Along the way, we review matrix notation, model matrices, and a new class of distribution functions for Stan.