Tutorials › Generalized Linear Models › Multiple Predictors in a Cumulative Link Model

Cumulative Link Models · Tutorial 542 of 981

Multiple Predictors in a Cumulative Link Model

Build a cumulative link model’s linear predictor from multiple covariates and use it to calculate and compare category probabilities.

Intermediate 10 min read

What You'll Learn

  • Write the linear predictor as a sum of covariate contributions.
  • Calculate cumulative probabilities for a specified combination of predictors.
  • Recover category probabilities from cumulative probabilities.
  • Compare predictor combinations while holding other covariates fixed.
  • Interpret the direction of cumulative probability and odds changes.
  • Explain why an individual category probability need not move in the same direction as every cumulative probability.

Combining Covariates in One Cumulative Link Model

An ordinal response often depends on several characteristics at once. For example, a patient’s ordered symptom rating may be associated with both age and a continuous measure of disease severity. A cumulative link model combines the covariates into one linear predictor; that predictor then shifts all cumulative probabilities together. The key calculation is to form the predictor for the particular covariate values of interest before evaluating any probabilities.

Suppose the response \(Y\) has \(K\) ordered categories, numbered \(1,\ldots,K\), and an observation has \(q\) covariates \(x_1,\ldots,x_q\). Write their coefficients as \(\beta_1,\ldots,\beta_q\). The cumulative link model uses ordered thresholds and a specified increasing distribution function \(G\), such as the logistic distribution function for a cumulative logit model or the standard normal distribution function for a cumulative probit model.

Definition: The linear predictor for covariate values \(x=(x_1,\ldots,x_q)\) is \(\eta(x)=\sum_{r=1}^{q}\beta_r x_r\). For thresholds \(\theta_1<\cdots<\theta_{K-1}\), the cumulative link model is \(P(Y\leq j\mid x)=G\bigl(\theta_j-\eta(x)\bigr)\), for \(j=1,\ldots,K-1\). The fitted probability for category \(j\) is obtained by differencing adjacent cumulative probabilities, with the first and last categories handled by the lower and upper endpoints.

The predictor is a sum of contributions, one for each covariate. A coefficient can be positive while its covariate value is negative, so the contribution \(\beta_r x_r\) can have either sign. The predictor is not itself a probability; it shifts the arguments supplied to \(G\). For a given observation, use the same \(\eta(x)\) at every threshold. The thresholds differ across cumulative splits, but the slopes are shared.

For clarity, define \(Q_j(x)=P(Y\leq j\mid x)\), and set \(Q_0(x)=0\) and \(Q_K(x)=1\). Then category probabilities are \(P(Y=j\mid x)=Q_j(x)-Q_{j-1}(x)\). This gives the endpoint formulas \(P(Y=1\mid x)=Q_1(x)\) and \(P(Y=K\mid x)=1-Q_{K-1}(x)\), as well as differences for the intermediate categories. Since \(G\) is increasing and the thresholds are ordered, the cumulative probabilities are ordered, so these differences are nonnegative.

Calculate the Predictor Before the Probabilities

A reliable calculation has two stages. First substitute the specified covariate values into the linear predictor and add the contributions. Then, for each threshold, subtract that predictor from the threshold, evaluate \(G\), and difference the cumulative probabilities to obtain the category probabilities. Keeping these stages separate helps prevent sign errors.

Worked Example: Four Categories with Two Covariates

Consider a cumulative logit model with four ordered response categories. Let \(\theta_1=-1\), \(\theta_2=0.5\), and \(\theta_3=1.5\), and let \(\eta=0.5x_1-0.4x_2\). Calculate the fitted category probabilities at \(x_1=2\) and \(x_2=1\).

Step 1: Calculate the linear predictor. The first covariate contributes \(0.5(2)=1\); the second contributes \(-0.4(1)=-0.4\). Thus \(\eta=1-0.4=0.6\).

Step 2: Calculate the cumulative probabilities. For the logistic distribution function \(G(t)=1/(1+e^{-t})\), the three arguments are \(-1-0.6=-1.6\), \(0.5-0.6=-0.1\), and \(1.5-0.6=0.9\). Therefore \(Q_1=G(-1.6)\approx0.1680\), \(Q_2=G(-0.1)\approx0.4750\), and \(Q_3=G(0.9)\approx0.7109\).

Step 3: Difference to obtain category probabilities. The first probability is \(P(Y=1\mid x)=Q_1\approx0.1680\). The second is \(Q_2-Q_1\approx0.4750208-0.1679816=0.3070392\), or \(0.3070\). The third is \(Q_3-Q_2\approx0.7109495-0.4750208=0.2359287\), or \(0.2359\). The fourth is \(1-Q_3\approx0.2891\).

The rounded probabilities are \(0.1680, 0.3070, 0.2359,\) and \(0.2891\). They sum to \(1.0000\), up to rounding, as required.

The calculated probabilities belong to the entire covariate combination, not to one predictor in isolation. To study one predictor’s change, compare two predictor combinations that differ in that covariate and hold the others fixed. The coefficient describes the change in the linear predictor per unit increase in its covariate; the resulting change in a particular category probability also depends on the thresholds, the other covariate values, and the link distribution.

What Changes When One Covariate Changes?

Let \(x_r\) change by an amount \(\Delta\), while all other covariates remain fixed. The new predictor is the old predictor plus \(\beta_r\Delta\). This simple contrast has a direct interpretation on the cumulative-link scale. In the cumulative logit model, it also gives a constant odds ratio at every threshold.

Result: If \(x_r\) changes to \(x_r+\Delta\) and the other covariates are fixed, then \(\eta\) changes by \(\beta_r\Delta\). For a cumulative logit model, the odds \(P(Y\leq j\mid x)/P(Y>j\mid x)\) are multiplied by \(\exp(-\beta_r\Delta)\) at every threshold \(j\). Equivalently, the odds \(P(Y>j\mid x)/P(Y\leq j\mid x)\) are multiplied by \(\exp(\beta_r\Delta)\).

Proof. Denote the original predictor by \(\eta\). After the change, the predictor is \(\eta_{\mathrm{new}}=\eta+\beta_r\Delta\), because only the \(r\)th contribution changes. In a cumulative logit model, \(\operatorname{logit}\{P(Y\leq j\mid x)\}=\theta_j-\eta\). The new cumulative log odds are \(\theta_j-\eta-\beta_r\Delta\), which differ from the original by \(-\beta_r\Delta\). Exponentiating gives the stated multiplier for the cumulative odds; taking the reciprocal gives the multiplier for the odds of being above the threshold. This holds for every \(j\) because the same slope \(\beta_r\) appears at every threshold. \(\square\)

Worked Example: Changing One Predictor While Holding Another Fixed

Suppose a three-category cumulative logit model has thresholds \(\theta_1=-0.5\) and \(\theta_2=0.8\), and predictor \(\eta=0.7x_1+0.3x_2\). Compare \(x_1=0\) with \(x_1=1\), holding \(x_2=2\) fixed.

At \(x_1=0\). The predictor is \(\eta=0.7(0)+0.3(2)=0.6\). The cumulative probabilities are \(Q_1=G(-0.5-0.6)=G(-1.1)\approx0.2497399\) and \(Q_2=G(0.8-0.6)=G(0.2)\approx0.5498340\). Thus the category probabilities are approximately \(0.2497\), \(0.5498340-0.2497399=0.3000941\), and \(1-0.5498340=0.4502\).

At \(x_1=1\). The predictor is \(\eta=0.7(1)+0.3(2)=1.3\). Now \(Q_1=G(-1.8)\approx0.1418511\) and \(Q_2=G(-0.5)\approx0.3775407\). The category probabilities are approximately \(0.1419\), \(0.3775407-0.1418511=0.2356896\), and \(1-0.3775407=0.6225\).

Increasing \(x_1\) by one raises the predictor by \(0.7\), with \(x_2\) unchanged. At each threshold, the odds of being above that threshold are multiplied by \(\exp(0.7)\approx2.0138\). The probability of the middle category decreases in this comparison, even though the probability of being above either threshold increases. A threshold-level odds interpretation does not mean every individual category probability moves in the same direction.

How Category Probabilities Respond Locally

The cumulative probabilities have a simple directional response to a covariate: when \(G\) has a density \(g\), their derivatives follow from the chain rule. The category probabilities are differences of cumulative probabilities, so their derivatives involve two density values. This explains why the direction of change for an interior category is not determined by the sign of a coefficient alone.

Result: Suppose \(G\) is differentiable with density \(g\). At a fixed covariate vector, for \(j=1,\ldots,K-1\), \(\dfrac{\partial Q_j(x)}{\partial x_r}=-\beta_r g\bigl(\theta_j-\eta(x)\bigr)\). For an interior category \(j\), where \(2\leq j\leq K-1\), \(\dfrac{\partial P(Y=j\mid x)}{\partial x_r}=\beta_r\left[g\bigl(\theta_{j-1}-\eta(x)\bigr)-g\bigl(\theta_j-\eta(x)\bigr)\right]\). For the first and last categories the derivatives are \(-\beta_r g(\theta_1-\eta)\) and \(\beta_r g(\theta_{K-1}-\eta)\), respectively.

Derivation. Since \(Q_j(x)=G(\theta_j-\eta(x))\) and \(\partial\eta(x)/\partial x_r=\beta_r\), the chain rule gives \(\partial Q_j(x)/\partial x_r=g(\theta_j-\eta)(-\beta_r)\), proving the cumulative derivative. For an interior category, \(P(Y=j\mid x)=Q_j(x)-Q_{j-1}(x)\). Subtract the derivative of \(Q_{j-1}\) from that of \(Q_j\): \(-\beta_r g(\theta_j-\eta)-[-\beta_r g(\theta_{j-1}-\eta)]\) \(=\beta_r[g(\theta_{j-1}-\eta)-g(\theta_j-\eta)]\). For the first category \(P(Y=1\mid x)=Q_1(x)\), so its derivative is the first cumulative derivative. For the last category \(P(Y=K\mid x)=1-Q_{K-1}(x)\), so its derivative is the negative of the last cumulative derivative. \(\square\)

Worked Example: A Cumulative Probit Model

Consider a four-category cumulative probit model with thresholds \(0,1,2\) and predictor \(\eta=0.5x_1-0.25x_2\). At \(x_1=2\) and \(x_2=0\), calculate the category probabilities.

The predictor is \(\eta=0.5(2)-0.25(0)=1\). The three cumulative probabilities are \(Q_1=\Phi(0-1)=\Phi(-1)\approx0.1586553\), \(Q_2=\Phi(1-1)=\Phi(0)=0.5\), and \(Q_3=\Phi(2-1)=\Phi(1)\approx0.8413447\), where \(\Phi\) is the standard normal distribution function.

Therefore \(P(Y=1\mid x)=0.1586553\); \(P(Y=2\mid x)=0.5-0.1586553=0.3413447\); \(P(Y=3\mid x)=0.8413447-0.5=0.3413447\); and \(P(Y=4\mid x)=1-0.8413447=0.1586553\). Rounded to four decimal places, the probabilities are \(0.1587, 0.3413, 0.3413,\) and \(0.1587\), which sum to \(1.0000\).

Common Pitfalls and a Practical Check

A frequent mistake is to apply each coefficient directly to a probability, as if a coefficient of \(0.7\) meant that a category probability increases by \(0.7\). It does not. The coefficients add to form \(\eta\), which shifts the cumulative-link arguments; probabilities are obtained only after applying \(G\) and differencing the cumulative values. In a logit model, exponentiating a coefficient gives an odds multiplier for a specified cumulative contrast, not an additive probability change.

Another common error is to change one covariate but inadvertently change another as well. A comparison intended to describe \(x_r\) should explicitly state the fixed values of the remaining predictors. Also check the sign convention in the model equation: with \(G(\theta_j-\eta)\), a positive coefficient lowers \(P(Y\leq j\mid x)\) as its covariate increases, whereas a model written with the opposite sign convention would require a corresponding change in interpretation.

As a final arithmetic check, verify that cumulative probabilities are nondecreasing in \(j\), each category probability is nonnegative, and all category probabilities sum to one. These checks can reveal a sign mistake, a subtraction error, or use of inconsistent predictor values across thresholds.

Check Your Understanding

Work through these questions by first forming the predictor and then calculating or interpreting the cumulative probabilities.

  1. A model has \(\eta=0.4x_1-0.2x_2\). Calculate \(\eta\) at \(x_1=3\), \(x_2=2\), and identify each covariate’s contribution.
  2. In a cumulative logit model, what multiplier applies to the odds of \(Y>j\) when \(x_r\) increases by two units, with all other predictors fixed?
  3. Why can an increase in a predictor raise the probability of the highest category while lowering the probability of an intermediate category?
  4. For cumulative probabilities \(Q_1=0.2\), \(Q_2=0.65\), and \(Q_3=0.9\), find the four category probabilities.
  5. When comparing two predictor combinations to describe the effect of one covariate, what must be held constant?
Clinical Biostats