June 2022
Beginner
528 pages
10h 39m
English
The project for this chapter is building an R package for Bayesian linear regression. The model we will work with is somewhat a toy example of what we could imagine we could build an R package for, and the goal is not to develop all the bells and whistles of Bayesian linear regression. We will just build enough to see the various aspects that go into building a real R package.
In linear regression, we assume that we have predictor variables x and target variables y where y = w0 + w1x + ϵ where ϵ ∼ N(0, σ2). That is, we have a line with intercept ...