gain tables macro

Reply
Contributor
Posts: 26

gain tables macro

Input - A sas dataset with dependent binary variable and one predicted probability variable

Output - A dataset with following Stats by Decile - No. of Obs, No. of events, % Obs, % events,

Event Rate, Average Predicted Probability, Lift, Cumulative Lift, Cumulative %events

Super User
Posts: 5,260

Re: gain tables macro

?

Do you have any question?

Data never sleeps
Contributor
Posts: 26

Re: gain tables macro

i want to write a macro with the mentioned requirement

Input - A sas dataset with dependent binary variable and one predicted probability variable

Output - A dataset with following Stats by Decile - No. of Obs, No. of events, % Obs, % events,

Event Rate, Average Predicted Probability, Lift, Cumulative Lift, Cumulative %events

Ask a Question
Discussion stats
  • 2 replies
  • 229 views
  • 0 likes
  • 2 in conversation