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

I am trying variable selection by Lasso using GLMselect.

For the purpose of analysis, variables to include the model shoulde be selected by statistical method; Lasso,

but at the same time, I want to force to include some dummy variables in the selected model.

 

I know that Lasso in GLMselect does not have "include" option.


Does anyone know the way to force to include some valiables in Lasso variable selection?

 

  

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Tissue5454
Obsidian | Level 7

I think I should try Group Lasso grouping dummy variables as one group.


Thank you,

View solution in original post

1 REPLY 1
Tissue5454
Obsidian | Level 7

I think I should try Group Lasso grouping dummy variables as one group.


Thank you,

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 2760 views
  • 0 likes
  • 1 in conversation