The MIANALYZE Procedure

PROC MIANALYZE Statement

  • PROC MIANALYZE <options>;

The PROC MIANALYZE statement invokes the MIANALYZE procedure. Table 76.1 summarizes the options available in the PROC MIANALYZE statement.

Table 76.1: Summary of PROC MIANALYZE Options

Option

Description

Input Data Sets

DATA=

Specifies the COV, CORR, or EST type data set

DATA=

Specifies the data set for parameter estimates and standard errors

PARMS=

Specifies the data set for parameter estimates

PARMINFO=

Specifies the data set for parameter information

COVB=

Specifies the data set for covariance matrices

XPXI=

Specifies the data set for $(\mb{X}^\prime \mb{X})^{-1}$ matrices

Statistical Analysis

THETA0=

Specifies parameters under the null hypothesis

ALPHA=

Specifies the level for the confidence interval

EDF=

Specifies the complete-data degrees of freedom

Printed Output

WCOV

Displays the within-imputation covariance matrix

BCOV

Displays the between-imputation covariance matrix

TCOV

Displays the total covariance matrix

MULT

Displays multivariate inferences


The following options can be used in the PROC MIANALYZE statement. They are listed in alphabetical order.

ALPHA=$\alpha $

specifies that confidence limits are to be constructed for the parameter estimates with confidence level $100(1-\alpha )\% $, where $0<\alpha <1$. The default is ALPHA=0.05.

BCOV

displays the between-imputation covariance matrix.

COVB <(EFFECTVAR=STACKING  |  ROWCOL)> =SAS-data-set

names an input SAS data set that contains covariance matrices of the parameter estimates from imputed data sets. If you provide a COVB= data set, you must also provide a PARMS= data set.

The EFFECTVAR= option identifies the variables for parameters displayed in the covariance matrix and is used only when the PARMINFO= option is not specified. The default is EFFECTVAR= STACKING.

See the section Input Data Sets for a detailed description of the COVB= option.

DATA=SAS-data-set

names an input SAS data set.

If the input DATA= data set is not a specially structured SAS data set, the data set contains both the parameter estimates and associated standard errors. The parameter estimates are specified in the MODELEFFECTS statement and the standard errors are specified in the STDERR statement.

If the data set is a specially structured input SAS data set, it must have a TYPE of EST, COV, or CORR that contains estimates from imputed data sets:

  • If TYPE=EST, the data set contains the parameter estimates and associated covariance matrices.

  • If TYPE=COV, the data set contains the sample means, sample sizes, and covariance matrices. Each covariance matrix for variables is divided by the sample size n to create the covariance matrix for parameter estimates.

  • If TYPE=CORR, the data set contains the sample means, sample sizes, standard errors, and correlation matrices. The covariance matrices are computed from the correlation matrices and associated standard errors. Each covariance matrix for variables is divided by the sample size n to create the covariance matrix for parameter estimates.

If you do not specify an input data set with the DATA= or PARMS= option, then the most recently created SAS data set is used as an input DATA= data set. See the section Input Data Sets for a detailed description of the input data sets.

EDF=number

specifies the complete-data degrees of freedom for the parameter estimates. This is used to compute an adjusted degrees of freedom for each parameter estimate. By default, EDF=$\infty $ and the degrees of freedom for each parameter estimate are not adjusted.

MULT
MULTIVARIATE

requests multivariate inference for the parameters. It is based on Wald tests and is a generalization of the univariate inference. See the section Multivariate Inferences for a detailed description of the multivariate inference.

PARMINFO=SAS-data-set

names an input SAS data set that contains parameter information associated with variables PRM1, PRM2,…, and so on. These variables are used as variables for parameters in a COVB= data set. See the section Input Data Sets for a detailed description of the PARMINFO= option.

PARMS <(options)> =SAS-data-set

names an input SAS data set that contains parameter estimates computed from imputed data sets. When a COVB= data set is not specified, the input PARMS= data set also contains standard errors associated with these parameter estimates. If multivariate inference is requested, you must also provide a COVB= or XPXI= data set.

The available options are as follows:

CLASSVAR=FULL | LEVEL | CLASSVAL

identifies the associated classification variables when reading the classification levels from observations. The CLASSVAR= option is applicable only when the model effects contain classification variables. The default is CLASSVAR= FULL.

LINK=NONE | LOGIT | GLOGIT

identifies the type of parameter estimates. The LINK=NONE option (which is the default) indicates the parameter estimates that are derived from a procedure other than the LOGISTIC procedure.

The LINK=LOGIT option indicates the parameter estimates that are derived from the LOGISTIC procedure for ordinal responses. It is applicable only when the variable Intercept is in the MODELEFFECTS statement and the logistic model has more than two response levels. Otherwise, LINK=NONE should be used.

The LINK=GLOGIT option indicates the parameter estimates that are derived from the LOGISTIC procedure for nominal responses.

For a detailed description of the PARMS= option, see the section PARMS <( parms-options)>= Data Set

TCOV

displays the total covariance matrix derived by assuming that the population between-imputation and within-imputation covariance matrices are proportional to each other.

THETA0=numbers
MU0=numbers

specifies the parameter values $\btheta _{0}$ under the null hypothesis $\btheta = \btheta _{0}$ in the t tests for location for the effects. If only one number $\btheta _{0}$ is specified, that number is used for all effects. If more than one number is specified, the specified numbers correspond to effects in the MODELEFFECTS statement in the order in which they appear in the statement. When an effect contains classification variables, the corresponding value is not used and the test is not performed.

WCOV

displays the within-imputation covariance matrices.

XPXI=SAS-data-set

names an input SAS data set that contains the $(\mb{X}^\prime \mb{X})^{-1}$ matrices associated with the parameter estimates computed from imputed data sets. If you provide an XPXI= data set, you must also provide a PARMS= data set. In this case, PROC MIANALYZE reads the standard errors of the estimates from the PARMS= data. The standard errors and $(\mb{X}^\prime \mb{X})^{-1}$ matrices are used to derive the covariance matrices.