Hello!
I used the following code:
proc surveyreg data= econ.zenobia1;
class admitdiagcode1 occupationcode1 maritalstatuscode1 religioncode1
pobcode1 ethnicitycode1 bookingcode1 facilitycatcode1
facilitystatcode1 emergencycode1 pregnantcode1 wardcode1;
Model lengthofstay = admitdiagcode1 ageyrs parity educationcode monthcode
Occupationcode1 maritalstatuscode1 religioncode1 pobcode1 ethnicitycode1
Bookingcode1 facilitycatcode1 facilitystatcode1 emergencycode1
Pregnantcode1 wardcode1 / solution adjRsq;
run;
I received the attached results.
AdmitDiagCode1 is my independent variable of interest. I want an estimate to be provided for the 1 value of the categorical variable (NOT the 0 value). How do I code that?
Thank you so much!
God bless, best regards, and take care,
Jadallah