|
Chapter Contents |
Previous |
Next |
| The MIANALYZE Procedure |
For a given parameter of interest, it is not always possible to compute the estimate and associated covariance matrix directly from a SAS procedure. This section gives examples of parameters with their estimates and associated covariance matrices, which provide the input to the MIANALYZE procedure. Some are straightforward, and others require special techniques.

A variance estimate for
is [1/n]S,
where S is the sample covariance matrix

These statistics can be computed from a procedure such as CORR. This approach is illustrated in Example 10.1.
Some regression procedures, such as REG and LOGISTIC, create an EST type data set that contains both the parameter estimates for the regression coefficients and their associated covariance matrix. You can read an EST type data set in the MIANALYZE procedure with the DATA= option. This approach is illustrated in Example 10.2.
Other procedures, such as GLM, MIXED, and GENMOD, do not generate EST type data sets for regression coefficients. For MIXED and GENMOD, you can use ODS OUTPUT statement to save parameter estimates in a data set and the associated covariance matrix in a separate data set. These data sets are then read in the MIANALYZE procedure with the PARMS= and COVB= options, respectively. This approach is illustrated in Example 10.3 for PROC MIXED and in Example 10.4 for PROC GENMOD.
PROC GLM does not display tables for covariance matrices. However, you can use the ODS OUTPUT statement to save parameter estimates and associated standard errors in a data set and the associated (X'X)-1 matrix in a separate data set. These data sets are then read in the MIANALYZE procedure with the PARMS= and XPXI= options, respectively. This approach is illustrated in Example 10.5.
The distribution of r can be normalized through Fisher's Z transformation
z(r) is approximately normally distributed with mean
and variance 1/(n-3).
With a point estimate
and an approximate 95% confidence interval
(z1, z2) for
,a point estimate
and a 95% confidence interval (r1, r2)
for
can be obtained by applying the inverse transformation
This approach is illustrated in Example 10.3.
![\frac 1{n} [ {( \frac {\overline{y}_{1}}{\overline{y}_{2}^2} )}^2 s_{22} - 2 {... ...rac 1{\overline{y}_{2}} )} s_{12} + {( \frac 1{\overline{y}_{2}} )}^2 s_{11} ]](images/miaeq46.gif)
A ratio of sample means will be approximately unbiased and normally distributed if the coefficient of variation of the denominator (the standard error for the mean divided by the estimated mean) is 10% or less (Cochran 1977, p. 166; Schafer 1997, p. 196). This approach is illustrated in Example 10.7.
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.