Home | About | Journals | Submit | Contact Us | Français |

**|**HHS Author Manuscripts**|**PMC2748251

Formats

Article sections

- Summary
- 1. Introduction
- 2. Squeezing the Eigenvalues Together
- 3. Shrinking Toward Structure
- 4. Simulation Studies
- 5. Asymptotic Properties of the Estimators
- 6. Example
- 7. Discussion
- References

Authors

Related links

Biometrics. Author manuscript; available in PMC 2009 September 22.

Published in final edited form as:

Biometrics. 2001 December; 57(4): 1173–1184.

PMCID: PMC2748251

NIHMSID: NIHMS143236

Michael J. Daniels, Department of Statistics, Iowa State University, 303 Snedecor Hall, Ames, Iowa 50011, U.S.A.

Email: mdaniels/at/iastate.edu

See other articles in PMC that cite the published article.

Estimation of covariance matrices in small samples has been studied by many authors. Standard estimators, like the unstructured maximum likelihood estimator (ML) or restricted maximum likelihood (REML) estimator, can be very unstable with the smallest estimated eigenvalues being too small and the largest too big. A standard approach to more stably estimating the matrix in small samples is to compute the ML or REML estimator under some simple structure that involves estimation of fewer parameters, such as compound symmetry or independence. However, these estimators will not be consistent unless the hypothesized structure is correct. If interest focuses on estimation of regression coefficients with correlated (or longitudinal) data, a sandwich estimator of the covariance matrix may be used to provide standard errors for the estimated coefficients that are robust in the sense that they remain consistent under misspecifics tion of the covariance structure. With large matrices, however, the inefficiency of the sandwich estimator becomes worrisome. We consider here two general shrinkage approaches to estimating the covariance matrix and regression coefficients. The first involves shrinking the eigenvalues of the unstructured ML or REML estimator. The second involves shrinking an unstructured estimator toward a structured estimator. For both cases, the data determine the amount of shrinkage. These estimators are consistent and give consistent and asymptotically efficient estimates for regression coefficients. Simulations show the improved operating characteristics of the shrinkage estimators of the covariance matrix and the regression coefficients in finite samples. The final estimator chosen includes a combination of both shrinkage approaches, i.e., shrinking the eigenvalues and then shrinking toward structure. We illustrate our approach on a sleep EEG study that requires estimation of a 24 × 24 covariance matrix and for which inferences on mean parameters critically depend on the covariance estimator chosen. We recommend making inference using a particular shrinkage estimator that provides a reasonable compromise between structured and unstructured estimators.

Since James and Stein (1961), many authors have explored better estimators for a covariance matrix. These have been derived from a decision-theoretic perspective (Stein, 1975; Dey and Srinivasan, 1985; Lin and Perlman, 1985; Haff, 1991) or by specifying an appropriate prior for the covariance matrix and choosing an estimator based on a particular loss function (Yang and Berger, 1994; Daniels and Kass, 1999). We will take the latter approach in this article and build on the work of Daniels and Kass (1999). The general approach will be to first generically stabilize an unstructured estimate of the covariance matrix and then to shrink this estimate toward a parsimonious, structured form of the matrix. In this approach, the data will determine how much shrinkage is required.

We will now provide some more details on the approach in Daniels and Kass (1999); for a similar approach in the context of a covariance function in time series data, see Daniels and Cressie (2001). To develop more stable estimators for the covariance matrix, Daniels and Kass (1999) shrink the matrix toward a diagonal structure and obtain estimates (and posterior distributions) using combinations of importance sampling and Markov chain Monte Carlo (MCMC). Here we will extend this work in several ways. First, we consider shrinking toward any structure (not just diagonal), including nonstationary models, such as (structured) antedependence models (Zimmerman and Nunez-Anton, 1997) for longitudinal data, and stationary models, such as compound symmetry, auto regressive (AR), and auto regressive moving average (ARMA) models (see early work by Chen, 1979; Lin and Perlman, 1985). Second, we propose estimators that can be computed by simple approximations, avoiding the fully MCMC approach, which can be computationally intensive for large matrices. These estimators will provide more stability than an unstructured estimator but will still provide robustness to misspecification of the structure. These estimators might be called empirical (or approximate) Bayes estimators (Kass and Steffey, 1989).

Another approach to inducing stability in estimating a covariance matrix is to shrink the eigenvalues (Stein, 1975; Dey and Srinivasan, 1985; Haff, 1991; Yang and Berger, 1994; Ledoit, 1996). It is well known that the sample eigenvalues are biased; the smallest is too small and the largest is too large. We will review some of these estimators and propose another, derived from a simple prior distribution on the eigenvalues.

We will also examine the way these estimators influence covariate effects. Consider a fixed effects regression model with correlated errors, a common model for longitudinal and clustered data (Diggle, Liang, and Zeger, 1994),

(1)

where *Y _{i}* is a

- Step 1. Fit the model (1) using an unstructured covariance matrix, .
- Step 2. Shrink the eigenvalues of the unstructured estimator to obtain a more stable estimate, .
- Step 3. Fit the model (1) assuming some covariance structure, . This might be chosen, e.g., using the Bayesian information criterion (BIC) (cf., Zimmerman and Nunez-Anton, 1997).
- Step 4. Compute estimates of the parameters that determine the amount of shrinkage using and .
- Step 5. Compute a shrinkage estimator of the covariance matrix, using the estimates in steps 2–4.
- Step 6. Refit model (1) conditional on .

More details on the shrinkage parameters and shrinkage estimators will be given in Section 3. Steps 1–3 and 6 are easy and can be implemented in SAS proc mixed (SAS Institute, 1999). Steps 4 and 5 will require a simple macro. In Section 4, we recommend two estimators. Both first shrink the eigenvalues together (step 2 above). Then this modified estimate is shrunk toward a chosen structure under two different parameterizations of the matrix (steps 4 and 5 above).

In Section 2, we will explore estimators that shrink the eigenvalues, and in Section 3, we will explore estimators that shrink an unstructured estimate of the covariance matrix toward some structure. In Section 4, we will do simulations to examine the risk of these estimators for estimating the sample covariance matrix and the mean squared error for estimating the fixed regression coefficients. Section 5 includes a theorem demonstrating the asymptotic properties of these estimators. In Section 6, we will show the importance of covariance matrix estimation on fixed regression coefficients in data from a sleep EEG study. We offer conclusions and extensions in Section 7.

In this section, we review and discuss two estimators to shrink the eigenvalues together and introduce a third based on a hierarchical model.

We first examine estimators that shrink the eigenvalues. Several authors have focused on orthogonally invariant estimators of the form , where *O* is the matrix of normalized eigenvectors, is the vector of sample eigenvalues, and , where each is a real-valued nonnegative function. Stein (1975) proposed setting , where

This estimator minimizes an unbiased estimate of Stein's (entropy) loss under this class of estimators; this estimator has similar operating characteristics to the estimator derived from the Yang and Berger (1994) prior. However, this estimator does not preserve the order of the eigenvalues and the resulting estimators of the eigenvalues can be negative. Thus, an isotonizing algorithm is often needed. Haff (1991) derived an estimator similar to Stein's but that is computed under the constraint of maintaining the order of the sample eigenvalues; the estimator is identical when Stein's does not require the isotonozing algorithm. This estimator operates by adaptively shrinking the sample eigenvalues.

Ledoit (1996) introduced an estimator that is the optimal linear combination of the identity matrix and the sample covariance matrix under squared error loss. This is equivalent to finding the optimal linear shrinkage of the eigenvalues. This estimator has the advantage of being able to be computed when the dimension of the matrix is larger than the sample size. However, the use of squared error loss as the loss function for the covariance matrix can result in overshrinkage of the eigenvalues (see the simulation in Section 4), especially the small ones. When the eigenvalues are very close together, this estimator performs very well, but when they are very far apart, it performs quite poorly. This is a by-product of deriving estimators using squared error loss that does not offer a severe penalty for overestimating the small eigenvalues; Stein's loss does penalize for this.

As an alternative to the above estimators, we suggest placing normal prior distributions on the logarithm of the eigenvalues, log(*λ*_{i}), *i* = 1, . . . , *p*: log(*λ*_{i}) | N(log(*λ*), *τ*^{2}). To form a simple estimator based on this prior distribution, we can approximate the likelihood for the eigenvalues from the model, with , the asymptotic distribution of the logarithm of the sample eigenvalues. A model formed from the approximation and the prior suggests a simple closed-form estimator for the logarithm of the eigenvalues, the posterior mean, which here is also the posterior mode, of *λ*_{i} conditional on estimates log() and . We exponentiate this estimator to obtain the following:

(2)

We will call the estimator in (2) the log eigenvalue posterior mean estimator. We use the following approach to estimate the hyperparameters. For log(*λ*), we plug in the mean of the logarithm of the sample eigenvalues; this corresponds to the posterior mode under a uniform prior distribution on log(*λ*). For *τ*^{2}, we plug in

This estimator was chosen to encourage shrinkage of the eigenvalues and corresponds to the posterior mode under a uniform shrinkage prior on *τ*^{2}, *π*(*τ*^{2}) = (2/*n*)/(2/*n* + *τ*^{2})^{2} (see Daniels, 1999).

The estimation of *τ*^{2} may be considered a special case of using the posterior mode based on a prior for *τ*^{2} proportional to (2/^{n} + *τ*^{2})^{−k}, which gives a posterior mode of

where *c* = *p* + 2*k*. Other possible approaches to estimating *τ*^{2} include an estimator based on the posterior mode from a flat prior on *τ*^{2}, *k* = 0, or the James-Stein estimator, *k* = –5/6 (cf., Strawderman, 1971; Efron and Morris, 1973). However, preliminary simulations suggest that using these estimators for *τ*^{2} tends to undershrink the eigenvalues. Note that our estimator (2), unlike Stein's, maintains the order of the sample eigenvalues.

We will focus on two parameterizations in which to shrink the covariance matrix as in Daniels and Kass (1999). The first will be useful for shrinking toward a correlation (or covariance) structure but is not guaranteed to produce a positive definite matrix. The second can be used for shrinking toward a covariance structure and is guaranteed to give a positive definite matrix. The latter will involve decomposing the matrix into the Givens angles and the eigenvalues (cf., Daniels and Kass, 1999). Early work by Chen (1979) and others suggests doing shrinkage with a Wishart prior, with scale matrix set to the structure and unknown degrees of freedom. However, this formulation only allows one parameter, the degrees of freedom, to characterize the shrinkage. In addition, there is a natural bound on the degrees of freedom to maintain a proper prior (i.e., the degrees of freedom must be greater than *p*), which can produce poor results when the hypothesized structure is incorrect (Daniels and Kass, 1999). The two approaches we suggest allow for two variance parameters, i.e., one for the correlations (angles) and one for the variances (eigenvalues).

The general approach will be the following. First, fit model (1) using maximum likelihood with an unstructured form for Σ. Then, conditional on , compute the observed information matrix for Σ based on one of the two parameterizations. For the first estimator, the correlation shrinkage, we simplify computations by treating the information matrix for the variances and correlations as if it was block diagonal, similar to Lin and Perlman (1985), while for the second estimator, the rotation shrinkage, the information matrix for the eigenvalues and angles is block diagonal (Yang and Berger, 1994). We then form the estimators, detailed in the next two sections, by developing a two-level model. At the first level, we approximate the distribution of the maximum likelihood estimator of Σ by a normal distribution with variance the inverse of the observed information matrix. At the second level, we introduce a normal prior whose purpose is to shrink the correlations/variance or angles/eigenvalues toward a structured form with unknown variance components, which will be estimated from the data as detailed in the next section. The unknown parameters of the structured form are estimated by fitting model (1) under that structure and are thereafter assumed known. As a result, we estimate only the two variance components in addition to the parameters appearing in the structured model, which involves many fewer than the *p*(*p* + 1)/2 parameters estimated in the unstructured case. From this two-level normal-normal model, we can compute a simple shrinkage estimator, which will give consistent estimates of Σ, even under misspecification of the structure. We provide more details on these two estimators in the next two sections.

One way to parameterize a covariance matrix is through the correlations and variances (Lin and Perlman, 1985; Barnard, McCulloch, and Meng, 2000). Daniels and Kass (1999) suggested placing normal priors on the *z*-transform of the correlations and shrinking these toward zero (equivalent to shrinking toward a diagonal matrix). We suggest replacing their prior with the following more general prior distribution on the *z*-transform of the correlations:

(3)

where *ρ*_{s} represents the correlations specified under the assumed covariance structure. Here we assume *a priori* that the correlations are independent. Given the interplay of the correlations in the covariance matrix being positive definite, this may not be a realistic assumption. However, the simulations in Section 4 and in Daniels and Kass (1999) show that this is a reasonable specification in practice. To form an approximate estimator based on this prior, we need the asymptotic distribution of the correlations, given in Lin and Perlman (1985, pp. 417–418), who introduced a James–Stein estimator based on shrinking the *z*-transform of the correlations toward a common value. Given the asymptotic distribution of the correlations, we can approximate the specified model for *ρ* with a normal-normal model. Based on this model, we replace the sample correlations with the following estimator:

(4)

where is the observed information matrix for the *z*-transform of the correlations and Fisher's *z*-transform of a vector is defined as the vector of *z*-transforms.

The estimated correlation under the assumed structure, , is computed by fitting the structured model (by maximum likelihood or restricted maximum likelihood) and extracting the relevant estimated correlations. To estimate , we generalize the moment estimator in DerSimonian and Laird (1986) to the multivariate case and use

(5)

For *p* = 2, this simplifies to their estimator.

To shrink toward a covariance rather than a correlation structure, we can also shrink the variances using log(*σ*^{2}) ~ N(log(), ) and form an approximate estimator using the asymptotic distribution of the log of the variances,

(6)

where *I*(log()) is the observed information matrix for the logarithm of the variance and logarithm of a vector is defined as the vector of logarithms. Note that, although the variances and correlations are not asymptotically independent, for simplicity, we assume this when forming the shrinkage estimator of the covariance matrix. We will refer to (4) and (6) as the correlation shrinkage estimator.

We mention here that this estimator of the covariance matrix is not guaranteed to be positive definite. This is a deficiency of this estimator. However, this is a separate issue from the accuracy of the asymptotics. The asymptotics failing is not the reason the estimate is not positive definite. The problem is that we are using individual linear combinations of a transformation of the correlations in our estimator, so even though the unstructured and structured estimates are both positive definite, the resulting estimator may not be. However, the estimator proposed in the next section is guaranteed to be positive definite.

Another way to parameterize the covariance matrix is through the eigenvalues and a decomposition of the rotation matrix through the *p*(*p* – 1)/2 Givens angles (Hoffman, Raffenetti, and Ruedenberg, 1972). Similar to the prior underlying the correlation shrinkage estimator, we replace the prior in Daniels and Kass (1999) with the following more general prior distribution on the Givens angles:

where *τ*_{s} represents the Givens angles specified under the assumed covariance structure. To form an approximate estimator based on this prior, we will need to derive the asymptotic distribution of the Givens angles. The diagonal element of the information matrix corresponding to *τ _{ij}* takes the form

and the off-diagonal elements corresponding to (*τ _{ij}, τ_{rs}*) take the form

For additional details, see the Appendix.

Given the asymptotic distribution of the Givens angles, we can approximate the specified model for *τ* with a normal-normal model. Based on this model, we replace the sample Givens angles with the following estimator:

(7)

where *I*(logit()) is the observed information matrix for the logit of the Givens angles, the logit of a vector is the vector of the logits, and logit^{–1} is the inverse of the logit function. is computed using the same procedure as ; estimation of *τ*^{2} uses (5) with *O* in place of *p.*

To shrink toward a structure, we also need to shrink the eigenvalues. We will use a modification of the log eigftnvalue posterior mean estimator given in (2), replacing log() with log(),

(8)

We will subsequently refer to the estimator, specified by (7) and (8), that shrinks the Givens angles and the log eigenvalues as the rotation shrinkage estimator and to the estimator that only shrinks the log of the eigenvalues, specified by (8), as the structured log eigenvalue estimator.

We will perform two simulations to assess the operating characteristics of these estimators. The first will evaluate the risk in estimating a covariance matrix. The second will evaluate mean squared error of the estimators of the regression coefficients.

For the first simulation, we will examine the risk for each of these estimators using Stein's loss, . Specifically, we consider the following model:

Because the reason for using the shrinkage estimators is to improve on the sample covariance estimator, for each estimator we have tabulated the percentage reduction in average loss (PRIAL), which is defined as the difference between the risk of the sample covariance matrix and the risk of the estimator divided by the risk of the sample covariance. We consider shrinking toward two structures, diagonal and AR(1), labeled as simulations A1 and A2, respectively. For A1, we considered six true matrices, i.e., two diagonal covariance matrices, (I) equal eigenvalues, and (II) a somewhat ill-conditioned matrix, to examine how the estimators that shrink the eigenvalues perform. We also considered three nondiagonal matrices, i.e., two rotations of matrix II, *R*_{1} and *R*_{2} (in terms of Givens angles), and a matrix with all small correlations. The latter will be a situation that is close to diagonal. The matrices are as follows:

- I diag(1, 1, 1, 1, 1),
- II diag(1, .75, (.75)
^{2}, (.75)^{10}, (.75)^{20}) = diag(1, .75, .56, .06, .003), - IIR
_{1}matrix II with Givens angles all set to*π*/4, - IIR
_{2}matrix II with Givens angles evenly spaced between (–*π*/4,*π*/4), - III variances all set to one, correlations all set to .1.

For A2, we also considered six true matrices: an AR(1) structure (I-A2), a structure close to AR(1) (II-A2), and four matrices far from the AR(1) structure (III-A2-VI-A2), three with a Toeplitz correlation structure in which the elements are equal along subdiagonals (correlation bands). The matrices are

- I-A2 AR-1 structure, variances set to (1,1,1,1,1) and correlation bands set to (.7, .49, .34, .24),
- II-A2 close to AR-1 structure, variances set to (.8, .9, 1.0, 1.1, 1.2) and correlation bands set to (.4, .15, .10, .01),
- III-A2 far from AR-1 structure, variances set to (1,2,3,4,5) and correlation bands set to (.7,.7,.7,.7),
- IV-A2 far from AR-1 structure, variances set to (1, .01, .01, .01, .01) and correlation bands set to (0,0,0,0),
- V-A2 far from AR-1 structure, variances set to (1, .01, .01, .01, .01) and correlation bands set to (.8,.7,.8,.9),
- VI-A2 far from AR-1 structure, eigenvalues set to (1, .75
^{2}, .75^{3}, .75^{4}) with Givens angles evenly spaced between (–*π*/4,*π*/4).

We ran simulation A1 for sample sizes of *n* = 10,20,40 and *p* = 5 and used the Stein, Ledoit, and log eigenvalue posterior mean estimators to shrink the eigenvalues and the rotation and correlation (without the variances, (4)) shrinkage estimators to shrink toward a structure (diagonal). We also reran simulation A1 for sample sizes of *n* = 40,100 and *p* = 20. We ran simulation A2 for sample sizes of *n* = 10,20,50. Additional details on the estimators used in simulation A2 are given in the next section.

The results of simulation A1 appear in Table 1. The eigenvalue estimators all shrink the sample eigenvalues. The largest gains are evident when the eigenvalues are close together (with PRIAL as large as 67%). Specifically, the Stein performs well across all situations, especially when the true eigenvalues form one or several groups, while the log eigenvalue estimator does best when the true eigenvalues are close together. The Ledoit estimator also does very well for eigenvalues that are close together (with PRIAL as high as 90%) but considerably overshrinks when they are spread out, severely overestimating the smallest eigenvalues.

For the shrinkage-to-structure estimators, the correlation and rotation shrinkage estimators, when the structure is correct or close (matrix III), the estimators do very well (PRIAL 30–60%); the rotation estimator has some problems regarding the accuracy of the asymptotics (which we will comment upon more in Section 4.3). When the structure is not close, they can do poorly in small samples (see cases II-R_{1} and R_{2}); in addition, we see the log eigenvalue posterior mean estimator is the same as the structured log eigenvalue estimator for matrix I (and it does well). However, as the sample size gets large, the data will dominate the incorrectly specified structure.

The results of simulation A1 for *p* = 20 appear in Table 2. In terms of introducing stability by shrinking the eigenvalues, the Stein and log eigenvalue posterior mean estimator gave smaller risks for all cases; the Ledoit estimator still overshrunk the small eigenvalues. The correlation shrinkage estimator did best when shrinking toward the correct structure (or close to it), matrices I, II, and III, with PRIAL 16–70%.

After some preliminary work for simulation A2, we decided to stabilize the correlation and rotation estimators by shrinking the Stein estimator, as opposed to the unstructured maximum likelihood (ML) estimator toward the AR(1) structure, because the unstructured ML estimator is very unstable in small- to medium-size samples. In addition, in simulation A1, the Stein did best overall among the estimators introduced in Section 2, so in this simulation, we use the Stein to shrink the eigenvalues and the correlation, structured log eigenvalue, and rotation estimators to shrink toward a structure (AR(1)). We consider the structured log eigenvalue estimator separately from the rotation estimator because there is concern about the asymptotic approximations used in computing the rotation estimator.

The results of simulation A2 appear in Table 3. The Stein estimator performed well for all six cases (PRIAL 3–50%). The structured log eigenvalue estimator also resulted in reductions in loss for all the cases, with the largest reductions when the true structure was close to AR(1) (PRIAL 15–50%). The correlation shrinkage estimator had large reductions when the structure was close to correct (cases I, II, and VI) and the rotation shrinkage estimator had similar problems with asymptotics to simulation A1.

The first simulation showed reductions in risk of as much as 70% in estimating Σ. We now focus on estimation of the regression coefficients (or fixed effects) in model (1).

To evaluate our estimators for *β*,

where is our estimate of the covariance matrix, we will compute mean squared error. We leave examination of actual coverage probabilities of confidence regions for future work in which we will adjust the standard error of the regression coefficients for the uncertainty in estimating Σ.

We conduct two simulations, B1 and B2, varying the dimension of the covariance matrix, Σ, and the regression vector, *β*. In simulation B1, we assume *X _{it}* = (poly

For simulation B1, we consider six matrices. The matrices, labeled with the suffix -B1, are the same as the -A2 matrices except matrix II-B1 is slightly different and is

- II-B1 close to AR-1 structure, variances set to (.3, .7, 1.1, 1.5, 1.9), and correlation bands set to (.4, .25, .22, .24).

For simulation B2, we extend the simulation B1 true matrices to *p* = 10 as follows:

- I-B2 AR-1 structure, variances set to (1,1,1,1,1), and correlation bands set to (.7, .7
^{2}, . . . , .7^{9}), - II-B2 close to AR-1 structure, variances evenly spaced from .8 to 1.2, and correlation bands set to (.9, .8, .75, .68, .57, .52, .48, .42, .37),
- III-B2 far from AR-1 structure, variances evenly spaced from 1 to 10, and correlation bands set to (.7, .7, . . . , .7),
- IV-B2 far from AR-1 structure, variances set to (1, .01, .01, . . . , .01), and correlation bands set to (0,0, . . . ,0),
- V-B2 far from AR-1 structure, variances same as IV-A2, and correlation bands set to (.8, .7, .7, . . . , .7, .9),
- VI-B2 far from AR-1 structure, eigenvalues set to (1, .75, .75
^{2}, . . . , .75^{9}), with Givens angles evenly spaced between (–*π*/4,*π*/4).

We compute the unstructured restricted maximum likelihood estimator, the restricted maximum likelihood estimator under AR(1), the Stein eigenvalue estimator, and the correlation, structured log eigenvalue, and rotation estimators. Similar to simulation A2 in Section 4.1, we decided to stabilize the correlation and rotation estimators by shrinking the Stein estimator.

The results of simulations B1 and B2 appear in Tables 4 and and5.5. First, we point out that, when the structure is correct (case I-B1(2)), the structured estimator dominates in terms of mean squared error (MSE) (reductions of over 50% over the unstructured estimator). However, the shrinkage estimators are competitive even for the very small sample size, *n* = 10 (reduction as large as 30%), and the shrinkage estimators dominate when the structure is incorrect; the structured estimator does very poorly in this case (in particular, see cases IV and V-B1(2)). When the structure is correct or close (cases I-, II-B1(2)), the correlation and structured log eigenvalue outperform the unstructured (reductions as large as 50%), and for the small sample size, the structured log eigenvalues estimator does well against the unstructured even for matrices III-B1(2)-V-B1(2) (far from AR(1)), with reduction as large as 33% (and no increases). The Stein estimator is never worse than the unstructured and is better than the estimators that shrink toward AR(1) when the structure is far from correct (III-B1(2)-VI-B1(2)) for sample sizes of 20 and 40 (40 and 100). For case II-B2 of simulation B2, the correlation shrinkage estimator appears to do worse than the Stein and structured log eigenvalues estimator for *n* = 100. However, for this case, a high proportion (about 40%) of the correlation shrinkage estimates were not positive definite. If we restrict the comparison of losses to datasets that resulted in positive definite correlation shrinkage estimates, the correlation shrinkage estimator did about as well as the Stein and structured log eigenvalue estimators. The rotation shrinkage estimator has trouble when the eigenvalues are close together and its sampling distribution is not well approximated by a normal distribution in nonlarge samples, as discussed in Section 4.1. Overall, across all the sample sizes, if the true matrix is close to the hypothesized structure, the correlation and structured log eigenvalue estimator do best, with reductions in MSE as high as 30–40% for small sample sizes.

Overall, the shrinkage estimators have much smaller risk than the unstructured maximum likelihood estimator (the sample covariance matrix in the simplest case). As the sample size grows, the shrinkage estimators and unstructured REML estimator become indistinguishable, and in small samples where the hypothesized structure is correct or nearly correct, the shrinkage estimators can offer substantial improvements, with reductions in risk for estimating Σ and *β* as large as 70%.

The simulations raise concern about the instability of the rotation estimator. Additional exploratory work showed that the logits of the sample Givens angles are slow to approach normality, so the estimator does not work well. As a result, we believe it is most prudent to shrink the eigenvalues but not the angles.

Ultimately, we recommend first shrinking the eigenvalues of the unstructured estimator, and thus increase its stability, by replacing it with the Stein estimator and then shrinking the Stein estimator toward a structure using the structured log eigenvalue or correlation shrinkage estimator. In general, the structured log eigenvalue estimator tends to be more conservative than the correlation shrinkage estimator; i.e., when the structure is correct or close, the correlation shrinkage does a little better, but when the structure is far from correct, the correlation shrinkage does a little worse. The example in Section 6 illustrates the magnitude of differences that can be seen in and its standard error in practice when using different estimators for Σ.

All of the estimators for the covariance matrix discussed in Sections 2 and 3 and applied in the simulations are consistent, and the resulting estimators for the regression coefficients are consistent and asymptotically efficient. A theorem appears below and a sketch of the proof with additional details on regularity conditions (assumptions) appears in the appendix.

Theorem: Under regularity conditions (assumptions 3–11) as specified in Magnus (1978) and under the additional assumption that all the eigenvalues of the true matrix, Σ, are distinct, all the shrinkage estimators proposed in Sections 2–4 are consistent and the resulting estimators of the regression coeficients, β, are consistent and asymptotically eficient. The asymptotics in this case correspond to the number of of subjects, n, going to infinity with p, the dimension of Σ *fixed*.

We illustrate our approach on a study of sleep electroencephalograms (EEGs) in healthy men and women (Carrier et al., 2000). One of the goals of this study was to determine the effect of age on EEG spectra in the absence of psychiatric disorders. For this analysis, EEG measurements were first transformed from the time domain to the frequency domain; these functions of frequency are call power spectra. The power spectra were then log transformed and finely discretized into thirty-two 1-Hz bins. For our analysis, we only included males, for a total of 53 subjects, and only used the first twenty-four 1-Hz bins. Thus, we have to estimate a 24 × 24 covariance matrix with a sample size of 53. Following Carrier et al. (2000), we model the mean of the log power spectra using an intercept and nine spline basis functions. The effect of age was examined by including an interaction of the intercept and each basis function with age.

Covariance structure selection in SAS proc mixed using the BIC suggested an AR(1) structure fit. Below, we provide estimates, standard errors, and confidence regions for a subset of the regression coefficients for the unstructured estimator, for the AR(1) structured estimator, and for the structured log eigenvalue estimator using the algorithm discussed in the Introduction. We do not present the results for the correlation shrinkage estimator because, for this example, the estimate was not positive definite.

Table 6 shows two of the estimated coefficients, the interactions of age with the first and ninth spline basis functions, and their standard errors. Important differences are seen in the estimates and their standard errors. In particular, when the structured log eigenvalue estimator is used, both interactions are highly significant; for the interaction of age with the first spline basis function, this agrees with the AR(1) but not the unstructured model, while for the interaction of age with the ninth basis function, it agrees with the unstructured model but not the AR(1).

Estimates, standard errors, and the ratios of the estimate to the standard error for the regression coefficients corresponding to the interaction of age and the first (*age* × *B*1) *and ninth* (*age* × *B*9) spline bases functions under three covariance **...**

Figure 1 shows the confidence regions for jointly estimating the aforementioned regression coefficients. The area of the region and its orientation are clearly changing when using the different estimators.

Confidence regions for the coefficients corresponding to the interaction of age and the first and ninth spline bases functions for the three models. AR(1), AR(1) structured estimator model; Unstruc, unstructured estimator model; struc log, structured **...**

Because of the simulation results in Section 4, we would recommend making inferences (and predictions) using the structured log eigenvalue estimators because we believe this estimator to produce estimates of *β* closer to the truth. So, in this case, we would conclude that the interaction of age and the first and ninth spline bases are significantly larger than zero, implying that these aspects of the EEG spectra do differ by age.

We have proposed classes of estimators for a covariance matrix that shrink some functional of the matrix to obtain better properties. The structured log eigenvalue, rotation, and correlation shrinkage estimators offer a compromise between completely unstructured and structured estimators. The Stein and log eigenvalue posterior mean estimators attempt to overcome the distortion of the eigenvalues of the unstructured estimators. Substantial gains were seen in estimating the matrix while gains were also seen in the mean squared error of estimators of the regression coefficients. In both situations, we obtain asymptotically optimal estimators. Because they are both effective and easy to compute using simple macros in standard statistical software, we would recommend the Stein, structured log eigenvalue (8), or correlation shrinkage ((4), (6)) estimators in practice.

These results extend and generalize those in Daniels and Kass (1999) and show that these simpler estimators can be competitive with the more computationally intensive estimators discussed by Daniels and Kass (1999). The accuracy of the asymptotics in small samples is a limiting factor in the gains produced by these new estimators. The approach in Daniels and Kass (1999) produces estimates that do not rely on any asymptotic approximations. The accuracy of the approximations in our approach might be assessed by comparing the inverse of the observed information matrix to an estimate of variability generated by a bootstrap approach. Clearly, these shrinkage estimators are superior to the unstructured estimator in small- to medium-sized samples and superior to the structured covariance estimator when the hypothesized structure is incorrect. When a particular covariance structure is plausible and may be close to correct but there are doubts, these estimators allow the data to be informative.

We plan on extending this work in a variety of directions. We are pursuing an alternative parameterization with which to shrink a covariance matrix toward a structure that does not require any asymptotic approximations and should be computationally efficient, as suggested by Daniels and Pourahmadi (2001). We also want to extend this work to estimating a random effects covariance matrix in two-level models and to assessing the subsequent impact on estimates of random effects. The asymptotics needed to form the approximate shrinkage estimators need to be worked out, especially for generalized linear random effects models. In addition, accounting for the estimation of the covariance matrix when estimating standard errors of random effects might be implemented using the approach discussed in Kass and Steffey (1989).

These methods can be extended to the case of generalized estimating equations (GEES) for longitudinal data with common measurement times across subjects. In this case, because we often think of a working correlation structure, we could focus on the estimator that shrinks the correlations. In future work, we intend to examine the operating characteristics of such estimators for use with binary and count data.

Research of the first author was partially supported by National Institutes of Health grant 1-RO1-CA85295-01A1 and research of the second author was partially supported by National Institutes of Health grant 1-R01-CA54852-08. We would like to thank Yan Zhao and Jason Sinwell for coding and running the simulations and Dr Stephanie Land for providing us with the data.

Here we will derive an expression for the asymptotic variance of the Givens angles. First, define vech(Σ) to be the vector composed of the lower triangular elements of the covariance matrix and define the spectral composition of Σ to be Σ = *O ^{t}* Λ

and the off-diagonals take the form

where

So we have

Using a similar derivation, the off-diagonal elements simplify to

For the logit of *τ _{ij}*, we can multiply the information matrix by a diagonal matrix with elements [(

When *θ*_{ij} = 0 for all *i,j*, the information matrix simplifies to a diagonal matrix with diagonal element corresponding to *θ _{ij}*, (

We give a brief outline of the proof here by proceeding through the six steps given in Section 1 to compute the shrinkage estimator for the covariance matrix and the resulting estimator for the regression coefficients. The main assumptions required in the theorem include the design matrix being full rank and *n* > *p* and several assumptions regarding either the continuity or uniform convergence, or both, of functions of the design matrix (*X*), Σ^{–1}, and its gradient and Hessian. We refer the reader to Magnus (1978) for specific details.

- Steps 1 and 3. By Theorem 5 in Magnus (1978), the maximum likelihood estimates of Σ are consistent.
- Step 2. Using the following theorem: If
*X*(vector) converges in probability to_{n}*X*(vector) and*g*is continuous, then*g*(*X*) converges in probability to_{n}*g*(*X*) (cf., Serfling, 1980, p. 24). Given the consistency of the estimator for Σ, through application of this theorem and under the condition that all the eigenvalues of the true matrix are distinct, the Stein estimator is consistent. This is clear from the form of the Stein estimator given in Section 2.1. - Step 4. The estimators for the parameters that determine the amount of shrinkage,
*τ*^{2}, all converge to a constant. - Step 5. Under the assumptions specified in Theorem 5 in Magnus (1978), with the additional assumption of distinct eigenvalues for the rotation shrinkage estimator and by application of the convergence in probability theorem, converges in probability to Σ. The form of the estimators are the standard form seen in empirical Bayes and, as with the Stein estimator, the consistency is clear.
- Step 6. Through application of the corollary to Theorem 4 in Magnus (1978), will be consistent and asymptotically efficient.

*Correlation Matrix* IIR_{1}

1.000 | ||||

–.871 | 1.000 | |||

–.223 | .097 | 1.000 | ||

–.357 | .165 | .651 | 1.000 | |

–.339 | –.054 | .013 | .590 | 1.000 |

*Correlation Matrix* IIR_{2}

1.000 | ||||

–.146 | 1.000 | |||

.358 | .306 | 1.000 | ||

.598 | .535 | .245 | 1.000 | |

.593 | .217 | –.269 | .608 | 1.000 |

*Correlation Matrix VI-A2*

1.000 | ||||

–.286 | 1.000 | |||

–.138 | .101 | 1.000 | ||

–.087 | .113 | .233 | 1.000 | |

–.149 | –.022 | .087 | .296 | 1.000 |

Michael J. Daniels, Department of Statistics, Iowa State University, 303 Snedecor Hall, Ames, Iowa 50011, U.S.A.

Robert E. Kass, Department of Statistics, Carnegie Mellon University, Pittsburgh, Pennsylvania, U.S.A.

- Barnard J, McCulloch R, Meng X. Modeling covariance matrices in terms of standard deviations and correlations, with applications to shrinkage. Statistics Sinica. 2000;10:1281–1312.
- Carrier J, Land S, Buyse DJ, Kupfer DJ, Monk TH. The effects of age and gender on sleep EEG power spectral density in the middle years of life (ages 20–60 years old). Psychophysiology. 2001;38:232–242. [PubMed]
- Chen C-F. Bayesian inference for a normal dispersion matrix and its application to stochastic multiple regression analysis. Journal of the Royal Statistical Society, Series B. 1979;41:235–248.
- Christiansen CL, Morris CN. Hierarchical Poisson regression modeling. Journal of the American Statistical Association. 1997;92:618–632.
- Daniels MJ. A prior for the variance in hierarchical models. Canadian Journal of Statistics. 1999;27:569–580.
- Daniels MJ, Cressie NAC. A hierarchical approach to covariance function estimation for time series. Journal of Time Series Analysis. 2001;22:253–266.
- Daniels MJ, Kass RE. Nonconjugate Bayesian estimation of covariance matrices and its use in hierarchical models. Journal of the American Statistical Association. 1999;94:1254–1263.
- Daniels MJ, Pourahmadi M Bayesian analysis of covariance matrices and dynamic models for longitudinal data. Department of Statistics, Iowa State University; Ames: 2001.

Technical report, Preprint 2001–03, - DerSimonian R, Laird N. Meta-analysis in clinical trials. Controlled Clinical Trials. 1986;7:177–188. [PubMed]
- Dey DK, Srinivasan C. Estimation of a covariance matrix under Stein's loss. Annals of Statistics. 1985;13:1581–1591.
- Diggle P, Liang K-Y, Zeger S. Analysis of Longitudinal Data. Oxford University Press; Oxford: 1994.
- Efron B, Morris C. Stein's estimation rule and its competitors—An empirical Bayes approach. Journal of the American Statistical Association. 1973;68:117–130.
- Haff LR. The variational form of certain Bayes estimators. Annals of Statistics. 1991;19:1163–1190.
- Hoffman DK, Raffenetti RC, Ruedenberg K. Generalization of Euler angles to
*N*-dimensional orthogonal matrices. Journal of Mathematical Physics. 1972;13:528–533. - Huber PJ. The behaviour of the maximum likelihood estimator under non-standard conditions. In: LeCam LM, Neyman J, editors. Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability. University of California Press; Berkeley, California: 1967. pp. 221–233.
- James W, Stein C. Estimation with quadratic loss. In: LeCam LM, Neyman J, editors. Proceedings of the Fourth Berkeley Symposium on Mathematical Statistics and Probability. University of California Press; Berkeley, California: 1961. pp. 361–379.
- Kass RE, Steffey D. Approximate Bayesian inference in conditionally independent hierarchical models (parametric empirical Bayes models). Journal of the American Statistical Association. 1989;84:717–726.
- Ledoit O. Portfolio Selection: Improved Covariance Matrix Estimation. Anderson Graduate School of Management, University of California at Los Angeles; 1996. Working Paper.
- Lin SP, Perlman MD. A Monte Carlo comparison of four estimators for a covariance matrix. In: Krishnaiah PR, editor. Multivariate Analysis. Vol. 6. North Holland; Amsterdam: 1985. pp. 411–429.
- Magnus JR. Maximum likelihood estimation of the GLS model with unknown parameters in the disturbance covariance matrix. Journal of Econometrics. 1978;7:281–312.
- SAS Institute SAS/STAT User's Guide. SAS Institute; Cary, North Carolina: 1999. Version 7.
- Serfling RJ. Approximation Theorems of Mathematical Statistics. Wiley; New York: 1980.
- Stein C. Lectures on the theory of estimation of many parameters (in Russian).. In: Ibragimov IA, Nikulin MS, editors. Studies in the Statistical Theory of Estimation; Proceedings of Scientific Seminars of the Steklov Institute.; 1977. pp. 4–65. Part 1.
- Strawderman WE. Proper Bayes minimax estimators of the multivariate normal mean. Annals of Mathematical Statistics. 1971;42:385–388.
- Yang R, Berger JO. Estimation of a covariance matrix using the reference prior. Annals of Statistics. 1994;22:1195–1211.
- Zimmerman D, Nuñez-Anton V . Structured antedependence models for longitudinal data. In: Gregoire TG, Brillinger DR, Diggle PJ, Russek-Cohen E, Warren WG, Wolfinger RD, editors. Modelling Longitudinal and Spatially Correlated Data: Methods, Applications, and Future Directions. Vol. 122. Springer-Verlag; New York: 1997. pp. 63–76.

Springer Lecture Notes in Statistics,

PubMed Central Canada is a service of the Canadian Institutes of Health Research (CIHR) working in partnership with the National Research Council's Canada Institute for Scientific and Technical Information in cooperation with the National Center for Biotechnology Information at the U.S. National Library of Medicine(NCBI/NLM). It includes content provided to the PubMed Central International archive by participating publishers. |