| The MIXED Procedure |
Consider a residual vector of the form
, where P is a projection matrix, possibly an
oblique projector. A typical
element
with variance vi and estimated variance
is said to be standardized as
Residuals that are scaled by the estimated variance of the response, i.e.,
, are referred to as
Pearson-type residuals.
Following Gregoire, Schabenberger, and Barrett (1995),
let
and
. Then
![\hat{{{{\rm var}}}}[{r}_m] &=& \hat{{V}} - {Q}\
\hat{{{{\rm var}}}}[{r}_c] &=& {K}(\hat{{V}} - {Q}){K}'\](images/mixed_mixeq239.gif)
For an individual observation the raw, studentized, and Pearson residuals computed by the RESIDUAL option of the MODEL statement are given in the following table.
| Type of Residual | Marginal | Conditional |
|---|---|---|
| Raw | ||
| Studentized | ||
| Pearson |
When the OUTPM= option of the MODEL statement is specified in addition to the RESIDUAL option, rmi, rmistudent, and rmipearson are added to the data set as variables Resid, StudentResid, and PearsonResid, respectively. When the OUTP= option is specified, rci, rcistudent, and rcipearson are added to the data set.
For correlated data, a set of scaled quantities can be defined through the Cholesky decomposition of the variance-covariance matrix. Since fitted residuals in linear models are rank-deficient, it is customary to draw on the variance-covariance matrix of the data. If var[ Y] = V and C' C = V, then C'-1 Y has uniform dispersion and its elements are uncorrelated.
Scaled residuals in a mixed model are meaningful for
quantities based on the marginal distribution of the data. Let
denote the Cholesky root of
, so
that
, and define

To diagnose whether the covariance structure of the model has been specified correctly can be difficult based on Yc, since the inverse Cholesky transformation affects the expected value of Yc. You can draw on rm(c) as a vector of (approximately) uncorrelated data with constant mean.
When the OUTPM= option of the MODEL statement is specified in addition to the VCIRY option, Yc is added as variable ScaledDep and rm(c) is added as ScaledResid to the data set.
Copyright © 2003 by SAS Institute Inc., Cary, NC, USA. All rights reserved.