Tutorials › Generalized Linear Mixed Models (GLMM) › Translating Latent Correlation Into Response Correlation

Spatial and Temporal Correlation · Tutorial 602 of 698

Translating Latent Correlation Into Response Correlation

Derive the response-scale correlation implied by a bivariate normal latent probit model, and see why logistic mixed models require a different marginal calculation.

Advanced 12 min read

What You'll Learn

  • Distinguish latent-field correlation from latent-liability correlation and response correlation.
  • Derive the joint success probability for two binary probit outcomes from a bivariate normal distribution.
  • Calculate response correlations for equal and unequal marginal success probabilities.
  • Explain why the zero-threshold probit relationship has an arcsine form.
  • Express logistic response covariance as a nonlinear expectation over the random effects.
  • Recognize how prevalence, residual variation, and model assumptions affect response-scale dependence.

From a Gaussian Field to Binary Responses

A spatial or temporal random field describes dependence on a latent scale. For a binary outcome, however, the observed data are thresholded: each response records only whether an underlying value lies above or below a cutoff. Thresholding changes the strength of association. In particular, the correlation between two latent values is generally not the correlation between the two observed binary responses.

The probit link makes this translation especially explicit. With a Gaussian latent field and independent standard normal observation errors, each binary response can be represented as a thresholded normal variable. The pairwise response correlation then follows from a bivariate normal probability, but it depends on both the latent correlation and the two marginal success probabilities.

Definition: For two observations \(i\) and \(j\), suppose \(Y_k=1\{\eta_k+U_k+\epsilon_k>0\}\), for \(k=i,j\). Here \(\eta_k\) is a fixed linear predictor, \((U_i,U_j)\) is a mean-zero bivariate normal random field with variances \(v_i,v_j\) and covariance \(c_{ij}\), and \(\epsilon_i,\epsilon_j\) are independent \(N(0,1)\) errors independent of the field. Define \(s_k=\sqrt{1+v_k}\), \(a_k=\eta_k/s_k\), and \(r_{ij}=c_{ij}/(s_i s_j)\). The quantity \(r_{ij}\) is the correlation of the standardized latent liabilities, not necessarily the correlation of the random field alone and not the response correlation.

These assumptions include conditional independence of the responses given the field: once \(U_i\) and \(U_j\) are known, the remaining errors are independent. Any marginal dependence between the responses comes from their shared or correlated field values. The unit residual variance is the standard probit convention; it fixes the latent scale.

The Response-Correlation Formula

Set \(Z_k=(U_k+\epsilon_k)/s_k\). Then \(Z_i,Z_j\) are standard normal with correlation \(r_{ij}\), and \(Y_k=1\{Z_k>-a_k\}\). Let \(\Phi\) denote the standard normal cumulative distribution function and \(\Phi_2(x,y;r)\) the cumulative distribution function of a standard bivariate normal pair with correlation \(r\), evaluated at \((x,y)\).

$$ P(Y_k=1)=\Phi(a_k), \qquad P(Y_i=1,Y_j=1)=\Phi_2(a_i,a_j;r_{ij}). $$

For the joint probability, the event \(Z_i>-a_i,Z_j>-a_j\) is equivalent, after changing both signs, to \(-Z_i<a_i,-Z_j<a_j\). The pair \((-Z_i,-Z_j)\) is still standard bivariate normal with correlation \(r_{ij}\), giving the stated \(\Phi_2\) probability. The response covariance and correlation are therefore

$$ \operatorname{Cov}(Y_i,Y_j) = \Phi_2(a_i,a_j;r_{ij})-\Phi(a_i)\Phi(a_j), $$ $$ \operatorname{Corr}(Y_i,Y_j) = \frac{\Phi_2(a_i,a_j;r_{ij})-\Phi(a_i)\Phi(a_j)} {\sqrt{\Phi(a_i)\{1-\Phi(a_i)\}\Phi(a_j)\{1-\Phi(a_j)\}}}. $$

The denominator is the product of the marginal standard deviations of the two Bernoulli responses. The formula applies when both marginal probabilities are strictly between zero and one; at a degenerate margin, response correlation is undefined. Notice that even if \(r_{ij}\) is held fixed, changing either \(a_i\) or \(a_j\) generally changes the response correlation.

Worked Example: Separating Field and Liability Correlation

Suppose two hypothetical locations have \(\eta_i=\eta_j=0\), field variances \(v_i=v_j=1\), and field covariance \(c_{ij}=0.6\). The field correlation is \(0.6\), but independent probit errors add variance to each liability.

The standardized liability correlation is \(r_{ij}=0.6/\{\sqrt{2}\sqrt{2}\}=0.3\). Both marginal success probabilities are \(\Phi(0)=0.5\). For zero thresholds, the bivariate normal quadrant probability is \(\Phi_2(0,0;r)=1/4+\arcsin(r)/(2\pi)\). Thus \(\arcsin(0.3)\approx0.3047\), and \(P(Y_i=1,Y_j=1)\approx0.25+0.3047/(2\pi)=0.2985\).

The response covariance is \(0.2985-(0.5)(0.5)=0.0485\). Each response variance is \(0.5(1-0.5)=0.25\), so \(\operatorname{Corr}(Y_i,Y_j)=0.0485/\sqrt{0.25(0.25)}=0.194\), approximately. The observed response correlation is therefore much smaller than the field correlation \(0.6\); even the latent liability correlation is only \(0.3\) because of the independent observation errors.

Why Prevalence Changes the Translation

When both thresholds are zero, each response has success probability one half. In that special case, the bivariate normal quadrant identity gives

$$ \operatorname{Corr}(Y_i,Y_j)=\frac{2}{\pi}\arcsin(r_{ij}). $$

One justification is to write the joint success probability as \(Q(r)=\Phi_2(0,0;r)\). The derivative of the bivariate normal probability with respect to its correlation at these zero cutoffs is the bivariate normal density at the origin, \(Q'(r)=1/(2\pi\sqrt{1-r^2})\). Since \(Q(0)=1/4\), integrating from \(0\) to \(r\) gives \(Q(r)=1/4+\arcsin(r)/(2\pi)\). Subtracting the product of the margins, \(1/4\), and dividing by the response standard-deviation product, \(1/4\), yields the arcsine formula.

Away from zero thresholds, the general bivariate normal CDF formula is needed. This is not a minor adjustment: rare outcomes have small Bernoulli variances, and their response correlations can differ markedly from the latent correlation.

Worked Example: Unequal Success Probabilities

Consider a hypothetical pair of probit outcomes with standardized liability correlation \(r_{ij}=0.5\) and equal standardized predictors \(a_i=a_j=1\). Each marginal success probability is \(\Phi(1)\approx0.8413\), so each response variance is approximately \(0.8413(1-0.8413)=0.1335\).

Numerical evaluation of the bivariate normal CDF gives \(\Phi_2(1,1;0.5)\approx0.7452\). The product of the marginal probabilities is \(0.8413^2\approx0.7078\). Hence the response covariance is approximately \(0.7452-0.7078=0.0374\), and

$$ \operatorname{Corr}(Y_i,Y_j) \approx \frac{0.0374}{\sqrt{0.1335(0.1335)}} = \frac{0.0374}{0.1335} \approx 0.280. $$

The response correlation is about \(0.280\), not \(0.5\). The calculation uses the same latent correlation as the previous example but different thresholds; the response-scale association is consequently different. The margins are nondegenerate, as required, and the bivariate normal model supplies the joint probability used in the calculation.

Why the Logistic Case Is Different

For a logistic mixed model, write \(q_k(U_k)=\operatorname{expit}(\eta_k+U_k)\), where \(\operatorname{expit}(x)=1/(1+\exp(-x))\). If the responses are conditionally independent given the random effects, then

$$ P(Y_k=1)=E\{q_k(U_k)\}, \qquad P(Y_i=1,Y_j=1)=E\{q_i(U_i)q_j(U_j)\}. $$

Consequently, \(\operatorname{Cov}(Y_i,Y_j)=\operatorname{Cov}\{q_i(U_i),q_j(U_j)\}\). Unlike the probit case, a normal random-effects distribution passed through the expit function does not produce a bivariate normal threshold probability with a simple closed-form correlation map. Both the marginal probabilities and the joint probability generally require integration over the random-effects distribution, often by numerical quadrature or simulation.

This difference concerns marginalization, not conditional dependence: under either model, conditional independence can coexist with marginal association. Nor does it mean logistic models cannot produce response correlations. They can; the correlation is obtained from the nonlinear expectations above, rather than from the probit bivariate normal CDF identity.

Worked Example: Logistic-Normal Random Intercept

Suppose two hypothetical binary observations share a random intercept \(U\sim N(0,1)\), have \(\eta_i=\eta_j=0\), and are conditionally independent given \(U\), with success probability \(q(U)=\operatorname{expit}(U)\). Symmetry gives \(E\{q(U)\}=0.5\). The joint success probability is \(E\{q(U)^2\}\), which must be integrated over the normal random-intercept distribution.

For example, numerical quadrature gives \(E\{q(U)^2\}\approx0.2934\). Thus the covariance is \(0.2934-(0.5)(0.5)=0.0434\). Both response variances are \(0.25\), so the response correlation is \(0.0434/0.25\approx0.174\). The arithmetic illustrates the integration: the quadrature value is the joint probability, not the conditional probability evaluated at the mean random intercept. At \(U=0\), that conditional probability is \(0.5\), which alone does not account for variation in \(U\).

Assumptions, Checks, and Limitations

The probit translation relies on a correctly specified bivariate Gaussian latent field, independent standard normal observation errors, and the stated threshold rule. If the field is not Gaussian, the bivariate normal CDF formula need not hold even when its variances and covariance are correctly specified. If observation errors are correlated, their covariance must also enter the liability covariance; omitting it gives the wrong \(r_{ij}\). The linear predictors and field distribution must likewise correspond to the population or conditioning scheme for which the marginal correlation is being reported.

A useful check is to compute the marginal probabilities from the same model used for the joint probability, and then verify that the resulting joint probability is compatible with those margins. For example, it must satisfy \(\max\{0,p_i+p_j-1\}\leq P(Y_i=1,Y_j=1)\leq\min\{p_i,p_j\}\). Numerical integration should also be checked for stability when probabilities are near zero or one. The response-correlation denominator becomes small in those cases, so rounding error in the joint probability can have a substantial effect on the calculated correlation.

A common mistake is to report the correlation of the spatial field as the correlation of the binary outcomes. The correction is to first include independent probit-error variance to obtain the standardized liability correlation, then use the thresholds and bivariate normal probability to calculate response covariance and correlation. A second mistake is to apply the probit arcsine formula at nonzero thresholds; that shortcut is valid only when both marginal success probabilities are one half.

The probit formula is a pairwise translation under a specified latent model, not a universal conversion rule for all binary data. For logistic models, direct marginal integration is the appropriate alternative. In either case, observed binary responses contain less information about dependence than the latent Gaussian values: thresholding discards magnitude, and estimated response correlations can be imprecise when outcomes are sparse. Pairwise response correlations also do not replace specifying the joint random-effects model when the goal is to describe dependence among many locations or times.

Key takeaway: Under a Gaussian latent probit model, the response correlation is determined by the standardized liability correlation and both thresholds through a bivariate normal CDF. For logistic mixed models, response-scale dependence instead follows from nonlinear marginal expectations over the random effects.

Check Your Understanding

Answer each question, then compare with the solutions below.

  1. Two probit liabilities have field variances \(v_i=v_j=3\), field covariance \(c_{ij}=1.2\), independent unit-variance errors, and zero fixed predictors. Find the liability correlation and the response correlation.
  2. In a probit model, what quantities besides the latent liability correlation determine the response correlation?
  3. Why does conditional independence of two responses not imply marginal independence?
  4. For two logistic responses sharing a random effect, write the expressions for their marginal success probability and joint success probability.

Solutions. (1) Each liability variance is \(3+1=4\), so \(r_{ij}=1.2/\sqrt{4\cdot4}=0.3\). The thresholds are zero; therefore the response correlation is \(2\arcsin(0.3)/\pi\approx0.194\). (2) It also depends on both standardized thresholds \(a_i,a_j\), equivalently on the two marginal success probabilities. They determine the bivariate normal joint probability and the Bernoulli variance denominator. (3) Conditional independence holds at fixed random effects, but averaging over correlated random effects makes the conditional success probabilities co-vary; thus their marginal covariance can be nonzero. (4) If \(q_k(U_k)=\operatorname{expit}(\eta_k+U_k)\), then \(P(Y_k=1)=E\{q_k(U_k)\}\) and \(P(Y_i=1,Y_j=1)=E\{q_i(U_i)q_j(U_j)\}\), with expectations taken over the joint random-effects distribution.

Clinical Biostats