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

Hello - what does one use for R-square in logistic regression...is it AUC?

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User

R-square is similar to R-square in PROC REG. but it is not AUC (c) statistic

 

proc logistic data=sashelp.class;
model sex=weight height/lackfit rsquare;
run;

 From ballardw:

There are a number of different model fit statistics available. It also depends on exactly which procedure as several do logistic regression and the nature of your data: Rsquare, -2 Log Likelihood, AIC, SC, Hosmer-Lemeshow tests are some available in Proc Logistic for tests/metrics. Look at the MODEL options.

View solution in original post

3 REPLIES 3
Seth
Calcite | Level 5

Hello, is there an R-square in logistic regression? Is this the best goodness of fit or which goodness of fit is better to use?

ballardw
Super User

There are a number of different model fit statistics available. It also depends on exactly which procedure as several do logistic regression and the nature of your data: Rsquare -2 Log Likelihood, AIC SC Homer-Lemeshow test are some available in Proc Logistic for tests/metrics. Look at the MODEL options. 

Ksharp
Super User

R-square is similar to R-square in PROC REG. but it is not AUC (c) statistic

 

proc logistic data=sashelp.class;
model sex=weight height/lackfit rsquare;
run;

 From ballardw:

There are a number of different model fit statistics available. It also depends on exactly which procedure as several do logistic regression and the nature of your data: Rsquare, -2 Log Likelihood, AIC, SC, Hosmer-Lemeshow tests are some available in Proc Logistic for tests/metrics. Look at the MODEL options.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 3 replies
  • 17936 views
  • 0 likes
  • 3 in conversation