I am trying to specify model selection based on AICC but I get error in the following statement:
proc logistic descending data=aim2bx;
class ut (ref= '1') drug / param = ref;
model ut= drug age/ link = glogit SELECTION = FORWARD (select= AICC);
run;
Maybe you could try to switch to PROC HPLOGISTIC, which is high-performance statistical procedure that fits logistic regression models for binary, binomial, and multinomial data on the SAS appliance.
The SELECTION statement allow the use of AICC as a selection criterion:
proc hplogistic data=aim2bx ;
class ut (ref= '1') drug / param = ref;
model ut= drug age/ link = glogit;
selection method= forward (select= AICC);
run;
Thank you! The statement output parameter estimates only, would it be possible to output the odds ratio?
The LOGISTIC procedure offers a wide variety of postfitting analyses, such as contrasts, estimates, tests of model effects, least squares means, and odds ratios. PROC HPLOGISTIC is limited in postfitting functionality, since with large data sets the focus is primarily on model fitting and scoring.
I would suggest that you use it for model selection and then run a PROC LOGISTIC on the select model to get OR.
best,
Thank you this is very helpful!
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.