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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1373 views
  • 5 likes
  • 2 in conversation