This example uses FCS regression methods to impute values for all continuous variables in a data set with an arbitrary missing pattern.
The following statements invoke the MI procedure and impute missing values for the Fitness1
data set:
proc mi data=Fitness1 seed=1213 nimpute=4 mu0=50 10 180 out=outex6; fcs nbiter=20 reg(/details); var Oxygen RunTime RunPulse; run;
The NIMPUTE=4 option specifies the total number of imputations. The FCS statement requests multivariate imputations by FCS methods, and the NBITER=20 option (which is the default) specifies the number of burn-in iterations before each imputation.
The "Model Information" table in Output 63.6.1 describes the method and options used in the multiple imputation process.
The "FCS Model Specification" table in Output 63.6.2 describes methods and imputed variables in the imputation model. With the REG option in the FCS statement, the procedure
uses the regression method to impute variables RunTime
, RunPulse
, and Oxygen
in the model.
The "Missing Data Patterns" table in Output 63.6.3 lists distinct missing data patterns with corresponding frequencies and percentages.
When you use the DETAILS option, the parameters used in each imputation are displayed in Output 63.6.4, Output 63.6.5, and Output 63.6.6.
The following statements list the first 10 observations of the data set Outex6
in Output 63.6.7. Note that all missing values of all variables are imputed.
proc print data=outex6(obs=10); title 'First 10 Observations of the Imputed Data Set'; run;
Output 63.6.7: Imputed Data Set
First 10 Observations of the Imputed Data Set |
Obs | _Imputation_ | Oxygen | RunTime | RunPulse |
---|---|---|---|---|
1 | 1 | 44.6090 | 11.3700 | 178.000 |
2 | 1 | 45.3130 | 10.0700 | 185.000 |
3 | 1 | 54.2970 | 8.6500 | 156.000 |
4 | 1 | 59.5710 | 10.1985 | 185.842 |
5 | 1 | 49.8740 | 9.2200 | 173.379 |
6 | 1 | 44.8110 | 11.6300 | 176.000 |
7 | 1 | 44.6299 | 11.9500 | 176.000 |
8 | 1 | 47.4258 | 10.8500 | 183.926 |
9 | 1 | 39.4420 | 13.0800 | 174.000 |
10 | 1 | 60.0550 | 8.6300 | 170.000 |
After the completion of the specified four imputations, the "Variance Information" table in Output 63.6.8 displays the between-imputation variance, within-imputation variance, and total variance for combining complete-data inferences. The relative increase in variance due to missingness, the fraction of missing information, and the relative efficiency for each variable are also displayed. These statistics are described in the section Combining Inferences from Multiply Imputed Data Sets.
Output 63.6.8: Variance Information
Variance Information | |||||||
---|---|---|---|---|---|---|---|
Variable | Variance | DF | Relative Increase in Variance |
Fraction Missing Information |
Relative Efficiency |
||
Between | Within | Total | |||||
Oxygen | 0.044012 | 0.936794 | 0.991809 | 25.911 | 0.058727 | 0.057401 | 0.985853 |
RunTime | 0.002518 | 0.063583 | 0.066730 | 26.328 | 0.049500 | 0.048575 | 0.988002 |
RunPulse | 3.552893 | 3.488832 | 7.929948 | 5.3995 | 1.272952 | 0.630073 | 0.863917 |
The "Parameter Estimates" table in Output 63.6.9 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 63.6.9: Parameter Estimates
Parameter Estimates | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Variable | Mean | Std Error | 95% Confidence Limits | DF | Minimum | Maximum | Mu0 | t for H0: Mean=Mu0 |
Pr > |t| | |
Oxygen | 47.200681 | 0.995896 | 45.1532 | 49.2481 | 25.911 | 47.075129 | 47.512585 | 50.000000 | -2.81 | 0.0093 |
RunTime | 10.578418 | 0.258322 | 10.0478 | 11.1091 | 26.328 | 10.526891 | 10.627704 | 10.000000 | 2.24 | 0.0338 |
RunPulse | 171.368390 | 2.816016 | 164.2877 | 178.4490 | 5.3995 | 168.633931 | 172.932612 | 180.000000 | -3.07 | 0.0253 |