Hi
I want to do a likelihood ratio test for a quantile regression model. I got the model; log_bloodvalue=gender+smoker+bmi and want to test if smoker and bmi are redundant.
My code is;
qreg log_BV smoker gender bmi
estimates store myfullmodel
regress log_BV smoker
lrtest myfullmodel
and Stata says;
. lrtest myfullmodel
myfullmodel does not contain scalar e(ll)
r(498);
Could someone, please, help me with the code?
I want to do a likelihood ratio test for a quantile regression model. I got the model; log_bloodvalue=gender+smoker+bmi and want to test if smoker and bmi are redundant.
My code is;
qreg log_BV smoker gender bmi
estimates store myfullmodel
regress log_BV smoker
lrtest myfullmodel
and Stata says;
. lrtest myfullmodel
myfullmodel does not contain scalar e(ll)
r(498);
Could someone, please, help me with the code?
Comment