Operations Research topics: SAS/OR,
SAS Optimization, and SAS Simulation Studio

Need some help

Reply
N/A
Posts: 0

Need some help

I have some data with historical binary target and it's risk driver. How can I in sas segment risk driver onto groups with (almost) homogeneous values of my target. (The mean value of the target within a segment should be around it's actual values, but segments should be differ from each other)
Trusted Advisor
Posts: 2,114

Re: Need some help

It seems like you could use something like the Hosmer & Lemeshow test for goodness of fit. It works with predicted risk under the logistic regression model. H&L is not a very powerful test, so I prefer to use a visual analogue to it. Sort the predicted scores, divide into deciles (quintiles if the N is small), and then plot the midpoint of each decile against the proportion of positive outcomes for the observations in that decile.

If your risk score fits well the line through those 10 points will be reasonably straight. It's basically testing the reliability of your risk driver(s).

Doc Muhlbaier
Duke
N/A
Posts: 0

Re: Need some help

Thanks, that is what I am doing so far. Just thought that somebody maybe automated this procedure in sas. Smiley Happy
Ask a Question
Discussion stats
  • 2 replies
  • 230 views
  • 0 likes
  • 2 in conversation