Why Diagnose Continuous Predictors Visually?
In a proportional-odds cumulative-logit model, a continuous predictor has one slope shared across response cutpoints. A plot can help show whether the observed cumulative-logit trends are broadly compatible with that restriction. For a continuous predictor, however, observations rarely repeat at exactly the same covariate values. Grouping nearby values into bins makes an empirical display possible, but also discards information and averages probabilities. The resulting picture is useful for diagnosis, not a direct estimate or proof of the model’s assumptions.
Let the ordered response \(Y\) have categories \(1,\ldots,K\), and let \(x\) be a continuous predictor. We use the cumulative-logit convention \(\operatorname{logit}\{P(Y\leq j\mid x)\}=\theta_j-\beta x\), for \(j=1,\ldots,K-1\), where \(\operatorname{logit}(p)=\log\{p/(1-p)\}\). Parallel slopes means that the same \(\beta\) applies at each cutpoint; the thresholds \(\theta_j\) differ.
A representative value is often the bin’s mean or median covariate value. If the points for different cutpoints follow roughly parallel trends, that is descriptive support for similar slopes over the observed range. Curvature suggests that a single straight-line trend may be inadequate; changing slopes across cutpoints suggest possible nonparallelism. Neither pattern alone identifies its cause.
Reading Slopes From a Grouped Display
For equally spaced representative values, adjacent-point differences give simple descriptive slopes. For unequal spacing, divide each logit difference by the corresponding covariate difference. The following calculation makes clear what this visual comparison measures.
To verify the result, the line through \((x_b,\hat\eta_{jb})\) and \((x_{b+1},\hat\eta_{j,b+1})\) has slope equal to its vertical change divided by its horizontal change. Substituting the two coordinates gives exactly \(d_{jb}\). If the underlying cumulative logit is linear and each bin contains a single covariate value \(x_b\), then the model gives \(\eta_{jb}=\theta_j-\beta x_b\), so
The threshold cancels, leaving the same slope at every cutpoint. With real grouped data, the plotted logits are calculated from empirical proportions and bins typically contain a range of \(x\)-values. Thus the observed differences also reflect sampling variation and within-bin averaging.
Worked Example: Comparing Adjacent Slopes Across Cutpoints
Suppose a three-category response is observed in three bins with representative covariate values \(0,1,2\). Each bin contains 100 observations. The category counts are \((30,40,30)\), \((15,35,50)\), and \((5,20,75)\), respectively. Calculate the grouped logits and adjacent slopes for both cutpoints.
At the first cutpoint, the cumulative counts are 30, 15, and 5. The proportions are \(0.30,0.15,0.05\), giving logits \(\log(30/70)=-0.8473\), \(\log(15/85)=-1.7346\), and \(\log(5/95)=-2.9444\). Since the representative values are one unit apart, the adjacent slopes are \(-1.7346-(-0.8473)=-0.8873\) and \(-2.9444-(-1.7346)=-1.2098\).
At the second cutpoint, the cumulative counts are 70, 50, and 25. The proportions are \(0.70,0.50,0.25\), and the logits are \(\log(70/30)=0.8473\), \(\log(50/50)=0\), and \(\log(25/75)=-1.0986\). The adjacent slopes are \(0-0.8473=-0.8473\) and \(-1.0986-0=-1.0986\).
Both cutpoints show decreasing trends, and their approximate slopes are of similar magnitude. There is nevertheless noticeable variation between the two intervals, especially at the first cutpoint. This display can prompt closer assessment of linearity and slope similarity; it does not establish that either assumption holds.
Why Binning Can Change the Picture
Binning does not simply replace each covariate value by the bin mean in the cumulative-logit model. The bin’s empirical cumulative proportion averages individual probabilities, and the logit is then applied to that average. In general, applying a nonlinear function after averaging is not the same as averaging its values.
This follows directly from conditioning on the covariate values in the bin: average the conditional probability \(\operatorname{expit}(\theta_j-\beta X)\) over the bin’s distribution of \(X\). The alternative expression instead evaluates the probability function at the bin mean. These are equal if \(X\) is constant within the bin, but need not be equal otherwise. The next example shows that even a truly shared individual-level slope can yield different grouped slopes.
Worked Example: A Shared Slope With Different Grouped Trends
Let the individual-level cumulative probabilities follow \(\operatorname{logit}\{P(Y\leq j\mid x)\}=\theta_j-x\), so the slope is \(-1\) at every cutpoint. Consider two bins: the first contains equal numbers at \(x=0\) and \(x=2\), and the second equal numbers at \(x=1\) and \(x=3\). Their mean covariate values are 1 and 2.
For the first cutpoint, take \(\theta_1=0\). In the first bin the two cumulative probabilities are \(\operatorname{expit}(0)=0.5\) and \(\operatorname{expit}(-2)\approx0.119203\). Their mean is \(0.309601\), whose logit is approximately \(-0.80199\). In the second bin the probabilities are \(\operatorname{expit}(-1)\approx0.268941\) and \(\operatorname{expit}(-3)\approx0.047426\). Their mean is \(0.158184\), whose logit is approximately \(-1.67176\). The grouped slope is therefore approximately \(-1.67176-(-0.80199)=-0.86977\).
For a second cutpoint, take \(\theta_2=2\). In the first bin, the probabilities are \(\operatorname{expit}(2)\approx0.880797\) and \(\operatorname{expit}(0)=0.5\). Their mean is \(0.690399\), with logit approximately \(0.80199\). In the second bin the probabilities are \(\operatorname{expit}(1)\approx0.731059\) and \(\operatorname{expit}(-1)\approx0.268941\). Their mean is exactly \(0.5\), with logit 0. The grouped slope is \(0-0.80199=-0.80199\).
The individual-level slope is \(-1\) at both cutpoints, but the grouped slopes differ: approximately \(-0.86977\) and \(-0.80199\). This does not contradict proportional odds. It shows that binning can create apparent differences through probability averaging, even with the same covariate values represented within each bin.
Linearity, Bin Choices, and Sparse Extremes
A proportional-odds restriction concerns slope equality across cutpoints; it does not guarantee that a chosen continuous-predictor mean structure is appropriate. If the actual cumulative-logit trends curve with \(x\), fitting or judging them as straight lines can confuse curvature with slope differences. A useful display should therefore be read for both shape and parallelism: curved but similarly shaped trends raise a different concern from roughly straight trends with visibly different slopes.
The choice of bins also matters. Narrow bins preserve local covariate detail but may contain too few observations for stable cumulative proportions. Wide bins stabilize proportions by pooling observations, but conceal local changes and make within-bin averaging more consequential. Different reasonable bin boundaries can shift the points. Report the binning rule and, when conclusions appear sensitive, compare a small number of sensible alternatives rather than selecting boundaries to produce a preferred pattern.
At a cutpoint, a bin with \(N_{jb}=0\) has empirical cumulative proportion zero, and a bin with \(N_{jb}=n_b\) has proportion one. Their empirical logits are respectively \(-\infty\) and \(+\infty\), so a finite plotted point or slope is unavailable. These cases are especially common at covariate extremes, where fewer observations may be available. Adding a constant to counts can make a finite plotting value, but changes the empirical proportion; it is a display convention, not a remedy that supplies information or validates an assumption.
Worked Example: An Extreme Bin With an Undefined Finite Logit
Consider three bins, each with 10 responses in categories 1, 2, and 3. Let the category counts be \((0,2,8)\), \((2,4,4)\), and \((8,2,0)\). At the first cutpoint, the cumulative counts are 0, 2, and 8, so the cumulative proportions are \(0,0.2,0.8\). The first logit is \(\log\{0/(1-0)\}=-\infty\); the other two are \(\log(0.2/0.8)=-1.3863\) and \(\log(0.8/0.2)=1.3863\).
At the second cutpoint the cumulative counts are 2, 6, and 10, giving proportions \(0.2,0.6,1\). The first two logits are \(-1.3863\) and \(\log(0.6/0.4)=0.4055\); the last is \(+\infty\). Thus both cutpoints have an extreme-bin point that cannot be represented by a finite empirical logit. With only 10 observations per bin, changing one response across a cutpoint changes the cumulative proportion by \(1/10=0.1\), a substantial step. A smooth trend inferred from these few points would be unwarranted.
Using the Diagnostic Responsibly
A grouped plot is best treated as an exploratory summary. It can reveal an obvious departure from straight, parallel trends over the observed covariate range, identify bins where estimates are unstable, and suggest where a model’s functional form deserves attention. It cannot by itself distinguish sampling noise from a genuine violation, and similarity in a small number of grouped points does not establish proportional odds. Formal tests address different questions and have their own assumptions and limitations.
A common mistake is to treat nearly parallel grouped lines as proof that the continuous predictor has a common linear slope. That reasoning overlooks the fact that the points are empirical logits of averaged outcomes, not individual conditional logits. Binning, nonlinear trends, and sparse bins can all mask or create apparent differences. The correction is to describe the display as evidence about the pattern in the data, note its binning and precision limitations, and consider the fitted model and other diagnostics before drawing a conclusion.
Check Your Understanding
Use the definitions and examples above to answer these questions.
- Why do parallel individual-level cumulative logits have slope \(-\beta\) under the convention used here?
- For unequal bin spacing, how should you calculate the slope between adjacent plotted points?
- Why can averaging cumulative probabilities within bins produce different grouped slopes even when the individual-level slopes are equal?
- What does an empirical cumulative logit equal when a bin’s cumulative proportion is zero or one?
- How can wider bins improve one feature of a display while making another feature less informative?