I want to specify a number of parameter restrictions in my quantile regression, like homogeneity and symmetry. I have tried the srestrict but it doesn't work. Anyone got any tips?
You might post the code you used for diagnosis. Several Procs restrict some options when others are specified and you may have run into one of those. We'd be completely guessing if that is the case.
First I do an AIDS-regression like this one:
proc syslin itsur data=Fish_aids;
model share_fish = price_fish_ind price_kod_ind lreal_exp;
srestrict Aids_rw_f.price_fish_ind + Aids_rw_f.price_kod_ind=0;
run;
My demand system consists only of two models, the other being model share_kod = price_kod_ind price_fish_ind lreal_exp;
I then want to do the AIDS-model for quantiles. My quantile regression is:
proc quantreg data=Fish_aids;
model share_fish = price_fish_ind_rel price_kod_ind_rel lreal_exp
/quantile= 0.10 0.25 0.5 0.75 0.9
plot=quantplot;
run;
However, I do not know how to impose the parameter restrictions which are necessary for the AIDS-model to hold; symmetry, adding-up and homogeneity on my quantile regression.
I don't see a way to accomplish this in quantreg, and my digging into the documentation doesn't seem to point me in any direction that seems helpful.
Steve Denham
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.