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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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