Bayesian linear regression

In Chapter 3, More Than Just One Predictor – MLR, we have seen that the general Multiple Linear Regression (MLR) model for n variables is of the form:

Here, x1, x2,.. xn are the n predictors and y is the only response variable. The coefficients β measure the change in the y value associated with a change of xi, keeping all the other variables constant.

In order to estimate β, we minimized the following term:

The general linear regression model can be expressed using a condensed formulation:

Here, β =[β0, β1, β2

Get Regression Analysis with R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.