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

Hi, 

Could someone tell me which method is correct to check multicollinearity a logistic regression model? Thanks.

1)  method 1

proc logistic data= sample;

model y(event='1') =x1 x2 x3;

run;

 

proc reg data=sample;

model  y= x1 x2 x3/vif;

run;

 

2) method 2

proc logistic data= sample;

model y(event='1') =x1 x2 x3;

output out=out_data p=pred;

run;

 

proc reg data=out_data;

model  pred= x1 x2 x3/vif;

run;

1 ACCEPTED SOLUTION

Accepted Solutions
3 REPLIES 3
PaigeMiller
Diamond | Level 26

I would vote for method 1

--
Paige Miller
sbxkoenk
SAS Super FREQ

Koen

Ksharp
Super User

None of them.

You should check CORRB option of PROC LOGISTIC to check the correlation between the estimated coefficient .

32471 - Testing assumptions in logit, probit, Poisson and other generalized linear models (sas.com)

Also calling @StatDave  @SteveDenham 

 

 

proc logistic data=sashelp.heart;
class sex bp_status;
model status=sex bp_status height weight ageatstart/corrb ;
run;

Ksharp_0-1705977632797.png

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 653 views
  • 1 like
  • 4 in conversation