r - Aliased coefficients in the model using vif on linear model -
coefficients: (4 not defined because of singularities) estimate std. error t value pr(>|t|) (intercept) 3.507e+01 1.419e+01 2.471 0.013521 * max..cpc -1.201e+00 1.336e-01 -8.987 < 2e-16 *** impressions 8.906e-02 5.536e-02 1.609 0.107783 interactions 6.071e-01 5.889e-01 1.031 0.302700 interaction.rate 1.575e-02 6.147e-02 0.256 0.797735 avg..cost 2.507e-01 1.429e-01 1.754 0.079491 . cost -3.801e-02 2.547e-02 -1.492 0.135775 quality.score 2.264e-02 1.955e-01 0.116 0.907840 first.page.cpc -4.173e-02 5.023e-02 -0.831 0.406168 top.of.page.cpc 2.588e-02 3.097e-02 0.836 0.403502 first.position.cpc 2.703e-02 1.639e-02 1.649 0.099230 . clicks na na na na ctr na na na na avg..cpc na na na na avg..cpm -4.481e-04 5.211e-04 -0.860 0.389896 avg..position -4.421e-01 3.279e-01 -1.348 0.177765 conversions -2.106e+04 6.960e+04 -0.303 0.762260 cost...conv. -1.141e+03 3.799e+03 -0.300 0.763920 conv..rate 7.093e+01 2.743e+01 2.586 0.009755 ** all.conv. -1.614e+01 1.452e+01 -1.111 0.266664 cost...all.conv. -1.033e+00 1.280e+00 -0.806 0.420088 all.conv..rate 2.654e-01 4.963e-01 0.535 0.592841 cross.device.conv. na na na na
i getting aliased coefficient error when running vif on model.there 4 variables showing me nas though datatype either int or dbl.also please note have not created dummies of these 4 variables.i converted them numeric incase had "%" or "," in values chr dbl.how should fix aliased coefficient error problem in scenario because not able carry out further steps.please suggest.
Comments
Post a Comment