BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Davejones
Obsidian | Level 7

Hi Experts,

 

Proc GLMselect model is based on AIC. however, it occasionally picks up non-significant variable in the final Parameter Estimates table. Is a better way to improve the "stepwise" selection method instead of pre-selecting the "p<0.05" variables? 

 

Thanks

1 ACCEPTED SOLUTION
4 REPLIES 4
sbxkoenk
SAS Super FREQ

Hello,

 

PROC GLMSELECT will occasionally select an input variable whose parameter estimate has a p-value above 5%.
Surely this is not a bad thing at all. If it improves the overall AIC(C), that's OK anyway.


In my opinion, there is no way to avoid this. You can only play (i.e. trial-and-error) with

Criteria Used in Model Selection Methods (the CHOOSE=, SELECT=, and STOP= options in the MODEL).

One or more settings will probably produce a model of which all parameters are significant according to the 5% significance level.

 

SAS/STAT® 15.3 User's Guide
The GLMSELECT Procedure
Criteria Used in Model Selection Methods

https://go.documentation.sas.com/doc/en/statug/15.3/statug_glmselect_details15.htm

 

Good luck,

Koen

Davejones
Obsidian | Level 7

Thanks Koen for your help!

As p>n, tried to use both Lasso and elasticnet, and got inconsistent outputs too.

sbxkoenk
SAS Super FREQ

Hello,

 

If the number of variables / features is higher than the number of observations / samples, the data are considered high-dimensional and require dimension reduction approaches.

 

Koen

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 460 views
  • 0 likes
  • 2 in conversation