This example uses the propensity score method to impute missing values for variables in a data set with a monotone missing
pattern. The following statements invoke the MI procedure and request the propensity score method. The resulting data set
is named Outex2
.
proc mi data=Fish1 seed=899603 out=outex2; monotone propensity; var Length1 Length2 Length3; run;
Note that the VAR statement is required and the data set must have a monotone missing pattern with variables as ordered in the VAR statement.
The "Model Information" table in Output 63.2.1 describes the method and options used in the multiple imputation process. By default, five imputations are created for the missing data.
When monotone methods are used in the imputation, MONOTONE is displayed as the method. The "Monotone Model Specification" table in Output 63.2.2 displays the detailed model specification. By default, the observations are sorted into five groups based on their propensity scores.
Without covariates specified for imputed variables Length2
and Length3
, the variable Length1
is used as the covariate for Length2
, and the variables Length1
and Length2
are used as covariates for Length3
.
The "Missing Data Patterns" table in Output 63.2.3 lists distinct missing data patterns with corresponding frequencies and percentages. Here, values of "X" and "." indicate that the variable is observed or missing, respectively, in the corresponding group. The table confirms a monotone missing pattern for these three variables.
For the imputation process, first, missing values of Length2
in group 3 are imputed using observed values of Length1
. Then the missing values of Length3
in group 2 are imputed using observed values of Length1
and Length2
. And finally, the missing values of Length3
in group 3 are imputed using observed values of Length1
and imputed values of Length2
.
After the completion of m imputations, the "Variance Information" table in Output 63.2.4 displays the between-imputation variance, within-imputation variance, and total variance for combining complete-data inferences. It also displays the degrees of freedom for the total variance. The relative increase in variance due to missingness, the fraction of missing information, and the relative efficiency for each variable are also displayed. A detailed description of these statistics is provided in the section Combining Inferences from Multiply Imputed Data Sets.
The "Parameter Estimates" table in Output 63.2.5 displays the estimated mean and standard error of the mean for each variable. The inferences are based on the t distributions. For each variable, the table also displays a 95% mean confidence interval and a t statistic with the associated p-value for the hypothesis that the population mean is equal to the value specified in the MU0= option, which is 0 by default.
The following statements list the first 10 observations of the data set Outex2
, as shown in Output 63.2.6. The missing values are imputed from observed values with similar propensity scores.
proc print data=outex2(obs=10); title 'First 10 Observations of the Imputed Data Set'; run;