BookmarkSubscribeRSS Feed
sms1891
Quartz | Level 8

Hi all,

I have a data set with 423 pts but have only 10 pts with required outcome (Visit = 1 for Hospital visit and Visit = 0 for no hospital visit). I am trying to evaluate independent predictors for Hospital visit  (Visit = 1). When I ran the logistic regression, some of the variables of interest have 95% CI values >999.999. How to handle such situations? And whether to include such variables in the logistic regression model or not?

 

Thank you in advance!

 

 

2 REPLIES 2
PaigeMiller
Diamond | Level 26

When you have a response variable which is a rare event, often the solution is to oversample the data, and then run PROC LOGISTIC, and then transform the results back to the non-oversampled space. Here's a tutorial: http://support.sas.com/kb/22/601.html

--
Paige Miller
Ksharp
Super User

Try Exact Logistic Model or Penalty Logistic Model. 

There are some examples in documentation.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 895 views
  • 0 likes
  • 3 in conversation