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

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 800 views
  • 0 likes
  • 3 in conversation