Machine Learning - linear regression supplement - Practice

Issues that may be encountered in linear regression analysis

 

Selected argument time to pay attention: remove multicollinearity interference

 What is multicollinearity interference?

Strongly correlated variables

Multicollinearity

Avoid two variables enter into a strong correlation model, the solution is to keep only one.

Eliminate multicollinearity method:

If GVIF> 10 needs to be adjusted

 

How to pick an argument input to the model

Input arguments are mostly good, can improve the accuracy of the regression model. On the other hand, the argument is also good for the construction of input, you can easily understand business colleagues.

Weigh how much of the standard arguments:

With ols_all_possible olsrr packet () function

 

The above figures are calculated after you can create a linear regression model

 

Analysis Model

 

 

 

Guess you like

Origin www.cnblogs.com/Grayling/p/10990739.html