R - dealing with new aliased coefficient (“NA” coefficient) in categorical variables for VIF
- 阅读更多 关于 R - dealing with new aliased coefficient (“NA” coefficient) in categorical variables for VIF
问题 Currently, I want to check multi-collinearity among different categorical variables. FYI, I'm using 2 independent variables - category and division , and 1 independent variable - resolution_time_second as an example here. First, the error message below occurred to me when I tried to perform VIF - Variance Inflation Factor (using R car::vif ) on the glm() model. Error in vif.default(fit) : there are aliased coefficients in the model Then, I found out that I have encountered into so-called