|
Chapter Contents |
Previous |
Next |
| The MI Procedure |
This example uses the regression method to impute missing values in a data set with a monotone missing pattern. The following statements invoke the MI procedure and request the regression method. The resulting data set is named outreg.
proc mi data=FitMono round=.001 .01 1 mu0= 50 10 150
seed=55417 out=outreg;
monotone method=reg;
var Oxygen RunTime RunPulse;
run;
The ROUND= option is used to round the imputed values to the same precision as observed values. The values specified with the ROUND= option are matched with the variables Oxygen, RunTime, and RunPulse in the order listed with the VAR statement. The MU0= option requests t tests for the hypotheses that the population means corresponding to the variables in the VAR statement are Oxygen=50, RunTime=10, and RunPulse=150.
The "Missing Data Patterns" table lists distinct missing data patterns with corresponding frequencies and percents. It is identical to the table in the previous example.
After the completion of five imputations by default, the "Multiple Imputation Variance Information" table displays the between-imputation variance, within-imputation variance, and total variance for combining complete-data inferences. The relative increase in variance due to missingness and the fraction of missing information for each variable are also displayed. These statistics are described in the "Combining Inferences from Multiply Imputed Data Sets" section.
Output 9.3.1: Variance Information
The "Multiple Imputation Parameter Estimates" table displays a 95% mean confidence interval and a t-statistic with its associated p-value for each of the hypotheses requested with the MU0= option.
Output 9.3.2: Parameter Estimates
| |||||||||||||||||||||||||||||||||||||||||||||
The following statements list the first ten observations of the data set outreg. Note that the imputed values rounded to the same precision as the observed values.
proc print data=outreg(obs=10);
title 'First 10 Observations of the Imputed Data Set';
run;
Output 9.3.3: Imputed Data Set
|
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.