r - NA's produced when implementing dummy variables -
i have model contains 6 variables 5 levels each. have included 4 dummies each variable in model. however, when ask r fit linear model:
model1 <- lm(q1hev ~ detour15 + detour10 + detour5 + detour0 + fast20 + fast15 + fast10 + fast5 + charge6 + charge4 + charge2 + charge1 + range150 + range250 + range500 + range750 + costs5 + costs25 + costs40 + costs50 + price45 + price30 + price15 + price10, data=final_data)
i na's dummies of range, cost , price, message: "coefficients: (10 not defined because of singularities)"
i have read might due multicollinearity, have done checks , found no indication of multicollinearity.
as need coefficients these dummies well, know how solve or circumvent problem?
any appreciated!
Comments
Post a Comment