BookmarkSubscribeRSS Feed
npandis
Fluorite | Level 6

Hi,

I have a dataset with approximately 1300 observations and I am interested in fitting a series of models using: 

proc logistic

proc surveylogistic

proc genmod

Some of the included covariates have missing values and the missing values of the covariates belong to different observations. What I am trying to say is that for a single observations not all covariates included in the model are missing.

When I fit the models I get about 15% of the observations not used.

Is there an option to tell SAS to include the observations in the analysis which have at least one covariate with no missing data for the observation (to use available case analysis)? 

Thank you,

Nikos

 

 

2 REPLIES 2
ballardw
Super User

If the variables you are concerned with are CLASS variables you can use the option MISSING on the class statement to indicate that missing is considered a valid level in Logistic and Genmod. I don't see an equivalent for Surveylogistic though.

I don't believe there is another option if the predictor is not a class variable that might help directly.

 

 

Another option might be to impute values for the missing variables.

 

 

npandis
Fluorite | Level 6

Thank you and best wishes,

nikos

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 654 views
  • 0 likes
  • 2 in conversation