Programming the statistical procedures from SAS

Question about parameters in a logistic regression

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 97
Accepted Solution

Question about parameters in a logistic regression

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


Accepted Solutions
Solution
‎05-28-2017 03:39 AM
Super User
Posts: 9,769

Re: Question about parameters in a logistic regression

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


All Replies
Solution
‎05-28-2017 03:39 AM
Super User
Posts: 9,769

Re: Question about parameters in a logistic regression

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 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 139 views
  • 1 like
  • 2 in conversation