Tutorials › Generalized Linear Models › Three Logit Structures for One Category Table

Alternative Nominal Models · Tutorial 527 of 981

Three Logit Structures for One Category Table

See how three logit parameterizations can fit the same category proportions while answering different questions about how those proportions compare.

Advanced 12 min read

What You'll Learn

  • Define baseline-category, adjacent-category, and forward continuation-ratio logits for ordered responses
  • Recover category probabilities from each set of logits
  • Derive the maximum-likelihood category proportions for a saturated grouped model
  • Calculate and compare fitted probabilities from one two-group category table
  • Interpret group coefficients as distinct odds contrasts, not interchangeable effects

One Table, Three Questions

For an ordered response, the same set of category probabilities can be summarized through different odds comparisons. A baseline-category logit compares each category with a chosen reference category. An adjacent-category logit compares neighboring categories. A forward continuation-ratio logit compares stopping at a category with proceeding to a higher one. These choices do not change the observed table; they change the conditional or relative question represented by each coefficient.

We will use one two-group table throughout. Its four response categories are ordered from lowest to highest. The group label is \(A\) or \(B\); it can be treated as a binary predictor, without implying that group membership was randomized or caused any difference.

GroupCategory 1Category 2Category 3Category 4Total
A12183040100
B24243022100

Write \(p_{gj}=P(Y=j\mid G=g)\), where \(g\) denotes a group and \(j\) a category. The observed proportions are \((0.12,0.18,0.30,0.40)\) in group \(A\), and \((0.24,0.24,0.30,0.22)\) in group \(B\). In the calculations below, all three model forms are fitted with a separate parameter for each group and logit. This is a saturated model for these two group-specific category distributions.

Definitions and Probability Reconstructions

Definition: For \(K\) categories with probabilities \(p_1,\ldots,p_K\), a baseline-category logit with category \(K\) as reference is \(\log(p_j/p_K)\), for \(j=1,\ldots,K-1\). An adjacent-category logit is \(\log(p_j/p_{j+1})\), for \(j=1,\ldots,K-1\). Here a forward continuation-ratio logit is \(\log\{p_j/\sum_{r=j+1}^K p_r\}\), for \(j=1,\ldots,K-1\): it compares stopping in category \(j\) with continuing to a higher category.

The direction in the continuation-ratio definition matters. Some conventions instead put the continuation event in the numerator. We use the stated “stop versus proceed” convention throughout, so a positive logit means greater odds of category \(j\) rather than a higher category at that step.

Result: Each of these three complete sets of logits determines one and only one strictly positive probability vector. Consequently, when all logits are unrestricted, each parameterization can represent every strictly positive distribution on the \(K\) categories.

Here are the reconstructions. For baseline logits \(\eta_j=\log(p_j/p_K)\), let \(r_j=e^{\eta_j}\). Then \(p_K=1/(1+\sum_{j=1}^{K-1}r_j)\), and \(p_j=r_jp_K\). For adjacent logits \(\alpha_j=\log(p_j/p_{j+1})\), set \(w_K=1\) and \(w_j=\prod_{\ell=j}^{K-1}e^{\alpha_\ell}\). Then \(p_j=w_j/\sum_{r=1}^{K}w_r\). The product works because \(p_j/p_K\) is the product of the intervening adjacent ratios.

For forward continuation logits \(\gamma_j\), put \(h_j=e^{\gamma_j}=p_j/S_{j+1}\), where \(S_j=\sum_{r=j}^Kp_r\). Since \(S_j=p_j+S_{j+1}=(1+h_j)S_{j+1}\), the tail probabilities are recovered successively, starting with \(S_1=1\). In particular,

$$ p_K=\left\{\prod_{\ell=1}^{K-1}(1+h_\ell)\right\}^{-1}, \qquad p_j=h_jp_K\prod_{\ell=j+1}^{K-1}(1+h_\ell). $$

Each reconstruction uses positive weights and normalizes them to sum to one. Conversely, applying the corresponding logit definition to the reconstructed probabilities returns the original logits. This proves both existence and uniqueness for each parameterization. \(\square\)

Worked Example: Calculate All Three Logit Sets in Group A

For group \(A\), the proportions are \((0.12,0.18,0.30,0.40)\). With category 4 as the baseline, the three baseline-category logits are

$$ \log(0.12/0.40)=\log(0.3)=-1.2040,\quad \log(0.18/0.40)=\log(0.45)=-0.7985,\quad \log(0.30/0.40)=\log(0.75)=-0.2877. $$

The adjacent-category odds are \(12/18=2/3\), \(18/30=3/5\), and \(30/40=3/4\). Thus their logits are \(-0.4055\), \(-0.5108\), and \(-0.2877\), respectively.

For the forward continuation logits, the relevant “proceed” counts are 88 after category 1, 70 after category 2, and 40 after category 3. The stop-versus-proceed odds are therefore \(12/88=3/22\), \(18/70=9/35\), and \(30/40=3/4\). Their logits are \(-1.9924\), \(-1.3581\), and \(-0.2877\). For example, the first compares category 1 with the combined higher categories, not with category 2 alone.

Why the Saturated Fits Give the Same Probabilities

The logit values just calculated are transformations of the proportions. To connect them to model fitting, consider a group with counts \(n_1,\ldots,n_K\), total \(n=\sum_j n_j\), and probabilities \(p_1,\ldots,p_K\). Its multinomial likelihood, apart from a factor not involving the probabilities, is \(\prod_jp_j^{n_j}\). When every category count is positive, the maximum-likelihood probabilities are \(n_j/n\).

Result: For a grouped multinomial sample with positive counts in every category, the likelihood is maximized over the probability simplex at \(\hat p_j=n_j/n\). If each of the three logit parameterizations is unrestricted within each group, all three therefore have the same fitted category probabilities.

To prove the first claim, maximize \(\ell(p)=\sum_j n_j\log p_j\) subject to \(\sum_jp_j=1\) and \(p_j>0\). The Lagrange equations are \(n_j/p_j=\lambda\) for every \(j\). Thus \(p_j=n_j/\lambda\); summing over \(j\) gives \(\lambda=n\), so \(p_j=n_j/n\). The log-likelihood is strictly concave on the positive simplex because its second derivative in each coordinate is \(-n_j/p_j^2<0\). The stationary point is therefore the unique maximum. For the second claim, the probability reconstructions above show that each unrestricted logit set represents every strictly positive probability vector. Each model has the same probability space and likelihood, so each attains that same maximum. \(\square\)

The positivity condition avoids boundary cases in this proof. If a cell count is zero, the multinomial maximum can lie on the boundary, with a fitted probability of zero; the finite-logit reconstructions above cover strictly positive probabilities, not such boundary points. The table here has no zero counts.

Worked Example: Recover the Fitted Probabilities from Group B’s Adjacent Logits

For group \(B\), the adjacent odds are \(24/24=1\), \(24/30=4/5\), and \(30/22=15/11\). Thus \(e^{\alpha_1}=1\), \(e^{\alpha_2}=4/5\), and \(e^{\alpha_3}=15/11\). Set \(w_4=1\), then work backward:

$$ w_3=15/11,\qquad w_2=(4/5)(15/11)=12/11,\qquad w_1=1(12/11)=12/11. $$

The weights sum to \(12/11+12/11+15/11+1=50/11\). Normalizing gives

$$ (p_1,p_2,p_3,p_4) =\left(\frac{12}{50},\frac{12}{50},\frac{15}{50},\frac{11}{50}\right) =(0.24,0.24,0.30,0.22). $$

These are exactly the observed proportions in group \(B\), as required for the saturated maximum-likelihood fit.

Different Coefficients, Different Comparisons

Although each parameterization gives the same fitted proportions in this saturated example, its group coefficients answer a different question. For a binary group indicator, define a logit in group \(B\) minus the corresponding logit in group \(A\). This difference is the coefficient of the group indicator in a model with a separate intercept and group effect for that logit. It is a contrast in odds, not a direct difference in category probabilities.

Worked Example: Compare the Group Effects

For the baseline-category model, the group effect for category 1 compares category 1 with category 4 across groups:

$$ \log\left\{\frac{24/22}{12/40}\right\} =\log(40/11)=1.2910. $$

It says that the category-1-versus-category-4 odds are \(40/11\), or about \(3.64\), times as large in group \(B\) as in group \(A\). The corresponding category-2-versus-category-4 contrast is \(\log(80/33)=0.8855\), and the category-3-versus-category-4 contrast is \(\log(20/11)=0.5978\).

For adjacent logits, the first group effect compares category 1 with category 2:

$$ \log\left\{\frac{24/24}{12/18}\right\} =\log(3/2)=0.4055. $$

The other adjacent effects are \(\log\{(24/30)/(18/30)\}=\log(4/3)=0.2877\) and \(\log\{(30/22)/(30/40)\}=\log(20/11)=0.5978\). Each compares one neighboring pair; none is a general “shift in response” coefficient.

For the forward continuation model, the first group effect compares stopping at category 1 with proceeding to categories 2–4:

$$ \log\left\{\frac{24/76}{12/88}\right\} =\log(44/19)=0.8390. $$

The next step compares stopping at category 2 with proceeding to categories 3–4, giving \(\log\{(24/52)/(18/70)\}=\log(70/39)=0.5850\). The final step compares categories 3 and 4, giving \(\log(20/11)=0.5978\). Each coefficient concerns a different decision point in the ordered progression.

The values need not agree across structures, even though the group-specific fitted probabilities do. For example, the first group contrast is \(1.2910\) under the baseline comparison, \(0.4055\) under the adjacent comparison, and \(0.8390\) under the continuation comparison. They are not competing estimates of one common odds ratio: their denominators describe different outcomes.

When the Equality of Fits Does Not Apply

The shared fitted probabilities here depend on fitting a saturated distribution separately in each group. In regression, one often imposes restrictions—for example, a common slope across several covariate values or a particular pattern among category-specific effects. Such restrictions generally define different sets of allowable probability distributions for the three logit structures. Their fitted probabilities can then differ. The result above is not a claim that different restricted regression models always fit identically.

The structures are useful when their comparisons match the scientific question. A baseline logit is appropriate when a particular category is a meaningful reference. Adjacent logits focus on local comparisons between neighboring outcomes. A forward continuation ratio is natural when the response process can be described as a sequence of opportunities to stop or proceed. These interpretations should be based on the response mechanism, not selected merely because one coefficient pattern is convenient.

Common Mistake

A common error is to see the same fitted category probabilities and conclude that all three models have identical coefficients or scientific interpretations. They do not. In the table, category 1 versus category 4 yields a group contrast of \(1.2910\), while category 1 versus category 2 yields \(0.4055\); the forward comparison of category 1 versus all higher categories yields \(0.8390\). The correction is to name the numerator and denominator for every odds contrast before interpreting its coefficient.

A related error is to read a positive logit coefficient as meaning that the probability of a particular category must increase. A positive group effect says that the specified odds increase. Because category probabilities must sum to one, their changes depend on the full probability vector and on the other category contrasts.

Key takeaway: With unrestricted group-specific logits, baseline-category, adjacent-category, and forward continuation-ratio models reproduce the same category proportions. Their coefficients remain distinct: each expresses a different odds comparison, so the structure determines the question being answered.

Check Your Understanding

Use the definitions and the table above to answer these questions.

  1. For group \(A\), what outcomes form the denominator of the forward continuation odds at category 2?
  2. Using group \(B\), calculate the baseline-category logit for category 2 with category 4 as reference.
  3. Why do the three saturated fits have identical fitted probabilities even though their logits differ?
  4. Interpret the adjacent-model group effect for categories 1 and 2 in terms of odds.
  5. Does the positive first continuation-ratio group effect prove that the probability of category 1 is higher in group \(B\)? Explain the distinction.
Clinical Biostats