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-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
  • 3 replies
  • 2128 views
  • 1 like
  • 2 in conversation