I am trying to fit regression model using r for salary on diffrent skills.But model returns regression coefficients as NA for some skills.This is due to high correlation among skills.But I still want to include them in model.Skill score values are between 4 to 8 for all skills. How to solve the problem of NA coefficients in r? Is it appropriate method of analysis?
1 Answer
$\begingroup$
$\endgroup$
In very general terms, the easiest ways to get rid of multicollinearity is to try to:
- Drop one of the highly correlated variables that you think creates the problem
- You may want to transform the two correlated skills into a ratio and use that instead
- Collect more data and see if the correlation persists
ht1
is height measured in meters,ht2
is height measured in inches andht3
is height in Angstrom units. Would it make sense for me to require all these height variables in the model? $\endgroup$