I am trying to run the code below for SAS 9.4.
Does anyone see any errors that would prevent me for setting reference values as shown?
proc logistic data=XXX;
by female;
class Health_Lit (ref='0') InsuranceType (ref='2') / order=internal;
model Medadh_c3 (descending) = PHQ8 GAD7 BL_PSS CIRS Health_Lit InsuranceType / link=glogit;
run;
Thank you,
LG
No, but since you've specified the ORDER option, I wonder if you have a formatted value and you're using the internal value.
A small note from the documentation:
Specify the formatted value of the variable if a format is assigned.
Otherwise, please post your code and error from the log, as well as a PROC CONTENTS from the input dataset.
proc logistic data=XXX descending ; by female; class Health_Lit (ref='0') InsuranceType (ref='2') / order=internal; model Medadh_c3 = PHQ8 GAD7 BL_PSS CIRS Health_Lit InsuranceType / link=glogit; run;
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!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.