I used data HousePrices from package AER for running quantile regression. first i created dummies for categorical variables. then i have run basic ols regression. this is my regression:
myreg1 <- lm(price ~ lotsize + lotsize^2 + bed + bath + store + dummydrive +
dummyrecreate + dummybase+ dummygas + dummyair + garage + dummypref)
then
summary(myreg1)
and plotted.but when i tried to do quantile regression i did not get an error but got a warning message when used summary(myqreg1)
command.
myqreg1<-rq(price ~ lotsize + lotsize^2 + bed + bath + store + dummydrive +
dummyrecreate + dummybase+ dummygas + dummyair + garage + dummypref)
summary(myqreg1)
then i included tau my regression:
qfit2 <- rq(price ~ lotsize + lotsize^2 + bed + bath + store + dummydrive +
dummyrecreate + dummybase+ dummygas + dummyair + garage + dummypref,
tau=seq(0.1,0.9,by=0.1))
again got a warning message but now 4 warnings:
i have searched a lot on the internet and could not find the answer.