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.

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 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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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