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

The SAS documentation state that for SAS/STAT releases before SAS/STAT 14.1 the BINWIDTH is 0.002 which I assume results in 500 bins.  I typically build Credit Risk logistic models without binning continuous independent variables.

 

For SAS/STAT versions starting at 14.1 or higher and there are fewer than 5 million observations then the default BINWIDTH=0 which means that no binning is done.

 

Am I interpreting correctly?

Jonas V. Bilenas
1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

> I typically build Credit Risk logistic models without binning continuous independent variables.

PROC LOGISTIC does not automatically bin continuous independent variables, and it never has. The doc is talking about the estimation of the association statistics.  The binning takes place in the interval of predicted probabilities and is used to quickly estimate some statistics that have to do with goodness of fit.

 

Using the BINWIDTH= option only affects the concordance and related statistics in the Association table. It doesn't affect parameter estimates and other model-related estimates.

 

View solution in original post

2 REPLIES 2
ballardw
Super User

If you are referring to

if you have a binary response and fewer than 5,000,000 observations, the default is BINWIDTH=0; this means that no binning is performed and the exact values of the statistics are computed using the trapezoidal area described in the section ROC Computations. This method is a bit slower and might require more memory than the binning approach.

Then yes, no binning is done UNLESS you request it. The Default is 0. You can set a bin width to force binning if needed.

 

Part of the note is there to provide documentation for those folks that run an old program on existing data and get a different result that could occur from the change of the DEFAULT Bidwidth setting, i.e. not specified in the model.

 

Rick_SAS
SAS Super FREQ

> I typically build Credit Risk logistic models without binning continuous independent variables.

PROC LOGISTIC does not automatically bin continuous independent variables, and it never has. The doc is talking about the estimation of the association statistics.  The binning takes place in the interval of predicted probabilities and is used to quickly estimate some statistics that have to do with goodness of fit.

 

Using the BINWIDTH= option only affects the concordance and related statistics in the Association table. It doesn't affect parameter estimates and other model-related estimates.

 

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
  • 2 replies
  • 706 views
  • 6 likes
  • 3 in conversation