Programming the statistical procedures from SAS

Proc MI Impute flag

Reply
New Contributor
Posts: 3

Proc MI Impute flag

 I want to compare the observed vs imputed values from Proc MI. Is there an easy way to identify the imputed values in the output dataset?

SAS Super FREQ
Posts: 3,317

Re: Proc MI Impute flag

I assume you are talking about the data set created by the OUT= option on the PROC MI statement.

That data set does not contain a copy of the original data. It contains N copies of the imputed data.

 

If you need the original data, you could prepend it to the imputed data. Maybe set _imputation_=0 to identify it, like this:

data Original;
_imputation_ = 0;
set Original; 
run;

data All;
set Original OutMI;
run;

 

 

Ask a Question
Discussion stats
  • 1 reply
  • 149 views
  • 0 likes
  • 2 in conversation