i2tutorials

Machine learning- Multiple Linear Regression

Multiple Linear Regression

Multiple linear regression in short can also be termed as MLR, simply it is referred as multiple regression. It is a statistical technique which uses various explanatory variables to predict the outcome of a response variable (dependent variable). Multiple linear regression (MLR) is used to express the linear relationship between the independent variables (explanatory variable) and dependent variable (Response variable).

 

Multiple linear Regression can be calculated by using the following metric

 

where,

for i=n observations

yi​=dependent variable

xi​=explanatory variables

β0​=y-intercept (constant term)

βp=slope coefficients for each explanatory variable

ϵ=the model’s error term (residual)​

Multiple linear regression 3 (i2tutorials)

 

The multiple regression model is based on some assumptions which are given below:

 

Coefficient of Determination

The coefficient of determination is also termed as R-squared is a statistical metric which is used to calculate the variation in outcome can be determined and explained by the variation in the independent variables.

 

R2 always increases as a greater number of predictors are added to the Multi linear regression model even though the predictors may not be related to the outcome variable.

 

R2 itself cannot be used to identify which predictors should be included in a model and which cannot be included.

 

Range of R2 lies in between 0 and 1, where 0 indicates the outcome which cannot be predicted by any of the independent variables and 1 indicates the outcome which can be predicted without error from the independent variables.

 

When determining the results of a multiple regression, beta coefficients are valid only while holding all other variables constant which means all variables are equal. The multiple regression analysis output can be displayed horizontally as an equation, or vertically in table form.

 

The Difference Between Linear and Multiple Regression

 

Exit mobile version