Hi, I was trying quantile regression with Stata 12 qreg2 (or xi: qreg2) command. My dependent variable is ordinal with a value range 1-7 and some independent variables are continuous (say income, age) and some others are ordinal (say sex, marital status and job status). While segregating quantiles (say n=4), Stata returned only three quantiles (n=1,3 and 4). 1st quantile took the observations with values 1-5, 3rd quantile took the observations with value 6 and the 4th took the observations with value 7. For unknown reason, there was no quantile (n=2). Moreover, the estimation was faulty as the 3rd and 4th quantile had no variation in the value of dependent variable.
Somebody advised me to use R but I am not conversant with R yet. Could anybody advise if I can do quantile regression with ordinal variables with Stata 12? If yes, how? Thanks n advance for an immediate advice.
Somebody advised me to use R but I am not conversant with R yet. Could anybody advise if I can do quantile regression with ordinal variables with Stata 12? If yes, how? Thanks n advance for an immediate advice.
Comment