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

Hi,

 

I have two questions about the procedure proc logistic:

 

1) When is recommended to use crossing effects?, I refer to the case of including the product of two input vars( var1*var2) in the model. Example:

proc logistic data=test outmodel=modelo2 plots(only)=roc;
class cod_posicion nivel_sal rango_edad rango_ant rango_eval;
model baja = rango_edad rango_ant nivel_sal rango_eval cod_posicion
			rango_edad*rango_ant rango_edad*nivel_sal rango_edad*rango_ant;
quit;

I think is recommended when there is a correlation between the varis, isn't it?

 

2) Haw can I do a regularizarion in logistoc regression usind proc logistic. I mean regularizaton methods like 

Ridge, Lasso y Elastic Net.

 

Any advice will be greatly appreciated

 

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User

1) when the combination of these two variable are significant .

E.X.

sex=F is significant for Y 

age=20 is significant for Y 

sex=F and age=20 is also significant for Y 

 

 

2) PROC HPGENSELECT 

View solution in original post

1 REPLY 1
Ksharp
Super User

1) when the combination of these two variable are significant .

E.X.

sex=F is significant for Y 

age=20 is significant for Y 

sex=F and age=20 is also significant for Y 

 

 

2) PROC HPGENSELECT 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1201 views
  • 1 like
  • 2 in conversation