Tutorials › Generalized Linear Models › How Covariate Changes Shift Category Probabilities

Cumulative Link Models · Tutorial 541 of 981

How Covariate Changes Shift Category Probabilities

Learn to calculate and interpret changes in fitted ordinal-category probabilities across covariate values, including why an interior category can gain probability as others lose it.

Intermediate 12 min read

What You'll Learn

  • Compare fitted cumulative probabilities and category probabilities at two covariate values
  • Interpret the direction of cumulative-probability changes under a shared slope
  • Explain how an interior category can gain probability even when cumulative probabilities all move in one direction
  • Derive the change in each category probability from changes in adjacent cumulative probabilities
  • Use the density of a link distribution to understand local changes in category probabilities
  • Check that probability changes sum to zero

From Cumulative Probabilities to Category Changes

A cumulative link model describes how covariates shift the probability of being at or below each response threshold. But an applied question often concerns a particular response category: for example, how does the fitted probability of “moderate” disease severity change as a predictor increases? The answer is not generally determined by the direction of one cumulative probability alone. An interior category’s probability is the difference between two cumulative probabilities, and both can change together.

Consider an ordinal response \(Y\) with ordered categories \(1,\ldots,K\) and a single covariate \(x\). Use the cumulative link form \(P(Y\leq j\mid x)=F(\alpha_j-\beta x)\), where \(F\) is a cumulative distribution function, \(\alpha_1<\cdots<\alpha_{K-1}\) are thresholds, and \(\beta\) is the common slope. Define \(G_j(x)=P(Y\leq j\mid x)\), and set \(G_0(x)=0\) and \(G_K(x)=1\). The category probabilities are \(p_k(x)=G_k(x)-G_{k-1}(x)\).

Definition: For two covariate values \(x_0\) and \(x_1\), the change in the fitted probability of category \(k\) is \(\Delta p_k=p_k(x_1)-p_k(x_0)\). Likewise, \(\Delta G_j=G_j(x_1)-G_j(x_0)\) is the change in the cumulative probability through category \(j\).

If \(\beta>0\) and \(x_1>x_0\), then \(\alpha_j-\beta x_1<\alpha_j-\beta x_0\). Because a cumulative distribution function is nondecreasing, \(G_j(x_1)\leq G_j(x_0)\) for every cutpoint. These inequalities need not be strict: \(F\) can be flat between the two arguments. The model therefore gives a clear direction for each cumulative probability, but not a common direction for all category probabilities.

Worked Comparisons

Worked Example: An Interior Category Gains Probability

Use a cumulative logit model with three categories, thresholds \(\alpha_1=1\) and \(\alpha_2=2\), and slope \(\beta=1\). Compare \(x_0=0\) with \(x_1=1\). The logistic CDF is \(F(z)=1/(1+e^{-z})\).

At \(x_0=0\), the cumulative probabilities are \(G_1(0)=F(1)=0.7310585786\) and \(G_2(0)=F(2)=0.8807970780\). Differencing gives

$$ (p_1(0),p_2(0),p_3(0)) =(0.7310585786,\ 0.1497384994,\ 0.1192029220). $$

At \(x_1=1\), the arguments of \(F\) are \(0\) and \(1\), so \(G_1(1)=F(0)=0.5\) and \(G_2(1)=F(1)=0.7310585786\). Thus

$$ (p_1(1),p_2(1),p_3(1)) =(0.5000000000,\ 0.2310585786,\ 0.2689414214). $$

Subtracting the probabilities at \(x_0\) from those at \(x_1\), using the unrounded values, gives

$$ (\Delta p_1,\Delta p_2,\Delta p_3) =(-0.2310585786,\ +0.0813200792,\ +0.1497384994). $$

The first cumulative probability falls, as expected for a positive slope and an increase in \(x\). Nevertheless, category 2 gains probability: the interval of logistic probability between the two shifted thresholds has become wider. The gains in categories 2 and 3 exactly balance the loss in category 1.

Worked Example: Several Categories Can Move Differently

Take a four-category cumulative logit model with thresholds \(-1,0,1\), slope \(\beta=1\), and covariate values \(x_0=0\) and \(x_1=1\). At \(x_0\), the cumulative probabilities are \(F(-1)=0.2689414214\), \(F(0)=0.5000000000\), and \(F(1)=0.7310585786\). The four category probabilities are

$$ (p_1(0),p_2(0),p_3(0),p_4(0)) =(0.2689414214,\ 0.2310585786,\ 0.2310585786,\ 0.2689414214). $$

At \(x_1=1\), the three arguments become \(-2,-1,0\). The corresponding cumulative probabilities are \(F(-2)=0.1192029220\), \(F(-1)=0.2689414214\), and \(F(0)=0.5000000000\). Differencing, including the endpoint categories, gives

$$ (p_1(1),p_2(1),p_3(1),p_4(1)) =(0.1192029220,\ 0.1497384994,\ 0.2310585786,\ 0.5000000000). $$

Using these unrounded probabilities, the changes to six decimal places are

$$ (\Delta p_1,\Delta p_2,\Delta p_3,\Delta p_4) =(-0.149738,\ -0.081320,\ 0.000000,\ +0.231059). $$

The shared slope shifts all three cumulative probabilities downward or leaves them unchanged in direction, but category 3 has no net change, while categories 1 and 2 lose probability and category 4 gains it. The displayed changes sum to \(0.000001\) only because each is rounded; the unrounded changes sum exactly to zero.

Worked Example: A Negative Slope Reverses the Cumulative Direction

Use a cumulative probit model with three categories, thresholds \(\alpha_1=-1\) and \(\alpha_2=1\), and slope \(\beta=-1\). Compare \(x_0=0\) and \(x_1=1\), with \(F=\Phi\), the standard normal CDF. At \(x_0\), the cumulative probabilities are \(\Phi(-1)=0.1586552539\) and \(\Phi(1)=0.8413447461\), giving

$$ (p_1(0),p_2(0),p_3(0)) =(0.1586552539,\ 0.6826894922,\ 0.1586552539). $$

At \(x_1=1\), the threshold arguments are \(0\) and \(2\). Since \(\Phi(0)=0.5\) and \(\Phi(2)=0.9772498681\), the fitted category probabilities are

$$ (p_1(1),p_2(1),p_3(1)) =(0.5000000000,\ 0.4772498681,\ 0.0227501319). $$

The changes, calculated before rounding, are

$$ (\Delta p_1,\Delta p_2,\Delta p_3) =(+0.3413447461,\ -0.2054396241,\ -0.1359051220). $$

Here \(\beta<0\), so increasing \(x\) increases each threshold argument and hence each cumulative probability. That does not mean every category gains probability: the middle category’s probability is the difference of two increasing cumulative probabilities, and in this example that difference shrinks.

Why Category Probabilities Can Move in Opposite Directions

The algebra identifies exactly how changes in adjacent cumulative probabilities combine. For an interior category \(k\), its probability is \(G_k-G_{k-1}\); therefore its change is \(\Delta G_k-\Delta G_{k-1}\). Even if both cumulative probabilities decrease, this difference can be positive, negative, or zero. It is positive when the lower cumulative probability decreases by more than the upper one.

Result: Under the cumulative link model, \(\Delta p_1=\Delta G_1\), \(\Delta p_k=\Delta G_k-\Delta G_{k-1}\) for \(2\leq k\leq K-1\), and \(\Delta p_K=-\Delta G_{K-1}\). Consequently, \(\sum_{k=1}^{K}\Delta p_k=0\).

To verify the result, write \(p_k(x)=G_k(x)-G_{k-1}(x)\), with \(G_0(x)=0\) and \(G_K(x)=1\). For the first category, subtracting its probabilities at the two covariate values gives \(\Delta p_1=\Delta G_1\). For an interior category, subtract the two differences:

$$ \Delta p_k =[G_k(x_1)-G_{k-1}(x_1)]-[G_k(x_0)-G_{k-1}(x_0)] =\Delta G_k-\Delta G_{k-1}. $$

For the last category, \(p_K(x)=1-G_{K-1}(x)\), so \(\Delta p_K=-\Delta G_{K-1}\). Summing these expressions, the endpoint terms contribute \(\Delta G_1-\Delta G_{K-1}\), while the interior terms telescope:

$$ \sum_{k=2}^{K-1}(\Delta G_k-\Delta G_{k-1}) =\Delta G_{K-1}-\Delta G_1. $$

The endpoint and interior contributions cancel, proving that the total change is zero. This is also required because the category probabilities sum to one at each covariate value. \(\square\)

A density gives a local view of these changes. Suppose \(F\) has a continuous density \(f\), and write \(t_j(x)=\alpha_j-\beta x\). The chain rule gives the derivatives of the category probabilities.

Result: If \(F\) has a continuous density \(f\), then \(\frac{d}{dx}p_1(x)=-\beta f(t_1(x))\), \(\frac{d}{dx}p_k(x)=-\beta[f(t_k(x))-f(t_{k-1}(x))]\) for \(2\leq k\leq K-1\), and \(\frac{d}{dx}p_K(x)=\beta f(t_{K-1}(x))\).

For the first category, \(p_1(x)=F(t_1(x))\), and \(t_1'(x)=-\beta\), so the chain rule gives \(p_1'(x)=-\beta f(t_1(x))\). For an interior category, subtract the derivatives of its two cumulative probabilities:

$$ p_k'(x)=\frac{d}{dx}\{F(t_k(x))-F(t_{k-1}(x))\} =-\beta f(t_k(x))+\beta f(t_{k-1}(x)). $$

Finally, \(p_K(x)=1-F(t_{K-1}(x))\), so differentiating gives \(p_K'(x)=\beta f(t_{K-1}(x))\). These expressions show why an interior category’s direction depends on the density at two threshold arguments, rather than on the sign of \(\beta\) alone. \(\square\)

Interpretation and Common Pitfall

The common slope controls how the cumulative probabilities shift across cutpoints. It does not say that every individual category probability shifts in the same direction. The two endpoint categories each depend on one cumulative probability, while every interior category depends on the difference between two. When reporting results, it is therefore useful to distinguish a statement about \(P(Y\leq j\mid x)\) from one about \(P(Y=k\mid x)\).

  • Common mistake: “The slope is positive, so every category probability must decrease as \(x\) increases.” This incorrectly applies the direction of the cumulative probabilities to each category separately.
  • Correction: For \(\beta>0\) and \(x_1>x_0\), each cumulative probability is nonincreasing, but an interior probability changes by \(\Delta G_k-\Delta G_{k-1}\). Its sign depends on the relative sizes of those two changes.
  • Another check: The category-probability changes must sum to zero. If a calculation does not, check the differencing and endpoint categories, and avoid computing differences from prematurely rounded probabilities.

Comparing fitted probabilities at meaningful covariate values complements interpretation of the slope on the cumulative scale. It directly answers how the model reallocates probability among the response categories, while preserving the fact that the total probability remains one.

Check Your Understanding

Use the cumulative link model and probability-differencing rules to answer these questions.

  1. For \(\beta>0\) and \(x_1>x_0\), what can be concluded about each cumulative probability if \(F\) is only assumed to be nondecreasing? When is the inequality strict?
  2. For an interior category \(k\), express \(\Delta p_k\) in terms of changes in cumulative probabilities. State the condition under which it gains probability.
  3. Why must the sum of the changes in all \(K\) category probabilities equal zero?
  4. Under the density assumptions in the local-derivative result, what determines the sign of an interior category’s derivative when \(\beta>0\)?
  5. Why is it unsafe to calculate a small probability change by subtracting category probabilities that have already been rounded?
Clinical Biostats