Programming the statistical procedures from SAS

Proc Logistic Oversampling

Accepted Solution Solved
Reply
Contributor
Posts: 44
Accepted Solution

Proc Logistic Oversampling

I have a data set where the %age of bads are quite low.Can any one suggest a way to balance such a data set using SAS so that the logistic regression run gives a better result? Below is a sample. Thanks in advance!!

ID  X1  X2  X3  X4  X5  Target
 1  87  400 2   0   0   0
 2  70  620 1   0   0   0
 3  66  410 3   0   0   0
 4  85  300 1   0   0   0
 5  100 200 4   0   0   0
 6  201 110 1   0   0   0
 7  132 513 3   0   0   0
 8  98  417 4   0   0   0
 9  397 620 1   0   0   1
10  98  700 5   0   0   1

Accepted Solutions
Solution
‎01-23-2017 10:29 AM
Super User
Posts: 18,601

Re: Proc Logistic Oversampling


All Replies
Super User
Posts: 18,601

Re: Proc Logistic Oversampling

Assign a Bayesian prior. See the prior statement. 

Contributor
Posts: 44

Re: Proc Logistic Oversampling

Thanks for your suggestion but can you help me with a code?

 

Solution
‎01-23-2017 10:29 AM
Super User
Posts: 18,601

Re: Proc Logistic Oversampling

No, but google can Smiley Happy

 

http://support.sas.com/kb/22/601.html

 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 203 views
  • 1 like
  • 2 in conversation