BookmarkSubscribeRSS Feed
Lapis Lazuli | Level 10

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);
Meteorite | Level 14

Hi @lillymaginta 


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);
Lapis Lazuli | Level 10

Thank you! The statement output parameter estimates only, would it be possible to output the odds ratio? 

Meteorite | Level 14

Hi @lillymaginta 


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.



Lapis Lazuli | Level 10

Thank you this is very helpful! 


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.


Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 2 in conversation