BookmarkSubscribeRSS Feed
lillymaginta
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);
run;
4 REPLIES 4
ed_sas_member
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);
run;
lillymaginta
Lapis Lazuli | Level 10

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

ed_sas_member
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.

 

best,

lillymaginta
Lapis Lazuli | Level 10

Thank you this is very helpful! 

sas-innovate-2024.png

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
  • 625 views
  • 5 likes
  • 2 in conversation