Tutorials › Generalized Linear Models › Sparse Categories and Unreliable Proportional-Odds Tests

Ordinal Assumptions and Extensions · Tutorial 558 of 981

Sparse Categories and Unreliable Proportional-Odds Tests

See why sparse ordinal categories can make cutpoints and asymptotic tests unreliable, and how to assess whether pooling preserves a meaningful outcome.

Advanced 10 min read

What You'll Learn

  • Relate category counts to cumulative probabilities and estimated cutpoint gaps
  • Identify boundary estimates that arise when a response category is empty
  • Explain why rare cumulative events provide little information about a cutpoint
  • Recognize warning signs in standard errors, fitted probabilities, and test results
  • State the regularity conditions behind common asymptotic tests
  • Assess when pooling adjacent response categories changes the outcome too much

Why Sparse Categories Matter

An ordinal model uses the order of response categories as well as their frequencies. In a proportional-odds cumulative-logit model with categories \(1,\ldots,K\), the convention here is

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

where \(\alpha_1<\cdots<\alpha_{K-1}\) are the cutpoints and \(\beta\) is the common slope vector. The probability of category \(j\) is the difference between two adjacent cumulative probabilities. Thus, a category with very few observations corresponds to a small difference between cumulative probabilities, and an empty category corresponds to a zero difference in the empirical distribution.

Sparse categories do not automatically make a model invalid. They do, however, make some parts of the likelihood weakly informed by the data. That can lead to unstable cutpoints, large or misleading standard errors, extreme fitted probabilities, and poor finite-sample approximations for tests of parallel slopes.

Definition: A response category is empty in a data set if its observed count is zero, and sparse if its count is small relative to the sample size or to the number of predictor patterns being modeled. There is no universal count threshold that separates sparse from adequate. For estimation and testing, also examine category counts within important covariate groups and the fitted expected counts.

Cutpoints and Category Counts

In an intercept-only cumulative-logit model, let \(p_k=P(Y=k)\), and let \(F_j=P(Y\leq j)=\sum_{k=1}^j p_k\). The cutpoint is \(\alpha_j=\operatorname{logit}(F_j)\). The gap between adjacent cutpoints is

$$ \alpha_j-\alpha_{j-1} =\operatorname{logit}(F_j)-\operatorname{logit}(F_{j-1}),\qquad j=2,\ldots,K-1. $$

When category \(j\) is rare, \(F_j-F_{j-1}=p_j\) is small, so these cutpoints can be close. A small gap is not itself an error: it reflects the small probability assigned to that category. It does mean that the data must distinguish two nearby cumulative probabilities to estimate the corresponding thresholds reliably.

Worked Example: A Rare Category Produces Nearby Cutpoints

Suppose an intercept-only model has three ordered categories, with observed counts \(36,2,62\) out of \(100\). The empirical cumulative proportions are \(\widehat F_1=0.36\) and \(\widehat F_2=0.38\). The cutpoint estimates are

$$ \widehat\alpha_1=\log(0.36/0.64)=\log(0.5625)\approx-0.57536, $$
$$ \widehat\alpha_2=\log(0.38/0.62)\approx-0.48955. $$

Their difference is

$$ \widehat\alpha_2-\widehat\alpha_1 =\log(0.38/0.62)-\log(0.36/0.64) \approx 0.08582. $$

The two cutpoints are close because category 2 accounts for only \(2\%\) of the sample. They remain ordered, as they must, but a small change in the estimated cumulative proportions can substantially affect this small gap. It would be a mistake to interpret the gap as evidence that the response categories themselves are almost identical; it describes fitted probabilities on the cumulative-logit scale.

Result: In the intercept-only ordinal model, the likelihood estimate of each category probability is its observed proportion. If a category has count zero, the likelihood is maximized at a boundary with that category probability equal to zero. The corresponding adjacent cutpoints coincide, so there is no finite estimate satisfying strictly ordered cutpoints.

Derivation. Write the counts as \(n_1,\ldots,n_K\), with total \(n\), and let \(p_k\) be candidate category probabilities summing to one. Ignoring the multinomial coefficient, the likelihood is \(L=\prod_k p_k^{n_k}\). For any candidate with positive probabilities wherever \(n_k>0\), use \(\log u\leq u-1\):

$$ \ell(p)-\ell(\widehat p) =\sum_{k:n_k>0} n_k\log\left(\frac{p_k}{n_k/n}\right) \leq \sum_{k:n_k>0} n_k\left(\frac{p_k}{n_k/n}-1\right) =n\sum_{k:n_k>0}p_k-n\leq0. $$

Equality is achieved by \(p_k=n_k/n\) for positive counts and \(p_k=0\) for zero counts. If category \(j\) is empty, its fitted probability is zero; hence \(F_j=F_{j-1}\), and \(\operatorname{logit}(F_j)=\operatorname{logit}(F_{j-1})\) whenever these cumulative probabilities are interior. A model constrained to have strictly increasing cutpoints can approach this likelihood but cannot attain it at a finite, strictly ordered solution. This exact boundary conclusion is for the intercept-only model; with predictors, an empty overall category can have more complicated consequences, but it remains a serious warning about weak identification or boundary behavior. \(\square\)

Why Rare Cumulative Events Carry Little Information

A useful way to see the information problem is to focus on a single cumulative event, such as \(Y\leq j\), and write its probability as \(q=\operatorname{logit}^{-1}(\alpha)\). For \(n\) independent observations, the indicators of this event are Bernoulli with probability \(q\). The log-likelihood for \(\alpha\), up to a constant, is \(r\log q+(n-r)\log(1-q)\), where \(r\) is the number of events.

Result: For this binary cumulative likelihood, the Fisher information for the cutpoint parameter \(\alpha\) is \(nq(1-q)\). Thus information becomes small when the cumulative probability is near zero or one; the approximate standard error \(1/\sqrt{nq(1-q)}\) becomes large.

Derivation. Since \(dq/d\alpha=q(1-q)\), differentiating the log-likelihood gives the score \(r-nq\). Its variance is \(\operatorname{Var}(r)=nq(1-q)\), which is the Fisher information. Equivalently, the negative expected second derivative is \(nq(1-q)\). When \(q\) is close to zero or one, this quantity is small. In an ordinal model the cutpoints are jointly estimated and the cumulative indicators are dependent, so this calculation is not the full information matrix. It does establish why a threshold supported by very few observations on one side can be poorly estimated. \(\square\)

Worked Example: A Rare Cumulative Event and Its Uncertainty

Suppose a cutpoint separates a lowest response category from all higher categories, and only \(2\) of \(100\) observations fall in that lowest category. The empirical cumulative probability is \(q=0.02\), giving the intercept-only cutpoint estimate

$$ \widehat\alpha=\log(0.02/0.98)\approx-3.89182. $$

The plug-in information is \(nq(1-q)=100(0.02)(0.98)=1.96\), so the corresponding first-order standard-error calculation is

$$ 1/\sqrt{1.96}\approx0.714. $$

This is a large uncertainty on the logit scale. The calculation is an information-based approximation, not a guarantee that a normal approximation is accurate with just two events. If the count were zero, the empirical logit would not be finite at all. A model with predictors may change the estimate, but it cannot create information about a rare outcome pattern that the observed data do not contain.

Symptoms in Fits and Proportional-Odds Tests

Sparse response categories can affect both the fitted model and tests of the parallel-slopes restriction. Likelihood-ratio, Wald, and score tests are commonly compared with chi-square reference distributions under the null hypothesis. Their standard large-sample justification requires, among other conditions, a correctly specified model, independent observations, an identifiable true parameter in the interior of the parameter space, differentiability and finite information, and a nonsingular information matrix. The model dimension is held fixed as sample size grows. If category probabilities are positive and fixed, expected counts grow with sample size; a category that remains rare as the sample grows, or whose probability approaches zero, need not satisfy the same useful approximation.

A small sample count is therefore a warning, not a proof that a test is invalid. Conversely, a large total sample does not guarantee safety if a response category is absent in a covariate group or if a fitted cumulative probability is nearly zero or one. For a Wald test, a very large standard error can make the statistic uninformative; near-boundary estimates can also make its normal approximation poor. A likelihood-ratio statistic can have a nonstandard finite-sample distribution near a boundary, while a score test still relies on adequate information under the null. None of the three tests repairs an absence of data support.

Worked Example: One Empty Cell Can Destabilize a Cutpoint-Specific Comparison

Consider two groups, each with \(40\) observations, and three ordered response categories:

GroupCategory 1Category 2Category 3Total
A2020040
B10201040

At the first cutpoint, the empirical cumulative proportions are \(20/40=0.50\) in A and \(10/40=0.25\) in B. Their empirical logits are \(0\) and \(\log(0.25/0.75)=\log(1/3)\approx-1.0986\), a finite difference of approximately \(1.0986\).

At the second cutpoint, the cumulative proportions are \(40/40=1\) in A and \(30/40=0.75\) in B. The empirical logit for A is \(+\infty\), while the one for B is \(\log(3)\approx1.0986\). Thus the cutpoint-specific empirical comparison at the second threshold is not finite. This does not prove that a proportional-odds fit must have an infinite common slope: that model uses information across thresholds. It does show why a test or diagnostic relying on separately estimated cutpoint effects can be unstable here, and why a finite output from software should be checked for boundary warnings and large uncertainty.

Practical warning signs include nonconvergence, extreme coefficients or cutpoints, large standard errors, a nearly singular estimated information matrix, strong parameter correlations, fitted category probabilities near zero, and very small expected counts within predictor patterns. Also inspect the observed and fitted counts by category and by scientifically important covariate groups. An overall category count can conceal a group with no observations in that category, which may be more consequential for a slope comparison.

When Is Pooling Defensible?

Pooling replaces adjacent response categories with a combined category. It changes the response being modeled: after pooling, the model no longer estimates a cutpoint separating the two original categories. This can be sensible if the distinction is not meaningful for the scientific question or cannot be measured reliably. It is not a purely numerical repair that leaves the estimand unchanged.

Worked Example: Pooling an Adjacent Category

Suppose a four-level clinical outcome has counts \(30,2,28,40\), ordered from least to most severe. The second level is rare. If clinical experts judge levels 1 and 2 to be indistinguishable for the analysis at hand, combining them gives three levels with counts \(32,28,40\). The original first two cumulative proportions were \(0.30\) and \(0.32\), with cutpoints

$$ \operatorname{logit}(0.30)\approx-0.84730,\qquad \operatorname{logit}(0.32)\approx-0.75377. $$

Their gap is about \(0.09353\), reflecting the two observations in level 2. After pooling, the new cumulative proportions are \(0.32\) and \(0.60\), with cutpoints

$$ \operatorname{logit}(0.32)\approx-0.75377,\qquad \operatorname{logit}(0.60)=\log(1.5)\approx0.40547. $$

The threshold distinguishing levels 1 and 2 has disappeared. The new model can be more stable, but it answers a different question: it distinguishes the combined lower outcome from the higher levels, rather than distinguishing level 1 from level 2. Pooling is defensible here only if that loss of distinction is acceptable substantively, not merely because it produces more convenient standard errors.

Before pooling, consider the following checks:

  • Respect order. Pool adjacent categories, not separated categories, so the resulting outcome remains ordered.
  • Preserve meaning. Explain why the merged categories can reasonably be treated as one outcome for this scientific purpose.
  • Use a defensible decision rule. Prefer a prespecified or substantively justified rule over repeated data-driven pooling until a test becomes significant.
  • Report the change. State which categories were combined, why, and how the resulting model changes the interpretation.
  • Check alternatives. Compare conclusions with and without pooling when estimation permits, and be transparent if the unpooled fit is unstable.

Pooling does not guarantee reliable inference: the remaining categories can still be sparse, and sparse covariate patterns can persist. Nor does it establish the proportional-odds assumption. It addresses category support by changing the response scale; the model assumptions and tests still require separate assessment.

Common Mistake

Wrong reasoning: “The proportional-odds test is not significant, so parallel slopes are established, even though one response category has only two observations.” A nonsignificant statistic may reflect weak information rather than strong support for the null, and its reference distribution may be inaccurate in a sparse sample.

Correction: Inspect category and covariate-pattern counts, fitted probabilities, convergence, standard errors, and the conditions behind the test approximation. Report the test as limited evidence when sparse data make it unstable; do not treat a nonsignificant result as proof of proportional odds. Pool categories only if their substantive meaning justifies the changed outcome.

Key takeaway: Empty categories can place cutpoint estimates on a boundary; rare categories can make nearby thresholds weakly identified. Sparse data can undermine both standard-error calculations and asymptotic tests, especially within predictor groups. Pooling may help only when adjacent categories can be combined without sacrificing a distinction essential to the scientific question.

Check Your Understanding

Answer each question by connecting the category counts to the model or inference concern.

  1. In an intercept-only ordinal model, why does an empty middle category lead to coincident adjacent empirical cutpoints?
  2. What happens to the information \(nq(1-q)\) for a cumulative-logit cutpoint as \(q\) approaches zero?
  3. Why can a large overall sample still have an unstable cutpoint-specific comparison?
  4. Name two symptoms that would prompt you to investigate a proportional-odds test based on sparse categories.
  5. What scientific consideration must be addressed before merging two adjacent response categories?
Clinical Biostats