Multiple linear regression

We've seen so far in this chapter how to build a regression line with one independent variable. However, it is often desirable to build a model with several independent variables. This is called multiple linear regression.

Each independent variable is going to need its own coefficient. Rather than working our way through the alphabet to represent each one, let's designate a new variable β, pronounced "beta", to hold all of our coefficients:

Multiple linear regression

This model is equivalent to our bivariate linear regression model, where Multiple linear regression and so long ...

Get Clojure for Data Science 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.