Multiple Linear Regression in R Programming

Multiple Linear Regression:

Multiple Linear Regression is an extension of the linear regression technique. In Linear Regression value of one unknown variable is predicted with one known variable. Extending the capability of linear regression, if the value of an unknown variable is predicted using values of two or more unknown variables then it is called Multiple Regression Analysis.

Multiple Linear Regression – Mathematical Formula:

In Multiple Regression, there is more than one predictor variable and one response variable, the relation of the variable is shown below:

Y = a + b1x1 + b2x2 + ……. bnxn, where Y is response, a…bn are coefficients and X1….. Xn are predictor variables.

Multiple Regression in R Programming:

Step-1: Load the required data

Step-2: Build Model using lm() function

Step-3: Predicting the output