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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

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