will notLinear Regression Validation

# Linear Regression Validation

## Multicollinearity

### What is Multicollinearity?

Multicollinearity happened when having a high correlation between two or more predictors. As a result, the standard error of the coefficients will be large and not correct. As a result, the coefficients will notbe accurate. In some extreme cases with a perfect correlation between the predictors, you may not be able to calculate the coefficients. Despise the mentioned problems the predicated Y will be correct. If you mainly care for the predicated Y, you should be less concern but if you want to know how each predictor influence the dependent variable the multicollinearity may become a problem. For example, when having a high correlation between X1 and X2, you may get one of the following equation based on only a slightly different set of data:

Y=1X1+1X2+3X3
Y=0.1X1+0.9X2+3X3
Y=1.2X1+0.2X2+3X3

Since the high correlation, the value of X1 and X2 will be similar hence the predicted Y will be similar in any of the above options.

### how to find multicollinearity?

You may think of just looking at the correlation matrix of the predictors, in this way you may identify a high correlation between two dependent variables but the multicollinearity may be caused by a connection of more than two variables, such as 3=2X2+1X1. A simple way to find the multicollinearity is the Variance Inflation Factor (VIF) for each predictor. You should run the multiple regression for each predictor as a dependent variable based on the rest independent variables.
VIFj = 1 /(1 -R2j).

Example
Y=b0+b1X1+b2X2+b3X3. Calculate the Rj values for the following regression models:

X1=b0+b2X2+b3X3.
X2=b0+b1X1+b3X3.
X3=b0+b1X1+b2X2.

### What is big VIF?

There is no clear-cut about the correct VIF threshold. If it is less than 2.5, you do not have a problem. If it is between 2.5 and 5, you should look into it, but probably it is not a problem. When the VIF value is greater than 5, you should probably remove the problematic variable from the model, and if it is greater than 10, you definitely need to act.

### Do not worry about the following cases:

• If you built the collinearity in the model like the following examples: X1X2 or X12.
• When the problematic variable is a control variable, and the non-control variables do not have high multicollinearity.
• The model contains a dummy variable with more than two categories, and the reference category's proportion is small (the category that does not get a dummy variable).

Since in most cases, the value of the reference is zero, hence only one of the dummy variables will be one, so you can predict any dummy variable if you know the rest dummy variables.