Tutorials › Generalized Linear Models › Wald Tests for Cutpoint-Specific Slope Differences

Ordinal Assumptions and Extensions · Tutorial 554 of 981

Wald Tests for Cutpoint-Specific Slope Differences

Use estimated slope contrasts and their covariance to test whether predictors have the same effect across ordinal cutpoints.

Advanced 10 min read

What You'll Learn

  • Express departures from parallel regression as linear contrasts between cutpoint-specific slopes
  • Calculate standard errors for slope differences using covariance terms
  • Form Wald tests for one predictor and for several contrasts jointly
  • Construct confidence intervals and confidence regions for slope contrasts
  • Recognize the assumptions and common covariance errors that affect Wald inference

What a Wald Test Compares

In a cumulative-logit model, each cutpoint defines a cumulative probability. With \(K\) ordered response categories, there are \(J=K-1\) cutpoints. Write the model with cutpoint-specific slopes as

$$ \operatorname{logit}\{P(Y\leq j\mid x)\}=\alpha_j-x^\mathsf{T}\beta_j, \qquad j=1,\ldots,J, $$

where \(x\) is a vector of \(p\) predictors, \(\alpha_j\) is the threshold at cutpoint \(j\), and \(\beta_j\) is the vector of slopes there. The parallel-regression restriction says that the slopes do not vary across cutpoints: \(\beta_1=\cdots=\beta_J\). A Wald test assesses this restriction, or selected parts of it, using the unrestricted estimates and their estimated covariance matrix.

Definition: A slope contrast is a specified linear combination of cutpoint-specific slope parameters. For predictor \(r\), a basic contrast comparing cutpoint \(j\) with reference cutpoint 1 is \(d_{jr}=\beta_{jr}-\beta_{1r}\), for \(j=2,\ldots,J\). Parallel regression for that predictor requires all these contrasts to equal zero.

Using cutpoint 1 as the reference gives \(J-1\) contrasts per predictor. These are sufficient to test equality across all cutpoints: if every \(\beta_{jr}-\beta_{1r}\) is zero, then every slope equals \(\beta_{1r}\). The reference is a convenient way to encode the null, not a claim that cutpoint 1 is intrinsically special.

Building the Wald Statistic

Let \(\theta\) collect all model parameters, including thresholds and slopes, and let \(\hat\theta\) be its estimate from the fitted model. A linear null hypothesis can be written \(A\theta=c\), where \(A\) has \(q\) linearly independent rows. Let \(\widehat{\operatorname{Cov}}(\hat\theta)\) be the estimated covariance matrix from that fit. The estimated contrast vector is \(A\hat\theta-c\), and its estimated covariance matrix is obtained by applying the same linear transformation to the full fitted covariance matrix.

$$ \widehat{\operatorname{Cov}}(A\hat\theta) =A\,\widehat{\operatorname{Cov}}(\hat\theta)\,A^\mathsf{T}, \qquad W=(A\hat\theta-c)^\mathsf{T} \left\{A\,\widehat{\operatorname{Cov}}(\hat\theta)\,A^\mathsf{T}\right\}^{-1} (A\hat\theta-c). $$

Under the null and standard regularity conditions, \(W\) is compared with a chi-square distribution with \(q\) degrees of freedom. The conditions include independent observations, an identifiable and correctly specified model, a true parameter in the interior of the parameter space, a nonsingular information matrix, and a fixed number of parameters as sample size increases. The usual large-sample normal approximation for the estimator and a consistent covariance estimate are also required. In finite samples, the chi-square reference distribution is an approximation.

For a single contrast \(d=a^\mathsf{T}\theta\), the Wald statistic is \(z=(\hat d-d_0)/\operatorname{SE}(\hat d)\), where \(\operatorname{SE}(\hat d)\) is the square root of its estimated variance. Squaring this statistic gives a one-degree-of-freedom Wald statistic. A two-sided confidence interval is \(\hat d\pm z_{1-\gamma/2}\operatorname{SE}(\hat d)\), with confidence level \(1-\gamma\).

Worked Example: Comparing One Predictor at Two Cutpoints

Suppose a model has at least three cutpoints, and the fitted slopes for one predictor at cutpoints 1 and 3 are \(\hat\beta_{1r}=0.25\) and \(\hat\beta_{3r}=0.65\). Their estimated variances are \(0.04\) and \(0.09\), and their estimated covariance is \(0.01\). Test \(H_0:\beta_{3r}-\beta_{1r}=0\) using a two-sided 5% Wald test.

The estimated difference is \(\hat d=0.65-0.25=0.40\). Because the two estimates are correlated, its variance is

$$ \widehat{\operatorname{Var}}(\hat d) =0.09+0.04-2(0.01)=0.11. $$

Thus \(\operatorname{SE}(\hat d)=\sqrt{0.11}\approx0.3317\), and \(z=0.40/0.3317\approx1.21\). The two-sided \(p\)-value is approximately \(0.228\), so this contrast is not statistically significant at the 5% level. The 95% Wald interval is \(0.40\pm1.96(0.3317)\), or approximately \((-0.25,1.05)\). Both the test and interval indicate substantial uncertainty about the difference.

Joint Tests and Confidence Regions

Testing one contrast answers whether a particular slope difference is distinguishable from zero. To assess a predictor across all cutpoints, test its \(J-1\) reference-cutpoint contrasts jointly. To test parallel regression for all \(p\) predictors, stack the contrasts for every predictor; the null then has \(p(J-1)\) independent restrictions. The degrees of freedom are the number of independent restrictions, not the number of slope estimates appearing in the model.

The corresponding joint confidence region for a \(q\)-dimensional contrast vector \(d\) is an ellipsoid. If \(\hat d\) and \(\widehat V\) are its estimate and estimated covariance matrix, the large-sample \(1-\gamma\) region is the set of values \(d_0\) satisfying

$$ (\hat d-d_0)^\mathsf{T}\widehat V^{-1}(\hat d-d_0) \leq \chi^2_{q,\,1-\gamma}. $$

Here \(\chi^2_{q,\,1-\gamma}\) denotes the \(1-\gamma\) quantile of a chi-square distribution with \(q\) degrees of freedom. The joint null value is tested by checking whether it lies inside this region. A joint test can reject even when none of the separate unadjusted tests is individually compelling, because it evaluates the combined displacement while accounting for covariance among contrasts.

Worked Example: A Joint Test Across Three Cutpoints

For one predictor and three cutpoints, let \(d_2=\beta_{2r}-\beta_{1r}\) and \(d_3=\beta_{3r}-\beta_{1r}\). Suppose the fitted contrast vector and its estimated covariance matrix are

$$ \hat d= \begin{pmatrix}0.30\\-0.20\end{pmatrix}, \qquad \widehat V= \begin{pmatrix}0.04&0.01\\0.01&0.09\end{pmatrix}. $$

The determinant of \(\widehat V\) is \(0.04(0.09)-0.01^2=0.0035\), so

$$ \widehat V^{-1} =\frac{1}{0.0035} \begin{pmatrix}0.09&-0.01\\-0.01&0.04\end{pmatrix} \approx \begin{pmatrix}25.714&-2.857\\-2.857&11.429\end{pmatrix}. $$

For the joint null \(d_2=d_3=0\), the Wald statistic is

$$ W=\hat d^\mathsf{T}\widehat V^{-1}\hat d =25.714(0.30)^2+2(-2.857)(0.30)(-0.20)+11.429(-0.20)^2 \approx3.114. $$

There are two independent restrictions, so the reference distribution is \(\chi^2_2\). The \(p\)-value is approximately \(0.211\), and the 5% critical value is \(5.991\); this joint test does not reject parallel slopes for this predictor. The 95% confidence region is the ellipse defined by \((\hat d-d_0)^\mathsf{T}\widehat V^{-1}(\hat d-d_0)\leq5.991\). Since the statistic for \(d_0=(0,0)^\mathsf{T}\) is below \(5.991\), the origin is inside the ellipse.

Why the Covariance Matrix Matters

The covariance between slope estimates is part of the uncertainty in their difference. More generally, every joint test depends on covariance among the contrasts. A covariance matrix for the transformed contrasts must be computed from the fitted covariance matrix using \(A\widehat{\operatorname{Cov}}(\hat\theta)A^\mathsf{T}\), not assembled by treating coefficient estimates as independent. The fitted model’s thresholds and other parameters may also be correlated with its slopes; the appropriate covariance is the one reported for the full fitted model.

Worked Example: Using the Full Fitted Covariance for a Difference

Consider two cutpoints and two predictors, with slope vector ordered as \((\beta_{11},\beta_{12},\beta_{21},\beta_{22})^\mathsf{T}\). Suppose the relevant fitted estimates are \(\hat\beta_{11}=0.60\) and \(\hat\beta_{21}=0.20\). The estimated variances are \(0.04\) and \(0.01\), and the covariance between these two estimates is \(0.01\). The other slope estimates do not enter this particular contrast.

For predictor 1, the contrast is \(\hat d=\hat\beta_{21}-\hat\beta_{11}=0.20-0.60=-0.40\). Its variance is

$$ \widehat{\operatorname{Var}}(\hat d) =0.01+0.04-2(0.01)=0.03, \qquad \operatorname{SE}(\hat d)=\sqrt{0.03}\approx0.1732. $$

Consequently, \(z=-0.40/0.1732\approx-2.31\), and \(W=z^2\approx5.33\). The one-degree-of-freedom \(p\)-value is approximately \(0.021\). A 95% interval is \(-0.40\pm1.96(0.1732)\), or approximately \((-0.74,-0.06)\). The negative contrast indicates a smaller fitted slope at cutpoint 2 than at cutpoint 1 under the model’s stated sign convention; the interval and test quantify uncertainty in that difference.

Justification of the Wald Calibration

Theorem: Suppose the null \(A\theta_0=c\) holds, \(A\) has \(q\) linearly independent rows, and \(\sqrt n(\hat\theta-\theta_0)\xrightarrow{d}N(0,\Sigma)\), where \(A\Sigma A^\mathsf{T}\) is positive definite. If \(\widehat{\operatorname{Cov}}(\hat\theta)\) consistently estimates \(\Sigma/n\), then the Wald statistic converges in distribution to \(\chi^2_q\).

Proof. Under the null, \(A\hat\theta-c=A(\hat\theta-\theta_0)\). By the assumed asymptotic normality and linear transformation,

$$ \sqrt n(A\hat\theta-c)\xrightarrow{d}N(0,A\Sigma A^\mathsf{T}). $$

Consistency of the covariance estimate gives \(nA\widehat{\operatorname{Cov}}(\hat\theta)A^\mathsf{T}\xrightarrow{p}A\Sigma A^\mathsf{T}\). The limit is positive definite, so its inverse exists; continuity of matrix inversion and Slutsky’s theorem allow the estimated covariance in the Wald statistic to be replaced asymptotically by this limit. Let \(Z\sim N(0,A\Sigma A^\mathsf{T})\). The limiting quadratic form is \(Z^\mathsf{T}(A\Sigma A^\mathsf{T})^{-1}Z\). Whitening \(Z\) by the inverse square root of its covariance produces a \(q\)-dimensional standard normal vector, whose squared Euclidean length has a \(\chi^2_q\) distribution. Therefore \(W\xrightarrow{d}\chi^2_q\). \(\square\)

The covariance transformation used above follows directly from the definition of covariance. If \(U=A\hat\theta\), then \(E[U]=AE[\hat\theta]\), and

$$ \operatorname{Cov}(U) =E\left[(A\hat\theta-AE[\hat\theta])(A\hat\theta-AE[\hat\theta])^\mathsf{T}\right] =A\operatorname{Cov}(\hat\theta)A^\mathsf{T}. $$

Thus the off-diagonal entries of the transformed covariance are not optional: they encode how the estimated contrasts move together. This also explains why a joint Wald test is not generally the sum of separate squared \(z\)-statistics.

Common Pitfalls

  • Testing each cutpoint slope against zero instead of testing their differences. These are different hypotheses. Parallel regression requires equality across cutpoints; the slopes may all be nonzero and still be parallel.
  • Ignoring covariance. The variance of \(\hat\beta_{jr}-\hat\beta_{1r}\) is the sum of the two variances minus twice their covariance. Omitting that term can change both the standard error and the conclusion.
  • Counting restrictions incorrectly. For \(p\) predictors and \(J\) cutpoints, the full parallel-slope null has \(p(J-1)\) independent restrictions, assuming the contrasts are identifiable.
  • Reading a nonsignificant result as proof of parallel slopes. A Wald test that does not reject says the data do not provide strong evidence against the specified equality at the chosen level; it does not establish exact equality.

Wald tests are convenient because they use a fitted model’s estimates and covariance matrix. Their approximation can be poor when estimates are imprecise, the likelihood is irregular, or the fitted covariance matrix is nearly singular. Those conditions call for careful interpretation of the result rather than a mechanical reading of the reference \(p\)-value.

Check Your Understanding

Use the definitions and calculations above to answer these questions.

  1. With four cutpoints, how many reference-cutpoint contrasts are needed to test parallel slopes for one predictor?
  2. For a scalar contrast, explain why its estimated variance includes a covariance term.
  3. A joint test uses three linearly independent contrasts. Which chi-square degrees of freedom are used, and what determines that number?
  4. What hypothesis is tested by comparing \(\beta_{3r}\) with \(\beta_{1r}\), and how does it differ from testing \(\beta_{3r}=0\)?
  5. Why can a collection of separate Wald tests fail to give the same result as one joint Wald test?
Clinical Biostats