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

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
1 ACCEPTED SOLUTION
3 REPLIES 3
Reeza
Super User

Assign a Bayesian prior. See the prior statement. 

Lopa2016
Fluorite | Level 6

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

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2255 views
  • 1 like
  • 2 in conversation