DATA Step, Macro, Functions and more

Missing observations in Multivariate Regression

Accepted Solution Solved
Reply
Contributor
Posts: 35
Accepted Solution

Missing observations in Multivariate Regression

Dear all,

 

I am running a multivariate logistic regression model assessing for occurrence of dependant event X (0-didn't occur 1-occurred) with about 200,00 weighted observations using survey data. 

 

I have multiple independant variables, (both continuous and a few categorical). 

Many of the independant variables are missing in about 5% of the data observations (the same 5% of observations are missing data). 

 

Will this make my conclusion inaccurate? I am not sure of how this will effect the overall model, and how it will effect the variables that do not have missing information.  

 

Please clarify if I can run the analysis, or will it cause a major issue. I would prefer to include those 5% of observations if possible, because they have information for some variables.

 

Thank You


Accepted Solutions
Solution
‎12-07-2017 03:36 PM
Trusted Advisor
Posts: 1,270

Re: Missing observations in Multivariate Regression

[ Edited ]
Posted in reply to sasnewbie12

Hi,

 

By default SAS will exclude observation if it has even a single variable with missing value. Model excluding 5% missing observations will not make a significant shift in conclusions if problem is related to draw inferences only. If your project is related to predictive modeling that requires scoring new data sets then you need to impute missing variables. Please look into proc stdize that provides various imputation options.

View solution in original post


All Replies
Solution
‎12-07-2017 03:36 PM
Trusted Advisor
Posts: 1,270

Re: Missing observations in Multivariate Regression

[ Edited ]
Posted in reply to sasnewbie12

Hi,

 

By default SAS will exclude observation if it has even a single variable with missing value. Model excluding 5% missing observations will not make a significant shift in conclusions if problem is related to draw inferences only. If your project is related to predictive modeling that requires scoring new data sets then you need to impute missing variables. Please look into proc stdize that provides various imputation options.

Contributor
Posts: 35

Re: Missing observations in Multivariate Regression

Just want to make sure, will observations that are missing a value for a variable that is not included in your model as a independant or dependant variable also be excluded?

 

 

PROC Star
Posts: 1,209

Re: Missing observations in Multivariate Regression

Posted in reply to sasnewbie12

No. Only for the variables included in your model. For example, this regression 

 

data class;
   set sashelp.class;
   if _n_<5 then age=.;
run;

proc glm data=class;
   model height=weight;
run;quit;

uses all 19 observations in the data set even though age contains missing values for 5 observations. But since age is not included in your model, the observations are not excluded. 

 

This regression however

 

data class1;
   set sashelp.class;
   if _n_<5 then weight=.;
run;

proc glm data=class1;
   model height=weight;
run;quit;

uses only 15 observations because weight contains missing values for 5 observations and weight is included in your model.

Esteemed Advisor
Posts: 5,474

Re: Missing observations in Multivariate Regression

Posted in reply to sasnewbie12

You might find this paper interesting:

 

http://support.sas.com/resources/papers/proceedings16/SAS3520-2016.pdf

PG
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 223 views
  • 6 likes
  • 4 in conversation