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
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.