Tutorials › Generalized Linear Models › Efficiency Under Working-Correlation Misspecification

Working Correlation Choices · Tutorial 872 of 981

Efficiency Under Working-Correlation Misspecification

Derive the sandwich covariance under working-correlation misspecification and compare working structures in a concrete two-visit model.

Advanced 12 min read

What You'll Learn

  • State the assumptions behind the large-sample GEE sandwich covariance
  • Derive the covariance from a Taylor expansion and a cluster-level central limit theorem
  • Distinguish the true within-cluster covariance from the working covariance
  • Calculate two-visit variances under independence, correct, and misspecified working correlations
  • Explain why a more flexible working structure need not improve efficiency
  • Recognize a saturated two-visit case where the working correlation does not change the estimator

Why a Correct Mean Does Not Guarantee Efficient Estimation

Generalized estimating equations (GEE) use a model for the marginal mean and a working covariance to combine observations within a cluster. The mean model can be correct even when the chosen working correlation is not. In that case, the estimating equation can still target the correct regression parameter, but its uncertainty depends on both the working covariance and the true covariance of the responses.

This distinction matters when choosing between working structures. A more flexible structure can represent more patterns of dependence, but flexibility alone does not ensure that its fitted weights are closer to the truth. If those weights are poor for the covariate pattern being estimated, the resulting estimator can be less efficient than one using a simpler working correlation.

The Sandwich Covariance Under Misspecification

Let \(Y_i\) be the response vector for independent cluster \(i\), and let its correctly specified marginal mean be \(\mu_i(\beta)\), with true parameter \(\beta_0\). Write \(D_i(\beta)=\partial\mu_i(\beta)/\partial\beta^\mathsf{T}\). The GEE uses a working covariance \(W_i\), which need not equal the true covariance \(V_i=\operatorname{Var}(Y_i)\). For now, take the working weights as fixed, or as converging to fixed limits.

Definition: The cluster estimating function is \(U_i(\beta)=D_i(\beta)^\mathsf{T}W_i^{-1}\{Y_i-\mu_i(\beta)\}\), and the GEE sets \(\sum_{i=1}^m U_i(\beta)=0\). Define the sensitivity and variability matrices at \(\beta_0\) by \(A=E[D_i^\mathsf{T}W_i^{-1}D_i]\) and \(B=E[D_i^\mathsf{T}W_i^{-1}V_iW_i^{-1}D_i]\). The large-sample covariance is \(m^{-1}A^{-1}BA^{-1}\).

Here the expectation denotes a common-cluster expectation; with non-identically distributed clusters, the corresponding limits of the averages of the cluster matrices are used. The result requires independent clusters, a fixed-dimensional parameter, a nonsingular limiting \(A\), finite second moments for the estimating functions, and regularity sufficient for a consistent root of the GEE, a first-order Taylor expansion, and a cluster-level central limit theorem. Cluster sizes are assumed bounded, or otherwise subject to conditions that ensure those limits and the central limit theorem. If working-correlation parameters are estimated, the same expression applies when their plug-in limits and regularity conditions give this first-order expansion.

The two matrices have different jobs. \(A\) describes how rapidly the expected estimating function changes as \(\beta\) changes. \(B\) describes the actual variation of that estimating function. Under misspecification, it is \(V_i\), not \(W_i\), that determines the variability.

Theorem: Under the conditions above, if \(\hat\beta\) is a consistent solution of the GEE and \(A\) and \(B\) have the stated limits, then \(\sqrt{m}(\hat\beta-\beta_0)\xrightarrow{d}N(0,A^{-1}BA^{-1})\).

Proof. At the true parameter, the marginal mean is correct, so \(E[Y_i-\mu_i(\beta_0)]=0\) and \(E[U_i(\beta_0)]=0\). Differentiating \(U_i\) with respect to \(\beta^\mathsf{T}\), the term involving derivatives of \(D_i\) is multiplied by the mean-zero residual and has expectation zero. The remaining expected derivative is \(-E[D_i^\mathsf{T}W_i^{-1}D_i]=-A\). The assumed regularity makes the average derivative converge to \(-A\) in probability.

A Taylor expansion of the average estimating function between \(\beta_0\) and \(\hat\beta\) therefore gives

$$ 0=\frac{1}{m}\sum_{i=1}^m U_i(\beta_0)-A(\hat\beta-\beta_0)+o_p(m^{-1/2}). $$

Because clusters are independent, the cluster central limit theorem gives \(m^{-1/2}\sum_i U_i(\beta_0)\xrightarrow{d}N(0,B)\): the covariance of one cluster’s estimating function is

$$ \operatorname{Var}\{U_i(\beta_0)\} =E[D_i^\mathsf{T}W_i^{-1}V_iW_i^{-1}D_i]=B. $$

Rearranging the Taylor expansion and multiplying by \(\sqrt{m}\) yields \(\sqrt{m}(\hat\beta-\beta_0)=A^{-1}m^{-1/2}\sum_i U_i(\beta_0)+o_p(1)\). The central limit theorem and the continuous mapping theorem give the stated limit, whose covariance is \(A^{-1}BA^{-1}\). \(\square\)

Worked Two-Visit Comparisons

For the following examples, each cluster has two responses with unit marginal variances. The true covariance and the working covariance are

$$ V_t= \begin{pmatrix}1&t\\t&1\end{pmatrix}, \qquad W_r= \begin{pmatrix}1&r\\r&1\end{pmatrix}, \qquad |t|<1,\quad |r|<1. $$

These are positive definite correlation matrices. Consider the correctly specified one-parameter marginal mean model \(E[Y_i]=\beta x\), where \(x=(1,2)^\mathsf{T}\). The example isolates how working weights combine the two visits.

Worked Example: A Wrong Working Correlation When the Truth Is Independence

Suppose the true correlation is \(t=0\), but the working correlation is \(r=0.5\). The mean model remains correct. For this one-parameter model, the sensitivity for one cluster is \(a=x^\mathsf{T}W_r^{-1}x\), and the variability is \(b=x^\mathsf{T}W_r^{-1}V_0W_r^{-1}x\). Since \(W_r^{-1}=(1-r^2)^{-1}\begin{pmatrix}1&-r\\-r&1\end{pmatrix}\),

$$ a=\frac{x^\mathsf{T} \begin{pmatrix}1&-r\\-r&1\end{pmatrix}x}{1-r^2} =\frac{5-4r}{1-r^2}, \qquad b=\frac{(1-2r)^2+(2-r)^2}{(1-r^2)^2}. $$

At \(r=0.5\), \(a=(5-2)/0.75=4\), and \(b=\{0^2+1.5^2\}/0.75^2=4\). Thus the sandwich variance per cluster is \(b/a^2=4/16=0.25\). With working independence, \(r=0\), the variance is \(x^\mathsf{T}x/(x^\mathsf{T}x)^2=5/25=0.20\). The misspecified working correlation increases the variance by \(0.05\), or 25 percent relative to \(0.20\), despite the correct mean model.

Worked Example: A Richer Working Structure Can Lose to Independence

Now suppose the true correlation is \(t=0.3\). Compare working independence, the correct working correlation \(r=0.3\), and a two-visit unstructured working correlation set to \(r=0.8\). In each case the one-cluster sandwich variance is \(b/a^2\). For working independence, \(a=x^\mathsf{T}x=5\) and \(b=x^\mathsf{T}V_{0.3}x=5+4(0.3)=6.2\), so the variance is \(6.2/25=0.248\).

With the correct working correlation, \(W_r=V_t\), and the sandwich reduces to the inverse sensitivity. Here

$$ a=x^\mathsf{T}V_{0.3}^{-1}x =\frac{5-4(0.3)}{1-0.3^2} =\frac{3.8}{0.91}, \qquad \frac{1}{a}=\frac{0.91}{3.8}\approx 0.2395. $$

For the unstructured working correlation \(r=0.8\), \(W_{0.8}^{-1}x=(-5/3,10/3)^\mathsf{T}\) and \(a=x^\mathsf{T}W_{0.8}^{-1}x=5\). Therefore

$$ b= \begin{pmatrix}-5/3&10/3\end{pmatrix} \begin{pmatrix}1&0.3\\0.3&1\end{pmatrix} \begin{pmatrix}-5/3\\10/3\end{pmatrix} =\frac{95}{9}, \qquad \frac{b}{a^2}=\frac{95}{225}\approx 0.4222. $$

The richer working structure in this comparison has the largest variance: approximately \(0.4222\), versus \(0.248\) for independence and \(0.2395\) for the correct working correlation. The unstructured choice is valid as a matrix, but its specified correlation is far from the true value. This example compares working weights at fixed correlation values; it does not claim that a consistently estimated unstructured correlation would converge to \(0.8\) when the true correlation is \(0.3\).

When Correct Working Covariance Is Optimal

The preceding comparison is consistent with a useful optimality result: among linear unbiased estimating procedures for a scalar coefficient with the same cluster design vector, weighting by the true covariance has the smallest variance. This does not say that every misspecified working covariance is worse than every simpler one. It says the true covariance is optimal within this particular class.

Theorem: Let \(d\) be a nonzero design vector, let \(V\) be positive definite, and consider linear estimators based on one cluster of the form \(q^\mathsf{T}Y\), with \(q^\mathsf{T}d=1\). The estimator using \(q_*=V^{-1}d/(d^\mathsf{T}V^{-1}d)\) has minimum variance \(q_*^\mathsf{T}Vq_*=1/(d^\mathsf{T}V^{-1}d)\).

Proof. Put \(h=q-q_*\). Both \(q\) and \(q_*\) satisfy the unbiasedness constraint, so \(h^\mathsf{T}d=0\). Since \(Vq_*=d/(d^\mathsf{T}V^{-1}d)\), it follows that \(h^\mathsf{T}Vq_*=0\). Expanding the variance gives

$$ q^\mathsf{T}Vq =(q_*+h)^\mathsf{T}V(q_*+h) =q_*^\mathsf{T}Vq_*+h^\mathsf{T}Vh \ge q_*^\mathsf{T}Vq_*. $$

The inequality holds because \(V\) is positive definite. Also, direct substitution gives \(q_*^\mathsf{T}Vq_*=1/(d^\mathsf{T}V^{-1}d)\). Equality holds only when \(h=0\). \(\square\)

Worked Example: When Working Correlation Does Not Change the Estimate

Suppose instead the two visits have separate unrestricted marginal means, \(\mu=(\mu_1,\mu_2)^\mathsf{T}\), so the design matrix is \(D=I_2\). With a common working covariance \(W_r\) for all clusters, the GEE is \(\sum_i W_r^{-1}(Y_i-\mu)=0\). Since \(W_r^{-1}\) is invertible, multiplying the equation by \(W_r\) gives \(\sum_i(Y_i-\mu)=0\). Hence \(\hat\mu=m^{-1}\sum_iY_i\), regardless of \(r\).

If the true covariance is \(V_t\), the covariance of this sample-mean vector is \(V_t/m\). Thus, in this saturated two-visit mean model, changing the working correlation does not change the estimator or its covariance. The efficiency consequences of working correlation depend on the mean-model design and on how observations are combined, not only on the number of correlation parameters.

Practical Interpretation and a Common Mistake

The sandwich covariance separates the effect of the working model on sensitivity from the actual variability of the data. A working correlation that is wrong can still yield a consistent estimate when the marginal mean is correct and the estimating equation remains valid. But consistency does not imply that the estimate has the smallest possible variance.

  • Common mistake: “The marginal mean is correct, so the model-based covariance must also be correct.” The correction is that the mean determines the target, while the true response covariance determines the variability of the estimating function. Under correlation misspecification, use \(B\) formed with \(V_i\), not a covariance obtained by simply treating \(W_i\) as the truth.
  • Another mistake: “A more flexible working correlation must be more efficient.” The two-visit comparison shows why this is false: poor working weights can increase variance. Flexibility is useful only insofar as it represents dependence well for the estimation problem at hand.
Key takeaway: Under a correct marginal mean and standard regularity conditions, working-correlation misspecification leads to the sandwich covariance \(m^{-1}A^{-1}BA^{-1}\). It preserves the target, not efficiency; the effect of a working structure must be assessed through both its sensitivity and the true variability it induces.

Check Your Understanding

Use the definitions and calculations above to answer these questions.

  1. In the sandwich covariance, which matrix incorporates the true within-cluster covariance, and which matrix describes sensitivity to changes in the regression parameter?
  2. For the first two-visit example, why is the variance \(0.25\) under working correlation \(0.5\), even though the true responses are independent?
  3. In the comparison with true correlation \(0.3\), which working choice has the largest variance, and what makes the comparison a misspecification example?
  4. State the constraint on \(q\) in the scalar optimality result and explain why it is needed.
  5. Why does changing the working correlation leave the estimator unchanged when the two visit means are unrestricted?
Clinical Biostats