Tutorials › Exam SRM - Statistics for Risk Modeling › Common Traps in Logistic Regression Interpretation

Exam SRM · Logistic Regression · Tutorial 321 of 926

Common Traps in Logistic Regression Interpretation

Distinguish what logistic-regression coefficients and fitted values mean, and check interpretations involving reference categories, interactions, significance, and classification cutoffs.

Intermediate 10 min read

What You'll Learn

  • Convert a linear predictor to odds and a probability without confusing the scales
  • Interpret a coefficient relative to the model’s reference category
  • Calculate a predictor’s effect when an interaction is present
  • Read coefficient significance without treating a nonsignificant result as proof of no effect
  • Apply a probability threshold using the corresponding odds or log-odds cutoff

Why Logistic Interpretations Go Wrong

A logistic-regression output can present a coefficient, an odds ratio, a fitted probability, and a classification. These quantities are related, but they are not interchangeable. For instance, a coefficient of 0.5 is a change in log-odds, not a 50% increase in probability. Correct interpretation requires identifying the scale of the quantity and the comparison it describes.

This tutorial focuses on frequent interpretation errors in settings where the response is binary. The model’s predictors, reference categories, and any interactions must be read together; a coefficient rarely describes an unconditional effect for every observation.

Definition: For a binary response \(Y\), let \(p=P(Y=1\mid \mathbf{x})\), where \(\mathbf{x}\) denotes the predictor values. The logistic model specifies $$ \log\left(\frac{p}{1-p}\right)=\eta=\beta_0+\beta_1x_1+\cdots+\beta_kx_k. $$ The quantity \(p/(1-p)\) is the odds of \(Y=1\), and \(\eta\) is the log-odds, also called the linear predictor. The corresponding probability is \(p=e^\eta/(1+e^\eta)\).

The usual interpretation assumes a correctly specified logistic regression for a binary outcome, with observations conditionally independent given the predictors. Coefficients describe conditional comparisons within the model, holding the other included predictors fixed. The model form alone does not establish that an association is causal.

Keep Log-Odds, Odds, and Probability Separate

A log-odds value can be negative, zero, or positive. Odds are positive and are not probabilities: odds of 1 correspond to probability 0.5, while odds of 3 correspond to probability \(3/(1+3)=0.75\). Probability is always between 0 and 1. The conversions are

$$ \text{odds}=e^\eta,\qquad p=\frac{e^\eta}{1+e^\eta},\qquad \eta=\log(\text{odds})=\log\left(\frac{p}{1-p}\right). $$

A one-unit increase in \(x_j\), with all other predictors held fixed and no relevant interaction changing that comparison, changes the log-odds by \(\beta_j\). It multiplies the odds by \(e^{\beta_j}\). It does not generally multiply the probability by \(e^{\beta_j}\), nor does it add \(\beta_j\) to the probability. The resulting probability change depends on the starting probability.

Worked Example: From a Coefficient to a Probability Change

A hypothetical insurer models whether a submitted claim requires additional review, with \(Y=1\) for a claim requiring review. For a binary predictor \(x\), the fitted model is \(\log(p/(1-p))=-1.2+0.5x\). Find the fitted probability and odds for each value of \(x\), then interpret the coefficient.

Method. Calculate the linear predictor for each value, exponentiate it to get odds, and convert the odds to probabilities.

For \(x=0\), \(\eta=-1.2+0.5(0)=-1.2\). The odds are \(e^{-1.2}=0.3010\), and the probability is \(0.3010/(1+0.3010)=0.2315\), to four decimal places.

For \(x=1\), \(\eta=-1.2+0.5(1)=-0.7\). The odds are \(e^{-0.7}=0.4966\), and the probability is \(0.4966/(1+0.4966)=0.3318\), to four decimal places.

The odds ratio comparing \(x=1\) with \(x=0\) is \(e^{0.5}=1.6487\): the fitted odds are about 64.87% higher for \(x=1\). The fitted probabilities differ by \(0.3318-0.2315=0.1003\), or about 10.03 percentage points. The probability did not increase by 64.87%. As a check using unrounded quantities, the odds ratio is \(e^{-0.7}/e^{-1.2}=e^{0.5}=1.6487\). The displayed rounded odds need not reproduce the exact ratio if divided.

Common mistake avoided: Treating the coefficient 0.5 as a probability increase of 0.5, or treating \(e^{0.5}\) as a probability multiplier. Both confuse scales; the coefficient shifts log-odds, and its exponent is an odds multiplier.

Reference Categories and Interaction Terms

For a categorical predictor, a coefficient is interpreted relative to its omitted reference category, with other predictors held fixed. Changing the reference category changes the coefficient parameterization, but not the fitted probabilities. With an interaction, a main-effect coefficient is a comparison only at the value of the interacting predictor coded as zero.

For example, if \(A\) and \(S\) are binary predictors and the model contains their product, the change in log-odds for changing \(A\) from 0 to 1 is \(\beta_A+\beta_{AS}S\). Thus, the odds ratio for this change is \(e^{\beta_A+\beta_{AS}S}\), not always \(e^{\beta_A}\).

Derivation: In the model \(\eta=\beta_0+\beta_AA+\beta_SS+\beta_{AS}AS\), hold \(S\) fixed and subtract the linear predictor at \(A=0\) from the one at \(A=1\): $$ \eta(1,S)-\eta(0,S) =(\beta_0+\beta_A+\beta_SS+\beta_{AS}S)-(\beta_0+\beta_SS) =\beta_A+\beta_{AS}S. $$ Since odds equal \(e^\eta\), the ratio of the odds at \(A=1\) to those at \(A=0\) is \(e^{\eta(1,S)-\eta(0,S)}=e^{\beta_A+\beta_{AS}S}\). This explains why an interaction makes the effect of \(A\) depend on \(S\).

Worked Example: Reading a Binary-Predictor Interaction

In a hypothetical study of policy renewals, let \(A=1\) indicate an updated reminder and \(S=1\) indicate a policyholder who prefers paper correspondence. The fitted model for renewal (\(Y=1\)) is \(\eta=-2+0.4A+0.7S-0.5AS\). Calculate the four fitted probabilities and interpret the reminder effect in each group.

Method. Use the model with \(A=0,S=0\) as the reference combination. Substitute each pair of predictor values, then convert its linear predictor to a probability.

For \(A=0,S=0\), \(\eta=-2\), so \(p=e^{-2}/(1+e^{-2})=0.1192\). For \(A=1,S=0\), \(\eta=-2+0.4=-1.6\), so \(p=e^{-1.6}/(1+e^{-1.6})=0.1680\).

For \(A=0,S=1\), \(\eta=-2+0.7=-1.3\), so \(p=e^{-1.3}/(1+e^{-1.3})=0.2142\). For \(A=1,S=1\), \(\eta=-2+0.4+0.7-0.5=-1.4\), so \(p=e^{-1.4}/(1+e^{-1.4})=0.1978\). Probabilities are rounded to four decimal places.

For \(S=0\), the reminder changes log-odds by \(0.4\), giving an odds ratio \(e^{0.4}=1.4918\). For \(S=1\), it changes log-odds by \(0.4-0.5=-0.1\), giving an odds ratio \(e^{-0.1}=0.9048\). The interaction coefficient’s odds-ratio contrast is \(e^{-0.5}=0.6065\): the reminder odds ratio for \(S=1\) is 0.6065 times that for \(S=0\). The fitted probability comparison is also group-specific: it rises from 0.1192 to 0.1680 when \(S=0\), but falls from 0.2142 to 0.1978 when \(S=1\).

Common mistake avoided: Reporting \(e^{0.4}\) as the reminder odds ratio for everyone. It applies only when \(S=0\), the value at which the interaction term vanishes.

Coefficient Significance Is Not the Same as Effect Size

A coefficient test usually assesses a null hypothesis that a particular conditional log-odds coefficient is zero. For a large-sample Wald test, the estimated coefficient \(\hat\beta_j\) is divided by its standard error \(SE(\hat\beta_j)\); the resulting statistic is compared with a standard normal distribution. This approximation may be unreliable in small samples or under problematic model fitting. A p-value is calculated under the null hypothesis; it is not the probability that the null hypothesis is true.

A statistically nonsignificant coefficient is not proof that the effect is exactly zero. It means the data, under the chosen test and significance level, do not provide sufficient evidence to reject the tested null. A confidence interval gives useful additional information about the range of effect sizes compatible with the estimate. Exponentiating the endpoints of a log-odds confidence interval gives the corresponding odds-ratio interval.

Worked Example: Interpreting a Wald Test and Odds-Ratio Interval

A fitted logistic model for a hypothetical claim outcome reports a predictor estimate \(\hat\beta=0.20\) with standard error \(0.12\). At the 5% significance level, assess the coefficient and form an approximate 95% confidence interval for the odds ratio.

Method. Use the large-sample Wald statistic \(z=\hat\beta/SE(\hat\beta)\), a two-sided standard normal test, and the approximate interval \(\hat\beta\pm1.96SE(\hat\beta)\).

The test statistic is \(z=0.20/0.12=1.6667\). Its two-sided p-value is approximately 0.0956, which exceeds 0.05, so the coefficient is not statistically significant at the 5% level. This is not evidence that the coefficient must be zero.

The log-odds interval is \(0.20\pm1.96(0.12)=0.20\pm0.2352\), or \([-0.0352,\,0.4352]\). Exponentiating its endpoints gives the odds-ratio interval \([e^{-0.0352},e^{0.4352}]=[0.9654,\,1.5452]\), to four decimal places. It includes 1, consistent with the two-sided test not rejecting a zero log-odds coefficient.

Common mistake avoided: Calling 0.0956 the probability that the predictor has no effect, or claiming that nonsignificance proves no association. The p-value is a tail probability under the null; the interval shows uncertainty in the estimated odds ratio.

Probability Thresholds Must Be Used on the Right Scale

A fitted probability and a classification decision are separate outputs. If a rule classifies an observation as positive when its fitted probability is at least a chosen cutoff \(c\), compare \(p\) with \(c\). If instead the calculation uses odds, the equivalent cutoff is \(c/(1-c)\); on the log-odds scale it is \(\log(c/(1-c))\). A probability cutoff cannot be compared directly with odds or a linear predictor.

Worked Example: Applying a Probability Cutoff Correctly

A hypothetical review system classifies a claim for investigation when its fitted probability is at least 0.30. For one claim the linear predictor is \(\eta=-0.85\). Decide its classification using both probability and odds, and explain the scale conversion.

Method. Convert the linear predictor to a fitted probability and compare it with 0.30. Then check the same decision on the odds scale.

The predicted odds are \(e^{-0.85}=0.4274\), to four decimal places. The probability is \(0.4274/(1+0.4274)=0.2994\), to four decimal places. Since \(0.2994<0.30\), the claim is not classified for investigation under the rule “at least 0.30.”

The equivalent odds cutoff is \(0.30/(1-0.30)=0.30/0.70=0.4286\), to four decimal places. The predicted odds \(0.4274\) are below this cutoff, confirming the same classification. The equivalent log-odds cutoff is \(\log(0.428571\ldots)=-0.8473\), to four decimal places; \(-0.85\) is below it.

Common mistake avoided: Comparing the predicted odds with 0.30. The correct odds cutoff is 0.4286, not 0.30. Comparing the linear predictor directly with a probability cutoff is also invalid.

A Short Interpretation Checklist

Before reporting a logistic-regression result, identify the exact quantity in the output and the comparison it represents. This prevents a correct calculation from becoming an incorrect statement.

1
Name the scale.
A coefficient is on the log-odds scale; its exponential is an odds ratio; a fitted probability is on the zero-to-one scale.
2
Identify the comparison.
State which predictor changes and which predictors are held fixed. For a categorical variable, name its reference category.
3
Check for interactions.
If a product term is present, include it when calculating the effect for the specified values of the interacting predictors.
4
Interpret uncertainty separately.
Use the test and interval to describe evidence and precision; do not convert a p-value into the probability that a hypothesis is true.
5
Apply a threshold on its stated scale.
Compare probability with a probability cutoff, or convert the cutoff before using odds or log-odds.

These distinctions are useful whenever fitted logistic models are communicated to decision-makers. A positive coefficient can correspond to a small or large probability change depending on the starting probability; an odds ratio can be misreported as a probability ratio; and a threshold can produce a different classification if applied on the wrong scale. Careful scale and reference-group language is aligned with the SOA Exam SRM (Statistics for Risk Modeling) syllabus.

Check Your Understanding

For each original problem, identify the relevant scale and comparison before checking the answer.

  1. A fitted model has linear predictor \(\eta=-1\) for a particular policy. Calculate its odds and fitted probability. (Answer: Odds \(=e^{-1}=0.3679\); probability \(=0.2689\), to four decimal places.)
  2. In a model with no interaction, the coefficient for “west region” is \(-0.30\), with east as the reference category. Interpret the west-versus-east odds ratio. (Answer: \(e^{-0.30}=0.7408\); holding other predictors fixed, west has about 25.92% lower odds than east.)
  3. A model contains a binary predictor \(A\) and a binary predictor \(S\), with coefficients \(\beta_A=0.60\) and \(\beta_{AS}=-0.40\) for \(A\) and \(A S\). What is the odds ratio for changing \(A\) from 0 to 1 when \(S=1\)? (Answer: \(e^{0.60-0.40}=e^{0.20}=1.2214\).)
  4. A logistic coefficient estimate is \(-0.18\), with standard error \(0.10\). Using a two-sided large-sample Wald test at 5%, state the result and approximate odds-ratio confidence interval. (Answer: \(z=-1.80\), p-value approximately 0.0719, so do not reject at 5%; the 95% log-odds interval is \([-0.376,0.016]\), giving an odds-ratio interval approximately \([0.6867,1.0161]\).)
  5. A classification rule labels a case positive if its fitted probability is at least 0.25. A case has \(\eta=-1.05\). Find its fitted probability and classification, and give the equivalent odds cutoff. (Answer: Odds \(=e^{-1.05}=0.3499\), probability \(=0.2592\), so classify positive; the odds cutoff is \(0.25/0.75=0.3333\), to four decimal places.)
Clinical Biostats