# this data file is supplied with gretl open engel.gdt # specify some quantiles matrix tau = {.05, .25, .5, .75, .95} # use levels of variables QM1 <- quantreg tau foodexp 0 income --intervals # use log-log specification, with two outliers removed logs foodexp income smpl obs!=105 && obs!=138 --restrict QM2 <- quantreg tau l_foodexp 0 l_income --intervals