Logistic Regression

Learn to model a yes/no outcome, such as whether a person completes a program, with logistic regression. Start from probabilities, odds and log-odds, then build the logistic model and read its coefficients as odds ratios and as predicted probabilities. See how maximum likelihood estimates the model, test predictors and whole models with Wald and likelihood ratio tests, and judge fit with pseudo R², classification tables and assumption checks. Finish with an overview of multinomial and ordinal logistic regression for outcomes with more than two categories, and report results in APA style.

IntermediateLesson 9 of 10 in Intermediate Statistics – Regression and ANOVA Course

What you will learn

  1. Move between probabilities, odds and log-odds, and compare two groups with an odds ratio, the quantity that logistic regression is built on.
    • Convert between probability, odds and log-odds
      Express the chance of a yes/no outcome as a probability, as odds and as log-odds, and convert in both directions.
    • Compare two groups with an odds ratio
      Calculate and interpret an odds ratio from a two-by-two table, give its confidence interval, and tell it apart from a ratio of probabilities.
  2. Explain why binary outcomes need their own model, write the logistic regression equation, and read its coefficients as odds ratios and as predicted probabilities.
    • Explain why the logistic model fits a binary outcome
      Show where a straight-line model breaks down for a 0/1 outcome and how modeling the log-odds produces an S-shaped curve that stays between 0 and 1.
    • Interpret coefficients as odds ratios
      Read each coefficient as a change in log-odds, convert it to an odds ratio, and state the effect correctly in words.
    • Include categorical predictors and interactions
      Enter categorical predictors with dummy variables, choose a reference category, and interpret interaction terms on the odds scale.
    • Turn the model into predicted probabilities
      Calculate predicted probabilities from fitted coefficients and explain why a constant odds ratio gives probability changes that vary.
  3. Explain how maximum likelihood finds the coefficients, read the coefficient table, and test single predictors and whole models with Wald and likelihood ratio tests.
    • Explain maximum likelihood estimation
      Describe how logistic regression coefficients are chosen to make the observed outcomes as probable as possible, and what −2 log-likelihood measures.
    • Test and interpret individual coefficients
      Read the coefficient table from SPSS, jamovi or R, test single coefficients with the Wald test, and build confidence intervals for odds ratios.
    • Compare models with likelihood ratio tests
      Test a whole model or a block of added predictors by comparing −2 log-likelihoods of nested models, and use AIC and BIC to compare models.
  4. Judge how well a logistic regression fits and classifies, check its assumptions and problem cases, and report the results clearly.
    • Judge overall fit with pseudo R² and goodness-of-fit tests
      Compute and interpret the McFadden, Cox and Snell and Nagelkerke pseudo R² measures, and use the Hosmer–Lemeshow test to check calibration.
    • Evaluate predictions with a classification table
      Build and read a classification table, compute accuracy, sensitivity, specificity and predictive values, and explain how the cutoff and the base rate affect them.
    • Check assumptions and problem cases
      Check the assumptions of logistic regression, the linearity of the logit, multicollinearity, sample size and influential cases, and know which linear regression checks do not apply.
    • Report a logistic regression
      Write up the model, its tests, odds ratios, fit and classification in a clear, APA-style report.
  5. Extend logistic regression to outcomes with three or more categories: unordered categories with multinomial logistic regression and ordered categories with ordinal logistic regression.
    • Model unordered categories with multinomial logistic regression
      Set up a multinomial logistic regression with a reference category, interpret its odds ratios, and calculate the predicted probability of each category.
    • Model ordered categories with ordinal logistic regression
      Use the proportional odds model for an ordered outcome, interpret its single odds ratio per predictor and its thresholds, and check the proportional odds assumption.

Logistic Regression study guide

5 chapters

1

Describe binary outcomes with odds and log-odds

Probability, odds, and log-odds describe the same binary outcome on different scales. Moving between them makes the logistic model easier to understand and keeps an odds ratio from being mistaken for a probability ratio. Work from counts to odds, compare two groups, and put uncertainty around that comparison. The event definition and the reference group stay attached to each result so that its direction is clear.

1.1 Convert between probability, odds and log-odds

A yes/no outcome can be described on three scales: probability, odds, and log-odds. Each describes the same event, but the scales support different calculations. Start by naming the event so that every number has a clear meaning.

Define the event

A binary outcome has two categories. Code the modeled event as 1 and the other category as 0. For program completion, 1 means "completed" and 0 means "did not complete." The event is sometimes called a "success," even when it is something unwanted, such as relapse. The mean of a 0/1 variable is the proportion of events, so the quantity being modeled is p=P(Y=1).

Turn probability into odds

Probability divides events by all cases. Odds divide events by non-events:

odds=p1−p.

If 15 of 50 applicants are accepted, the probability of acceptance is 15/50=0.30. There are 35 non-events, so the odds are 15/35≈0.43. These are two descriptions of the same results; odds of 0.43 are not a 43% chance.

For a probability of 0.80, the odds are 0.80/0.20=4, read "4 to 1." There are four events for each non-event. At probability 0.50, the odds are 1. At probability 0.20, the odds are 0.25. Odds below 1 favor the non-event; odds above 1 favor the event. Odds against reverse the comparison: "4 to 1 against" corresponds to one event among five outcomes, a probability of 0.20.

To go back, divide the odds by one plus the odds:

p=odds1+odds.

Odds of 3 give p=3/4=0.75. Odds of 0.25 give p=0.25/1.25=0.20.

Take the natural logarithm

The logit, or log-odds, is ln⁡[p/(1−p)]. Use the natural logarithm, not the base-10 logarithm. For probability 0.80, the logit is ln⁡4≈1.386. For probability 0.20, it is ln⁡0.25≈−1.386. Complementary probabilities have opposite logits: logit⁡(1−p)=−logit⁡(p).

A zero logit means odds of 1 and probability 0.50. Positive logits mean probabilities above 0.50; negative logits mean probabilities below 0.50. To recover a probability from log-odds L, first exponentiate to recover the odds, then convert:

p=eL1+eL=11+e−L.

For L=−2, this gives p=1/(1+e2)≈0.119.

Why model on a different scale?

Probabilities lie between 0 and 1. Odds run from 0 upward without an upper limit. For probabilities strictly between 0 and 1, log-odds can take any real value. A linear regression expression can therefore describe log-odds without producing an impossible probability. At probability 0 or 1, the logit has no finite value.

Equal changes in logits give unequal probability changes. A move from log-odds 0 to 1 changes probability from 0.50 to about 0.73. A move from 3 to 4 changes it from about 0.95 to 0.98. The conversion is most responsive near the middle of the probability scale.

Key Takeaways

  • Name the category coded 1 before calculating a probability or odds.
  • Odds are events divided by non-events; probability is events divided by all cases.
  • Convert odds to probability with p=odds/(1+odds).
  • The logit uses the natural logarithm; a zero logit means a probability of 0.50.
  • Equal logit changes produce different probability changes at different starting points.

1.2 Compare two groups with an odds ratio

An odds ratio compares the odds of the same event in two groups. It supplies the direction and size of an association that a chi-square test alone does not describe. Both the event and the reference group belong in the interpretation.

Calculate from a two-by-two table

In an online course, 100 learners receive weekly reminders and 100 do not. Completion is the event.

GroupCompletedDid not complete
Reminders6040
No reminders3070

The reminder group's odds are 60/40=1.5. The reference group's odds are 30/70≈0.4286. Divide the first by the second:

OR=60/4030/70=3.5.

The completion odds are 3.5 times as high with reminders. More generally, let the first row contain event count a and non-event count b, and the reference row contain c and d. Then OR=ad/(bc).

An OR of 1 means equal odds. Values above 1 mean higher odds in the numerator group; values between 0 and 1 mean lower odds. Reversing either the groups or the event gives the reciprocal. Here, no reminders versus reminders gives 1/3.5≈0.29. Reversing both leaves the original OR unchanged.

Keep odds and probability separate

The completion probabilities are 0.60 and 0.30. Their ratio, the risk ratio, is 2.0, not 3.5. Say "3.5 times the odds," not "3.5 times as likely." The latter wording describes a probability ratio.

For two distinct nonzero probabilities below 1, the OR lies farther from 1 than the risk ratio. The two measures are close when the event is rare in both groups, and can also be close when the probabilities are similar. For example, probabilities 0.51 and 0.50 give a risk ratio of 1.02 and an OR of about 1.04.

Put uncertainty on the log scale

Odds ratios multiply, so confidence intervals are calculated on their natural-log scale. For positive cell counts:

SE(ln⁡OR)=1/a+1/b+1/c+1/d.

Here the standard error is about 0.299 and ln⁡3.5≈1.253. The interval on the log scale is 1.253±1.96(0.299). Exponentiating its two endpoints gives an OR interval of approximately [1.95, 6.29]. It excludes 1, the no-association value. The interval is asymmetric around the OR because exponentiation stretches its upper side.

Pearson's chi-square for this table is χ2(1)=18.18, p<.001. It tests the association; the OR and interval describe its estimated magnitude and precision.

Connect the table to regression

A logistic model with reminders coded 1 and no reminders coded 0 reproduces the table. Its intercept is ln⁡(30/70)≈−0.847 and its slope is ln⁡3.5≈1.253. Exponentiating the slope returns the OR. Additional predictors extend this comparison while holding those predictors constant.

In a case-control study, the numbers of cases and controls are chosen by design. Outcome probabilities cannot be recovered from those sample proportions alone. The OR remains estimable: the exposure OR comparing cases with controls equals the outcome OR comparing exposure groups, under the study's sampling design.

Key Takeaways

  • An OR needs a named event and a reference group.
  • For the stated two-by-two table layout, OR=ad/(bc).
  • Reversing one comparison gives the reciprocal OR.
  • An odds ratio and a risk ratio measure different comparisons.
  • Build an OR confidence interval on the log scale, then exponentiate both endpoints.
  • A single binary predictor connects the two-by-two table directly to logistic regression.
2

Build and interpret the logistic regression model

A logistic model keeps the familiar structure of multiple regression while changing the scale of the outcome. Learn how the logit keeps predicted probabilities in range, how coefficients become odds multipliers, and how reference categories and interactions define a comparison. Then calculate probabilities for realistic predictor profiles and see why an unchanged odds ratio can produce different changes in chance.

2.1 Explain why the logistic model fits a binary outcome

A binary outcome needs a model whose fitted values can be interpreted as probabilities. Logistic regression makes a linear model for the log-odds and then converts those fitted values to probabilities. This preserves a familiar regression structure while respecting the outcome's range.

Why a straight probability line breaks down

A linear probability model fits an ordinary least-squares line directly to the 0/1 outcome. Consider p^=0.10+0.08x. At x=12 it predicts 1.06, which is not a probability. A straight line can leave the allowed range as a predictor increases or decreases.

The random variation also differs from ordinary linear regression. At a fixed predictor value, a binary residual can only be 1−p or −p. Its distribution is not normal, and its variance is p(1−p), which changes with the probability. Applying the usual normal-error, equal-variance model to these residuals misdescribes them.

Write the logit model

The logistic model is

ln⁡p1−p=b0+b1x1+⋯+bkxk=η.

The expression η is the linear predictor. It can take any real value. The logit is the link function because it links probability to that expression. Inverting the link gives

p=11+e−η.

For every finite value of η, this probability stays strictly between 0 and 1. When η=0, it equals 0.50. Holding other predictors fixed, a positive slope produces a rising S-shaped probability curve, while a negative slope produces a falling one. A larger absolute slope makes the transition steeper. The curve is steepest where the probability is 0.50.

FeatureOrdinary linear regressionBinary logistic regression
Modeled quantityMean outcomeLog-odds of the event
Typical fitted formStraight line for the meanStraight line for log-odds; S-curve for probability
Random variationNormal-error modelBernoulli outcome with variance p(1−p)
Read a complete model

Suppose 200 adults join a 12-week exercise program. Completion is coded 1. Distance from home to the gym is measured in kilometers, and partner is coded 1 for a training partner and 0 for none. The fitted model is

logit⁡(p^)=1.20−0.25⋅distance+0.90⋅partner.

The intercept 1.20 describes a person at distance 0 without a partner. Their odds are e1.20≈3.32 and their probability is about 0.77. If zero is not a useful predictor value, centering a continuous predictor by subtracting its mean makes zero describe its mean instead. That changes the intercept's interpretation without changing fitted probabilities.

Check the modeled category

For a 0/1 outcome, interpret the probability of category 1. In R, a factor outcome's second level is treated as the event. Check the software's outcome order before reading signs. Reversing a binary outcome negates every coefficient and reciprocates every OR.

Logistic regression does not require normal residuals or equal residual variances. It does require an appropriate relationship between continuous predictors and log-odds. Multiple predictors, dummy variables, and product terms extend the linear predictor just as they extend a multiple-regression equation.

Key Takeaways

  • A linear probability model can predict outside [0, 1] and has nonnormal, unequal-variance residuals.
  • The logit links probability to a linear predictor.
  • The inverse-logit function keeps fitted probabilities between 0 and 1.
  • The intercept refers to zero on every predictor, including the reference categories.
  • Check the outcome coding before interpreting coefficient signs.

2.2 Interpret coefficients as odds ratios

A logistic coefficient is an additive change in log-odds. Exponentiating it turns that change into a multiplier of the odds, which is usually easier to explain. In a model with several predictors, the comparison holds the other predictors constant.

Read the coefficient on its own scale

In the completion model, distance has coefficient b=−0.25 per kilometer. One additional kilometer lowers the log-odds of completing by 0.25, at the same partner status. It does not lower probability by 0.25. The probability change depends on the person's starting probability.

Exponentiating gives the odds ratio:

OR=eb=e−0.25≈0.779.

Each additional kilometer multiplies completion odds by about 0.78. A negative coefficient gives an OR between 0 and 1; a zero coefficient gives OR 1; a positive coefficient gives an OR above 1. Software may call this column Exp(B), exp(coef), or odds ratio.

Express the odds change as a percentage

Use 100(eb−1). For distance this is about −22%, so a suitable interpretation is "Each additional kilometer was associated with about 22% lower completion odds, holding partner status constant."

The partner coefficient is 0.90. Its OR is e0.90≈2.46. At the same distance, participants with a partner have about 2.46 times the odds of completing compared with participants without one. The percentage increase is 100(2.46−1)≈146%. "246% higher odds" would add an extra baseline amount.

The reverse distance comparison has a different percentage: one kilometer closer multiplies odds by e0.25≈1.28, about 28% higher odds. A decrease of 22% and its reversal are not equal percentage changes because they use different starting odds.

Combine changes by multiplication

For a change of h predictor units, the odds multiplier is ehb. Five additional kilometers give

e5(−0.25)=e−1.25≈0.287.

That is about 71% lower odds. It also equals the one-kilometer OR raised to the fifth power, using its unrounded value. Multiplying 0.779 by 5 does not combine the changes correctly. Repeated odds effects multiply; coefficient effects add on the log scale.

Keep the predictor's units attached

If distance is recorded in meters, one unit is much smaller. The coefficient becomes −0.00025 per meter and its OR is about 0.99975. The underlying association is unchanged: 1,000 meters still produce the same multiplier as one kilometer. ORs for differently scaled predictors cannot be compared as though their one-unit changes were equivalent.

With several predictors, these are adjusted odds ratios. A crude OR from a two-by-two table can differ from the adjusted OR. State what was adjusted for, and do not treat adjustment alone as evidence of a causal effect.

Translate odds carefully

At 4 km, the fitted completion probabilities are about 0.75 with a partner and 0.55 without. Their probability ratio is about 1.36, even though the partner OR is 2.46. The sentence "2.46 times as likely to complete" confuses these two scales. To discuss chance directly, calculate and report the relevant predicted probabilities.

Key Takeaways

  • b changes log-odds; eb multiplies odds.
  • An adjusted OR holds the other model predictors constant.
  • The percentage odds change is 100(eb−1).
  • A change of h units has OR ehb.
  • Attach units to a continuous-predictor OR.
  • Use predicted probabilities when explaining changes in chance.

2.3 Include categorical predictors and interactions

Categorical predictors enter a logistic model through comparisons with a reference category. An interaction adds a different kind of comparison: it asks whether one predictor's association changes with another predictor. Both are interpreted on the log-odds scale first.

Choose and code a reference category

A binary predictor can enter as 0/1. Its coefficient compares category 1 with category 0. With three or more categories, use one fewer dummy variable than there are categories. A three-category membership variable needs two indicators.

Let basic membership be the reference. Define standard as 1 for standard members and 0 otherwise, and premium as 1 for premium members and 0 otherwise. Basic members have both indicators set to 0. If their fitted coefficients are 0.40 and 1.10:

ComparisonLog-odds differenceOdds ratio
Standard versus basic0.401.49
Premium versus basic1.103.00
Premium versus standard1.10−0.40=0.702.01

All comparisons hold the model's other predictors constant. For two non-reference categories, subtract their coefficients in the intended direction and exponentiate. Dividing their ORs gives the same result when unrounded values are used.

Entering arbitrary nominal codes 1, 2, and 3 as a single numeric predictor imposes equal log-odds steps between categories. Nominal labels do not support that constraint. Dummy coding allows each category's comparison to be estimated separately.

Changing the reference changes the coefficient labels and values, but not the fitted probabilities, likelihood, or overall fit. Check the software default: the first or last category may be used. To test whether membership matters overall, test both dummy coefficients together on 2 degrees of freedom. One nonsignificant row does not settle the overall question.

Add an interaction

Extend the completion model to

η=1.20−0.25d+0.90z+0.10dz,

where d is distance in kilometers and z is partner status, with 1 for a partner. For participants without a partner, z=0 and the distance slope is −0.25. For participants with a partner, collect the distance terms: −0.25d+0.10d=−0.15d.

The distance OR is therefore e−0.25≈0.78 without a partner and e−0.15≈0.86 with a partner. Exponentiating the interaction gives e0.10≈1.11, the ratio of those ORs. It is not an extra probability of 0.10.

Interpret the component coefficients locally

In this interaction model, 0.90 is the partner difference at distance 0. At distance d, the partner log-odds difference is 0.90+0.10d. The distance coefficient −0.25 describes the group with partner status 0. Centering distance at a meaningful value makes the partner main effect refer to that value.

Even without a product term, probability differences can vary between groups or across distance. The inverse-logit curve is nonlinear. A product term tests a change in association on the log-odds scale; unequal probability differences alone do not establish such an interaction.

Key Takeaways

  • A predictor with k categories needs k−1 reference-category indicators.
  • Compare two non-reference categories by subtracting their coefficients.
  • Reference changes preserve fitted probabilities and overall fit.
  • Test all indicators together for a categorical predictor’s overall contribution.
  • An exponentiated product coefficient is a ratio of odds ratios.
  • With an interaction, component effects refer to zero on the other interacting predictor.
  • Varying probability differences can occur without a log-odds interaction.

2.4 Turn the model into predicted probabilities

A fitted logistic equation becomes useful for prediction after two separate operations. First calculate its linear predictor. Then apply the inverse-logit function. Keeping those steps separate helps prevent a log-odds value from being reported as a probability.

Substitute the complete predictor profile

For exercise-program completion, use

η=1.20−0.25d+0.90z,

where distance d is in kilometers, and z=1 means a training partner. Completion is the event. For a participant at 4 km with a partner:

η=1.20−0.25(4)+0.90(1)=1.10.

This is a log-odds value. Exponentiating gives odds of about 3.00. Convert to a probability:

p^=11+e−1.10≈0.750.

For a participant at the same distance without a partner, set z=0. The linear predictor is 0.20 and the fitted probability is about 0.550. Every predictor needs its correct value, including zeros for reference categories. A product term, when present, also needs the product of the participant's values.

Compare profiles on the probability scale

At 10 km, the linear predictors are −1.30 without a partner and −0.40 with a partner. The probabilities are about 0.214 and 0.401. The partner difference is about 0.187 there, compared with about 0.201 at 4 km. These are probability differences, or about 19 and 20 percentage points, respectively.

The partner OR stays e0.90≈2.46 at every distance in this model. A fixed odds multiplier does not produce a fixed probability difference. Its effect depends on the starting position on the S-curve.

Without a partner, moving from 2 to 3 km changes the fitted probability from about 0.668 to 0.611, a drop of about 0.058. Moving from 10 to 11 km changes it from about 0.214 to 0.175, a drop of about 0.039. Both changes add −0.25 to log-odds, but the first occurs closer to the curve's steep center.

Locate the middle of the curve

A fitted probability of 0.50 means η=0. Without a partner, solve 1.20−0.25d=0 to obtain 4.8 km. With a partner, solve 2.10−0.25d=0 to obtain 8.4 km. At greater distances, the fitted probability is below 0.50.

For a continuous predictor with constant coefficient b, the local probability slope is bp(1−p). Its largest absolute value occurs at p=0.50 and equals ∣b∣/4. This is the divide-by-4 rule. With b=−0.25, the steepest local decrease is 0.0625 per kilometer, about 6 percentage points. Actual finite changes are obtained by predicting at both endpoints.

Explain what a prediction means

A probability of 0.75 means an expected event proportion of about three in four among people with that predictor profile. It does not determine an individual's outcome. Choose realistic profiles within the observed predictor ranges when communicating results; extreme extrapolations can turn a fitted equation into an unsupported comparison. Carry unrounded values through the calculation and round only the displayed results.

Key Takeaways

  • Calculate the complete linear predictor before converting it to probability.
  • Use p^=1/(1+e−η) to invert the logit.
  • A constant OR can produce varying probability differences.
  • The fitted probability is 0.50 wherever the linear predictor is zero.
  • The divide-by-4 rule describes the steepest local probability slope.
3

Estimate and test a logistic regression

Logistic regression estimates coefficients by maximizing the likelihood of the observed outcomes. Follow that idea into the output: convergence, standard errors, Wald tests, and confidence intervals. Compare whole models or planned blocks of predictors with likelihood ratio tests, then use information criteria to weigh fit against complexity. The choice of test and the cases included in each model matter to the conclusion.

3.1 Explain maximum likelihood estimation

Logistic regression chooses coefficients by asking how well they account for the actual sequence of events and non-events. Maximum likelihood estimation, or MLE, selects the coefficient values that make those observed outcomes most probable under the model.

Build a likelihood from cases

For a case whose outcome is 1, the model contributes its event probability pi. For a case whose outcome is 0, it contributes 1−pi. With independent observations, multiply these contributions:

L=∏ipiyi(1−pi)1−yi.

For example, an intercept-only model for seven completions and three non-completions has likelihood p7(1−p)3. At p=0.50 it is about 0.000977; at 0.60, about 0.00179; at 0.70, about 0.00222; and at 0.80, about 0.00168. The maximum occurs at 0.70, the observed proportion. A candidate probability closer to 1 does not necessarily fit better, because it makes the three non-events harder to explain.

Work with log-likelihood

Products of many probabilities become very small. Taking their natural logarithm turns the product into a sum without changing which coefficients maximize it:

LL=∑i[yiln⁡pi+(1−yi)ln⁡(1−pi)].

For the seven-of-ten example, the maximum log-likelihood is about −6.11. Log-likelihoods for individual 0/1 observations are nonpositive; values closer to zero indicate a better fit to the same data.

Software often reverses the direction by reporting −2 log-likelihood, written −2LL. Here it is about 12.22, and smaller is better. For individual Bernoulli observations, this is also the residual deviance. With grouped binomial counts, residual deviance is measured relative to the grouped saturated model, so it need not equal the displayed −2LL.

Understand iterations and convergence

With predictors, there is no general closed-form expression for the MLE coefficients. Software starts with trial values and improves them through repeated updates, using an algorithm such as Newton–Raphson or iteratively reweighted least squares. Convergence means those updates have met the stopping rule. Check the convergence messages before interpreting the coefficient table.

In well-behaved large samples, coefficient estimates have approximately normal sampling distributions. Their estimated standard errors support Wald tests and confidence intervals. A small sample or a sparse outcome category can make that approximation unreliable.

Recognize separation

Complete separation occurs when a predictor or combination perfectly separates the outcomes. If every participant with a partner completes and every participant without one does not, increasing the partner coefficient keeps improving the likelihood. A finite ordinary MLE does not exist.

Quasi-complete separation can occur when all partner participants complete, while participants without partners include both outcomes. Part of the data is perfectly predicted, and some estimates still diverge. Very large coefficients, enormous standard errors, nonconvergence, or warnings about probabilities numerically equal to 0 or 1 require investigation.

Inspect sparse cross-tabulations and coding. Possible responses include collecting more informative data, merging categories when their meanings justify it, or using a penalized approach such as Firth logistic regression. MLE maximizes the likelihood; it does not minimize squared residuals or maximize an ordinary regression R².

Key Takeaways

  • MLE maximizes the likelihood of the observed event and non-event outcomes.
  • Log-likelihood has the same maximizer as likelihood.
  • For the same observations, larger LL and smaller −2LL indicate better fit.
  • Check convergence before trusting estimates.
  • Separation can prevent finite ordinary maximum-likelihood estimates.
  • Sparse outcomes weaken large-sample Wald approximations.

3.2 Test and interpret individual coefficients

A coefficient table combines an estimated association with its uncertainty. Read the estimate, standard error, test, odds ratio, and confidence interval together. A small p-value by itself does not say that the association is large.

Calculate a Wald test

The Wald test compares a coefficient with zero by dividing by its standard error:

z=bSE.

For distance in the completion model, b=−0.25 and SE=0.06, giving z≈−4.17. Squaring gives a Wald chi-square of 17.36 on 1 degree of freedom, with p<.001. For partner, b=0.90 and SE=0.35 give z≈2.57 and Wald chi-square 6.61, p=.010.

The signed z statistic preserves the direction of the estimate. Its square loses that sign but produces the same two-sided p-value through a chi-square reference distribution with 1 degree of freedom.

Build an odds-ratio interval

First form an interval for the coefficient, then exponentiate both endpoints:

95% CI for OR=[eb−1.96SE,eb+1.96SE].

For distance, the coefficient interval is approximately [−0.368, −0.132]. Exponentiation gives OR 0.78, 95% CI [0.69, 0.88]. For partner, the coefficient interval is [0.214, 1.586], giving OR 2.46, 95% CI [1.24, 4.88].

The OR interval is asymmetric because exponentiation is nonlinear. Do not calculate OR±1.96SE using the coefficient's standard error. Exponentiating the standard error alone also does not create a standard error for the OR. A two-sided Wald interval excluding 1 corresponds to a two-sided Wald test significant at .05, subject to rounding.

Match labels across programs
QuantitySPSSRjamovi
CoefficientBEstimateEstimate
Standard errorS.E.Std. ErrorSE
TestWald chi-squarez valueZ
p-valueSig.Pr(>z
Odds ratioExp(B)Exponentiate coefficientsOdds ratio option

In R, summary(model) displays the coefficient tests and exp(coef(model)) produces ORs for a fitted glm object. Request odds-ratio confidence intervals explicitly in graphical software. Check whether an interval is a Wald or profile-likelihood interval before expecting exact agreement with a Wald test.

For a categorical predictor with several indicators, a row tests one category against the reference. An overall test requires all its indicators together. A four-category predictor normally contributes 3 degrees of freedom to a joint test, not one.

Judge precision and test reliability

An OR of 1.05 can have a tiny p-value in a huge sample, while an OR of 3 can have a wide interval crossing 1 in a small sample. Report magnitude and precision alongside significance.

Near separation, a coefficient and its standard error can both become enormous. The standard error can grow so fast that the Wald statistic becomes small despite a strong association. This is the Hauck–Donner effect. Investigate the fit; likelihood ratio tests and profile-likelihood intervals are generally preferable to ordinary Wald inference in such cases, with separation itself addressed when estimates do not exist.

Key Takeaways

  • The Wald z statistic is b/SE; its square has a 1-df chi-square reference distribution.
  • Construct a coefficient interval before exponentiating its endpoints.
  • The no-association value for an OR interval is 1.
  • A categorical predictor needs a joint test of its indicators.
  • Interpret the OR and its precision alongside the p-value.

3.3 Compare models with likelihood ratio tests

A model comparison asks whether extra predictors improve fit enough to justify their extra parameters. The likelihood ratio test answers this for nested models. Information criteria offer a different comparison by balancing fit against model size.

Begin with an intercept-only model

The null model gives every participant the same fitted probability. In the exercise example, 120 of 200 adults complete, so the null probability is 0.60. Its intercept is ln⁡(120/80)≈0.405 and its negative twice log-likelihood is

−2LL0=−2[120ln⁡0.60+80ln⁡0.40]≈269.20.

This is the baseline fit to beat. It accounts for the overall event frequency without distinguishing participants by their predictors.

Subtract fits in the correct direction

Two models are nested when the smaller can be obtained by fixing added coefficients in the larger to zero. For models fitted by MLE to the same cases, calculate

χ2=(−2LLsmaller)−(−2LLlarger).

The degrees of freedom equal the number of added free parameters. The distance-and-partner model has −2LL=224.60. Against the null model, the improvement is 269.20−224.60=44.60 on 2 degrees of freedom, p<.001. This overall result says the predictors improve fit jointly.

To test partner beyond distance, compare the distance-only value 232.00 with 224.60. The difference is 7.40 on 1 degree of freedom, p=.007. This is a block comparison with just one added coefficient. A three-category factor would add two coefficients and use 2 degrees of freedom.

SPSS calls the overall comparison "Omnibus Tests of Model Coefficients." In R, anova(model0, model1, test = "Chisq") compares nested fitted models. A block test and an individual Wald test often give similar results in large samples but need not match exactly.

Keep the data constant

A comparison fails if the models were fitted to different observations. Adding a predictor with missing values can silently shrink the sample. Select the common complete cases first, then fit both models to that same set. Matching sample sizes alone is insufficient if the identities of the cases differ.

Penalize extra parameters with AIC and BIC

Let k count every estimated parameter, including the intercept, and n count cases:

AIC=−2LL+2k,BIC=−2LL+kln⁡n.

The two-predictor model has three parameters, so AIC is 224.60+6=230.60. Distance alone has two parameters, so AIC is 232.00+4=236.00. Their BIC values are about 240.49 and 242.60. Both criteria favor the two-predictor model here.

Lower information criteria are better. They are not p-values and do not have a significance cutoff. They can compare non-nested models when the response, likelihood basis, and fitted cases are comparable. BIC imposes a larger per-parameter penalty than AIC when n>e2.

Choose predictor blocks for substantive reasons. Automatic forward or backward selection repeatedly searches the same data, which can exaggerate selected effects and make ordinary p-values too optimistic. A planned comparison makes the scientific question behind the model change clear.

Key Takeaways

  • Compare nested models fitted to the same cases with a likelihood ratio test.
  • Subtract larger-model −2LL from smaller-model −2LL.
  • Test degrees of freedom count added parameters.
  • A significant overall test establishes improvement over the null model.
  • AIC and BIC penalize parameters, including the intercept; lower is better.
  • Use a substantive plan for predictor blocks.
4

Assess fit, classification and assumptions

A fitted model can improve on the null model without giving accurate probabilities or useful classifications. Read fit, calibration, and classification as separate pieces of evidence. Check whether the observations and predictors support the model, investigate influential cases, and turn the results into a report with clear coding, units, uncertainty, and comparison groups. Each statistic should answer a recognizable question.

4.1 Judge overall fit with pseudo R² and goodness-of-fit tests

Model fit has several meanings. A model can improve on an intercept-only model, assign sensible probabilities, and still classify many people incorrectly. Separate overall improvement, calibration, and discrimination when reading fit output.

Read pseudo R² by name

Logistic regression has no least-squares split into explained and unexplained variance. Its pseudo R² measures summarize likelihood improvement using different scales. They are not proportions of outcome variance explained.

For the completion model, the null −2LL is 269.20, the fitted −2LL is 224.60, the likelihood ratio chi-square is 44.60, and there are 200 cases.

MeasureCalculationValue
McFadden1−LLmodel/LLnull.166
Cox and Snell1−e−χ2/n.200
NagelkerkeCox and Snell divided by its attainable maximum.270

McFadden's value can also be obtained as 44.60/269.20≈.166. Cox and Snell gives 1−e−44.60/200≈.200. Its maximum for these data is 1−e−269.20/200≈.740. Nagelkerke rescales by this maximum, giving about 0.200/0.740=.270.

The same fitted model produces all three numbers. Report "Nagelkerke R² = .27," for example, not "the model explained 27% of the variance." Compare models fitted to the same data using the same named measure. Benchmarks from ordinary linear regression do not transfer directly.

Check calibration

Calibration asks whether observed event proportions match predicted probabilities. If people predicted near 0.70 have an observed event proportion near 0.70, that part of the probability scale is well calibrated.

The Hosmer–Lemeshow test sorts cases by their fitted probabilities and forms groups, commonly ten. It compares observed and expected event and non-event counts within those groups. With g groups, its usual chi-square reference has g−2 degrees of freedom.

Suppose the result is χ2(8)=6.12, p=.63. There is no detected evidence of poor calibration. A significant result would flag disagreement, so the direction of a desirable p-value differs from the overall model test.

A nonsignificant result does not establish that every fitted probability is accurate. The test can miss problems in small samples and flag small differences in large samples. Ties and choices about grouping can also change the result. Examine a calibration plot showing observed proportions against predictions to see where and how much they differ.

Distinguish the questions

The likelihood ratio test asks whether the predictors improve fit beyond the null model. Calibration asks whether probability levels are accurate. Discrimination asks whether event cases tend to receive higher predictions than non-event cases.

For example, a constant prediction equal to the event proportion can be calibrated overall, yet cannot rank any two participants. Conversely, predictions can rank participants usefully while being systematically too high. Use evidence that answers the particular question, instead of treating one favorable statistic as a complete model evaluation.

Key Takeaways

  • Name the pseudo R² measure and avoid a variance-explained interpretation.
  • Cox and Snell has a data-dependent maximum below 1; Nagelkerke rescales it.
  • Calibration compares predicted probabilities with observed proportions.
  • A significant Hosmer–Lemeshow result flags poor calibration.
  • Overall improvement, calibration, and discrimination answer different questions.

4.2 Evaluate predictions with a classification table

A predicted probability becomes a category only after a cutoff is chosen. A classification table records how those categories match the observed outcomes. Different summaries use different denominators, so identify the group each rate describes before calculating it.

Read the table

Completion is the event. At cutoff 0.50, classify a participant as a completer when their fitted probability is at least 0.50.

Observed outcomePredicted completionPredicted non-completionTotal
Completed10218120
Did not complete305080
Total13268200

The 102 are true positives and the 50 are true negatives. The 30 are false positives, and the 18 are false negatives. Accuracy is (102+50)/200=.76. Predicting completion for everyone would already be correct for 60% of participants, so compare 76% with that majority-category baseline.

Condition on the observed outcome

Sensitivity asks what fraction of actual events were predicted as events: 102/120=.85. Specificity asks what fraction of actual non-events were predicted as non-events: 50/80=.625. The false positive rate is 1−.625=.375.

These rates use rows of this table. Sensitivity is not the fraction of positive predictions that were correct; that question uses a different denominator.

Condition on the prediction

The positive predictive value is 102/132≈.77: among predicted completers, about 77% completed. The negative predictive value is 50/68≈.74: among predicted non-completers, about 74% did not complete. These use columns.

Predictive values depend on how common the event is in the population. An apparently strong positive predictive value in one setting can change in a setting with a different event frequency. Accuracy also needs context: when only 5% are events, predicting no event for everyone gives 95% accuracy but zero sensitivity.

Change the cutoff deliberately

Raising the cutoff to 0.70 reduces predicted positives. Suppose 84 of 120 completers and 64 of 80 non-completers are then correct. Sensitivity falls to 0.70, specificity rises to 0.80, accuracy becomes 0.74, and positive predictive value becomes 0.84. The model's fitted probabilities have not changed; the decision rule has.

Choose a cutoff with the consequences of false positives and false negatives in mind. Lowering it cannot reduce sensitivity or increase specificity on the same predictions, although ties can leave a rate unchanged.

Look across cutoffs

The ROC curve plots sensitivity against the false positive rate across possible cutoffs. AUC summarizes ranking: it is the probability that a random event case receives a higher prediction than a random non-event case, plus half the probability of a tie. A constant prediction gives AUC 0.50; perfect ranking gives 1.

AUC describes discrimination across cutoffs, not calibration or accuracy at one chosen cutoff. Classification measured on the cases used to fit the model tends to overstate performance on new cases, particularly when the model has many parameters relative to the available data.

Key Takeaways

  • Accuracy counts all correct classifications, but needs a majority-category baseline.
  • Sensitivity and specificity condition on the observed outcome.
  • Predictive values condition on the predicted category and depend on event frequency.
  • Raising the cutoff trades sensitivity for specificity.
  • The ROC curve summarizes cutoff tradeoffs.
  • AUC measures ranking and gives half-credit for ties.

4.3 Check assumptions and problem cases

A usable coefficient table depends on the data structure and the model being appropriate. Check the observations, predictors, and individual cases as well as the printed fit statistics. Logistic regression has its own assumptions; normal residuals and equal residual variances are not among them.

Check the observations and information available

Verify the binary outcome coding and inspect counts in both categories. Observations must be independent for an ordinary logistic model. Repeated measurements on one person or participants grouped within schools need an analysis that accounts for dependence. Ignoring clustering can make standard errors too small.

Count parameters, not just variable names, when assessing data demands. A factor with four categories uses three coefficients. A common planning rule asks for at least ten cases in the less frequent outcome category per slope coefficient. The example has 80 non-completers and two slopes, or 40 per coefficient. This is a rough guide, not a guarantee: required information also depends on effect sizes, predictor patterns, and the purpose of the model.

Cross-tabulate categorical predictors against the outcome. Empty or very small cells can produce separation or unstable estimates. Merge categories only when their meanings support doing so.

Check continuous predictors on the logit scale

A model with one linear term for a continuous predictor assumes a linear relationship with log-odds, not with probability. The Box–Tidwell approach adds xln⁡x alongside x. A significant added term signals that the simple linear-logit form needs attention. A transformation or polynomial term can represent a nonlinear pattern.

The logarithm requires strictly positive values. For a variable containing zeros or negatives, a positive shift must be explicitly chosen and documented before forming this term. The result depends on the shifted scale; do not silently add a constant and treat the transformation as scale-free. Inspecting the fitted relationship provides useful context for the test.

Check relationships among predictors

Perfect multicollinearity prevents unique coefficient estimates. Strong but imperfect multicollinearity inflates standard errors and makes coefficients unstable. VIF depends on the predictors, so it can be obtained from regressions among those predictors. VIF above 10, or tolerance below 0.10, is a common serious-warning guideline, not a universal decision threshold.

Investigate unusual and influential cases

Residuals compare observed 0/1 outcomes with fitted probabilities. Pearson and deviance residuals help identify surprising cases. They do not have a normal distribution for individual binary observations. For an event case predicted at 0.10, the Pearson residual is 0.90/0.10=3; that can happen under a correctly specified model.

Leverage flags unusual predictor profiles. Average leverage is (k+1)/n for k slopes; two or three times that average is a screening guideline. Cook's distance summarizes overall influence, with values above 1 a common flag. DFBETAS describes a standardized change in a particular coefficient when one case is omitted; absolute values above 1 are another screening guideline. Raw DFBeta uses the coefficient's units, so the same cutoff is not transferable to it.

Inspect flagged records for errors and examine how conclusions change when the model is refitted without them. A valid unusual observation remains evidence. Document any exclusion and its reason instead of deleting cases simply to obtain a preferred result.

Key Takeaways

  • Check independence, binary coding, and information in both outcome categories.
  • Continuous linear terms assume linearity of the logit.
  • Box–Tidwell terms require a strictly positive, documented predictor scale.
  • Multicollinearity can make coefficient estimates unstable.
  • Use residuals, leverage, and influence together to investigate cases.
  • Influence guidelines are screening tools; case deletion needs a substantive reason.
  • Normal-residual and equal-variance checks do not apply to binary logistic outcomes.

4.4 Report a logistic regression

A useful report lets readers identify the event, reconstruct the comparisons, and judge the uncertainty. Link the model's numerical results to clear statements about the outcome. State enough about coding and units that a positive coefficient has only one possible interpretation.

Describe what was fitted

Begin with the binary outcome and its modeled category, predictors and units, reference categories, sample size, and event count. Identify maximum likelihood as the estimation method. For example:

"A binary logistic regression modeled completion of a 12-week exercise program (1 = completed, 0 = did not complete) for 200 adults, including 120 completers. Distance was measured in kilometers; partner status used no partner as the reference. Coefficients were estimated by maximum likelihood."

Include relevant assumption checks and explain meaningful problems, such as sparse categories, nonconvergence, or influential records, and how they were handled.

Report overall fit and coefficients

For the example, write: "The predictors improved fit over the intercept-only model, χ2(2)=44.60, p<.001, Nagelkerke R2=.27." The pseudo R² is named so that its scale is clear. If a calibration check was used, add its result: "The Hosmer–Lemeshow test did not detect poor calibration, χ2(8)=6.12, p=.63."

A coefficient table should give the estimate, standard error, test statistic, p-value, OR, and confidence interval:

PredictorbSEWald chi-squarepOR95% CI
Distance, per km−0.250.0617.36< .0010.78[0.69, 0.88]
Partner, yes versus no0.900.356.61.0102.46[1.24, 4.88]

Interpret a central result in words: "Each additional kilometer was associated with about 22% lower completion odds, adjusting for partner status." For partner, say "2.46 times the odds," preserving both the event and the comparison group.

Add understandable probabilities and classification

Predicted probabilities can make the odds results easier to understand: "At 4 km, the fitted completion probability was .75 with a partner and .55 without one." These describe specific profiles, so give their predictor values.

If classification is reported, state its cutoff and baseline: "At cutoff .50, accuracy was 76%, compared with a 60% majority-category baseline; sensitivity was .85 and specificity was .63." Accuracy alone hides the difference between identifying completers and identifying non-completers.

Apply APA number conventions

Write p-values without a leading zero, such as p=.010. Use p<.001 for very small values; software's .000 is rounded output, not a zero probability. Odds ratios can exceed 1 and keep a leading zero, as in OR = 0.78. Put confidence intervals in square brackets and usually display test statistics to two decimals. Preserve sensible precision in calculations before rounding the report.

For observational data, describe associations. Adjustment does not by itself establish that a predictor causes the outcome. "Was associated with higher odds" describes what the fitted model estimates, while a causal sentence needs evidence from the research design.

Key Takeaways

  • State event coding, units, reference groups, sample size, and estimation method.
  • Report overall fit and name the pseudo R² measure.
  • Give coefficients, uncertainty, tests, ORs, and confidence intervals.
  • Use odds language for ORs and predictor profiles for probability comparisons.
  • Pair classification rates with the cutoff and baseline.
  • APA p-values omit a leading zero; ORs retain one.
5

Model outcomes with more than two categories

Outcomes with several categories require a choice about how those categories relate. For unordered choices, compare each category with a reference and calculate a full probability distribution. For ordered ratings, use cumulative comparisons and shared slopes. The reference choice, coefficient sign convention, and proportional odds assumption determine how the output is read; category probabilities make those comparisons concrete.

5.1 Model unordered categories with multinomial logistic regression

Some outcomes have more than two categories with no natural order. Multinomial logistic regression models these categories together through comparisons with one reference outcome. The fitted category probabilities form a complete distribution that sums to 1.

Set up baseline-category logits

Suppose usual travel to work is car, bike, or public transportation. Choose car as the reference. With distance x in kilometers, write

ln⁡P(bike)P(car)=a1+b1x, ln⁡P(public transportation)P(car)=a2+b2x.

These are baseline-category logits. With K outcome categories, there are K−1 equations. With q predictor coefficients in each equation, including any indicator or product terms in that count, there are (K−1)(q+1) parameters including intercepts. Here, two equations each have an intercept and a slope, for four parameters.

Interpret a category comparison

Let the bike slope be −0.30 and the public-transportation slope be 0.05. Each extra kilometer multiplies the bike-versus-car probability ratio by e−0.30≈0.74, and the public-transportation-versus-car ratio by e0.05≈1.05. These are also called category-versus-reference odds ratios, and some software labels them relative risk ratios.

Neither is a multiplier of the unconditional probability of that category. All categories compete for a total probability of 1. For bike versus public transportation, subtract the slopes: −0.30−0.05=−0.35. The corresponding multiplier is e−0.35≈0.70 per kilometer. Changing the reference category changes the coefficients, not the fitted probabilities.

Normalize all category probabilities

Take intercepts 1.5 and 0.2. Then η1=1.5−0.30x and η2=0.2+0.05x. Set D=1+eη1+eη2. The probabilities are

P(car)=1/D,P(bike)=eη1/D,P(public transportation)=eη2/D.

At 5 km, the logits are 0 and 0.45, giving probabilities about 0.28, 0.28, and 0.44. At 10 km, they are −1.5 and 0.70, giving about 0.31, 0.07, and 0.62. The car probability changes little because the alternatives move in opposite directions. Applying the binary inverse logit to each equation separately would fail to normalize the full distribution.

Extend tests and check the choice structure

A single continuous predictor contributes one slope to each equation. Its overall likelihood ratio test therefore has K−1 degrees of freedom. Each equation also has coefficient-level Wald tests; pseudo R² and classification summaries extend the binary ideas.

The model's independence of irrelevant alternatives assumption says that the odds between two categories do not depend on which other alternatives are available. Closely substitutable alternatives can challenge that assumption. More categories also mean more parameters and a greater need for data in each category. Separate pairwise binary fits generally yield different estimates and need not produce probabilities that sum to 1.

Key Takeaways

  • Use multinomial logistic regression for unordered outcomes with three or more categories.
  • Choose one reference outcome and fit K−1 baseline-category logits.
  • Compare two non-reference categories by subtracting their coefficient vectors.
  • Normalize all exponentiated logits with a shared denominator.
  • An overall predictor test counts its coefficients across all equations.
  • The independence of irrelevant alternatives assumption concerns available choices.

5.2 Model ordered categories with ordinal logistic regression

An ordered outcome carries information that an unordered model ignores. Ratings such as poor, fair, and good have a clear order, but the gaps need not be equal. Ordinal logistic regression uses that order through cumulative comparisons.

Split the ordered categories at each cut point

With three categories, there are two cumulative comparisons: poor versus fair or good, and poor or fair versus good. For cut point j, the cumulative probability is P(Y≤j). Its logit compares being at or below that cut point with being above it.

One common proportional odds equation is

ln⁡P(Y≤j)P(Y>j)=θj−βx.

Each cut point has its own threshold θj, but all share the same predictor coefficient β. With K categories and q slopes, the model has K−1+q parameters. The thresholds are ordered intercept-like cut points, not effects of predictors.

Track the sign convention

Under the displayed minus-sign convention, a positive coefficient shifts outcomes toward higher categories. It decreases the log-odds of being at or below each cut point. Exponentiating β gives the multiplier for the reverse, higher-versus-lower cumulative odds.

R's polr uses this convention. Some programs or texts put a plus sign before the predictor expression. In that form a positive coefficient shifts outcomes toward lower categories. Read the equation and category order before interpreting a sign; the symbol alone is not enough.

Recover the individual probabilities

Let the thresholds be 0.5 and 2.0, and let tutorial attendance have coefficient 0.8, with attendance coded 1. For non-attenders, the cumulative logits are 0.5 and 2.0. Applying the inverse logit gives approximately 0.622 and 0.881.

The probability of poor is the first cumulative probability, 0.622. Fair is the difference, 0.881−0.622≈0.259. Good is the complement of the second, 1−0.881≈0.119.

For attenders, subtract 0.8 from each threshold. The cumulative logits are −0.3 and 1.2, giving cumulative probabilities about 0.426 and 0.769. The category probabilities are therefore about 0.426 for poor, 0.343 for fair, and 0.231 for good. Subtract cumulative probabilities in order; treating both cumulative values as individual categories would double-count poor ratings.

Interpret and check proportional odds

The shared higher-versus-lower OR is e0.8≈2.23. Attendance multiplies the odds of fair or good versus poor by 2.23, and also the odds of good versus poor or fair by 2.23. It is not the odds of moving exactly one category up.

The proportional odds assumption is this common coefficient across cut points. The test of parallel lines or Brant test checks it. A significant result flags differences, but large samples can detect small departures. Compare cut-point estimates to judge their practical importance. If the assumption clearly fails, a partial proportional odds model can relax selected common slopes, or a multinomial model can treat the categories without the proportional constraint.

Key Takeaways

  • Ordinal models use category order without requiring equal spacing.
  • A K-category model has K−1 cumulative cut points.
  • The displayed minus-sign convention makes positive slopes favor higher categories.
  • Get middle-category probabilities by subtracting cumulative probabilities.
  • Proportional odds means the same cumulative OR at every cut point.
  • Check the proportional odds assumption and investigate meaningful departures.

Logistic Regression examples

5 Walkthroughs

1

From event counts to an odds comparison

11 steps
Calculate probabilities, odds, log-odds, and an OR from course-assessment outcomes.
  1. 1
    IntroductionStart with a named event

    An assessment records a pass or a non-pass for each learner. We will call passing the event, coded 1. Non-passing is coded 0.

    Follow the counts through probability, odds, and log-odds, then compare two preparation groups. The numerical scale changes at each step, but the event stays fixed. That lets the final comparison keep a clear direction.

  2. 2
    ExampleUse all cases for probability

    Among 40 learners using a study planner, 24 pass and 16 do not. The event probability is

    p=24/40=0.60.

    The denominator includes every learner in this group. A probability of 0.60 means 60% of the group passed. Before switching scales, identify the other count: 16 non-events, representing probability 0.40. Both parts are needed to calculate odds.

  3. 3
    ExampleUse non-events for odds

    The planner group has 24 passes for every 16 non-passes. Its passing odds are

    24/16=0.60/0.40=1.5.

    These odds are above 1 because passing is more common than non-passing. They can exceed 1 without a problem: an odds value compares two parts of the group, while a probability compares one part with the whole. Odds of 1.5 do not mean a probability of 150%.

  4. 4
    ChallengeConvert back before interpreting

    A different group has passing odds of 0.40. What is its passing probability?

    ---reveal---

    Use p=0.40/(1+0.40)≈0.286. Passing is less common than non-passing in this group. Reporting 0.40 as the probability would use the odds value without changing its denominator. The complementary non-pass probability is about 0.714, and their ratio recovers odds 0.40.

  5. 5
    ExplanationTake the natural log

    For the planner group, the log-odds are ln⁡1.5≈0.405. This value is positive because its passing probability exceeds 0.50.

    If we reverse the event to non-passing, the odds become 16/24=2/3 and the log-odds become about −0.405. Complementary event probabilities therefore have opposite logits. Software uses the natural logarithm in this transformation.

  6. 6
    Key InsightWhy the logit can be a line

    Probabilities must remain between 0 and 1, but finite logits have no fixed upper or lower limit. A regression line can model log-odds and still return valid probabilities after conversion.

    The conversion bends the line into an S-curve. A one-unit logit increase moves probability most strongly near 0.50 and less strongly near the extremes. Equal steps on one scale need not be equal steps on another.

  7. 7
    ExampleBuild a second group comparison

    Among 40 learners without a planner, 12 pass and 28 do not. Their passing odds are 12/28=3/7. The planner-versus-no-planner OR is

    24/1612/28=3.5.

    The planner group has 3.5 times the passing odds. Both row totals happen to equal 40, but the odds calculation still uses the non-pass counts within each group, not those row totals.

  8. 8
    ExplanationSeparate odds from risk

    The passing probabilities are 0.60 with a planner and 0.30 without one. Their risk ratio is 0.60/0.30=2, while their OR is 3.5.

    The sentence "Planner users had 3.5 times the passing odds" matches the OR. "Planner users were twice as likely to pass" matches the risk ratio. These ratios describe the same table but use different quantities, so their wording must keep the distinction.

  9. 9
    ExamplePut an interval around the OR

    For counts 24, 16, 12, and 28, the log-OR standard error is

    SE=1/24+1/16+1/12+1/28≈0.472.

    The log OR is about 1.253. Form 1.253±1.96(0.472) and exponentiate the endpoints. This gives an OR interval of approximately [1.39, 8.84]. It excludes equal odds, but its width shows substantial uncertainty about the magnitude of the association.

  10. 10
    ChallengeReverse a comparison and its scale

    A learner writes: "Without a planner, learners had 3.5 times the chance of passing." Correct both the comparison direction and the scale, using the table above.

    ---reveal---

    For no planner versus planner, the passing OR is 1/3.5≈0.286. The passing probability ratio is 0.30/0.60=0.50. A correct sentence is "Learners without a planner had about 0.286 times the passing odds," or "half the passing probability."

  11. 11
    RecapKeep the denominator in view

    Use the denominator to keep the scales straight: probability uses all cases, odds use non-events, and an OR divides one group’s odds by another’s. Taking the natural log prepares the odds for a linear model.

    In the planner example, passing probability 0.60 becomes odds 1.5 and log-odds about 0.405. The group comparison is OR 3.5, with an asymmetric interval formed by exponentiating a log-scale interval.

2

Interpret a workshop-attendance model

17 steps
Work through a binary model, adjust category comparisons, and calculate probabilities with an interaction.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionFollow the model’s scales
  2. 2
    ExplanationWrite the attendance equation
  3. 3
    ExampleInterpret the zero profile
  4. 4
    ChallengeIdentify the modeling problem
  5. 5
    ExampleExponentiate a session slope
  6. 6
    ExampleCombine several session changes
  7. 7
    ChallengeRead the reverse contrast
  8. 8
    ExplanationAdd workshop formats as indicators
  9. 9
    ExampleCompare the two alternatives
  10. 10
    ExampleLet the session effect depend on reminders
  11. 11
    ChallengeFind where a reminder has no effect
  12. 12
    ExampleCalculate a profile’s logit first
  13. 13
    ExampleNow convert the logit
  14. 14
    Key InsightThe probability effect has a center
  15. 15
    ChallengeUse a probability target
  16. 16
    ChallengeChoose the correct prediction equation
  17. 17
    RecapMatch the result to the comparison
3

Read and compare likelihood-based results

14 steps
Move from a simple likelihood to coefficient uncertainty, block tests, and information criteria.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionAsk how the estimates were chosen
  2. 2
    ExampleLet non-events count too
  3. 3
    ExplanationTranslate the fit direction
  4. 4
    ChallengeRecognize a failed finite estimate
  5. 5
    ExampleRead a coefficient and its test
  6. 6
    ExampleCarry the interval onto the odds scale
  7. 7
    ChallengeSeparate precision from magnitude
  8. 8
    ExampleCompare a whole model
  9. 9
    ExampleTest an added block
  10. 10
    TipHold the observations constant
  11. 11
    ExampleAdd the AIC penalty
  12. 12
    ChallengeCompare different decision rules
  13. 13
    ChallengeRespond to a misleading Wald result
  14. 14
    RecapRead fit and uncertainty together
4

Evaluate a quality-review model

18 steps
Use a classification table, fit checks, and diagnostics to prepare a clear report.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionEvaluate several kinds of success
  2. 2
    ExplanationName what pseudo R² summarizes
  3. 3
    ExampleDistinguish calibration from improvement
  4. 4
    ChallengeRead a goodness-of-fit result
  5. 5
    ExampleIdentify the four cell counts
  6. 6
    ExampleCompute accuracy with a baseline
  7. 7
    ExampleCondition on the actual outcome
  8. 8
    ExampleCondition on the decision
  9. 9
    ChallengeWork backward from a sensitivity change
  10. 10
    Key InsightUse AUC for ranking
  11. 11
    ExplanationCheck the observation structure
  12. 12
    ExplanationCheck the predictor shape
  13. 13
    ExampleCombine diagnostics for one case
  14. 14
    ChallengeCount the information per coefficient
  15. 15
    ExampleState what the model compares
  16. 16
    TipAttach the decision rule to the rates
  17. 17
    ChallengeRepair an incomplete performance claim
  18. 18
    RecapChoose evidence for each question
5

Choose and interpret a multicategory model

14 steps
Normalize unordered category probabilities, then recover ordered probabilities from cumulative logits.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionLet the category structure guide you
  2. 2
    ExplanationChoose a baseline outcome
  3. 3
    ExampleCalculate the category weights
  4. 4
    ExampleNormalize the whole choice set
  5. 5
    ChallengeCompare two non-reference categories
  6. 6
    ConnectionQuestion the available alternatives
  7. 7
    ExplanationUse the order without equal gaps
  8. 8
    ExampleStart with cumulative probabilities
  9. 9
    ExampleSubtract to isolate a category
  10. 10
    ExampleApply one common coefficient
  11. 11
    ChallengeInterpret the shared OR
  12. 12
    TipCheck signs and parallel slopes
  13. 13
    ChallengeChoose the model and count terms
  14. 14
    RecapRecover the complete outcome distribution

Logistic Regression practice questions

60 Practice Questions in 6 sets

Set 1: Coefficients, categories, and predictions10 Practice Questions

Question 1 of 10

A binary logistic model has a linear predictor of zero for a particular profile. What is its fitted event probability?
  1. 0.00
  2. 1.00
  3. 0.25
  4. 0.50
Show answerHide answer
Answer: D
A linear predictor of zero means log-odds zero, odds of 1, and probability 1/(1+1)=0.50. Reporting probability zero confuses the log-odds value with the probability value. The inverse-logit conversion is needed even when the linear predictor looks like a possible probability.

Question 2 of 10

A delivery-delay model has coefficient −0.18 per kilometer. What odds multiplier corresponds to an additional 3 km?
  1. e−0.54≈0.583
  2. 3e−0.18≈2.506
  3. e−0.18≈0.835
  4. e0.54≈1.716
Show answerHide answer
Answer: A
Three kilometers change the log-odds by 3(−0.18) = −0.54, so the odds multiplier is about 0.583. Multiplying the one-kilometer OR by 3 adds the wrong quantity: repeated odds effects multiply, which is equivalent to adding their coefficients before exponentiating.

Question 3 of 10

An adjusted event OR is 1.35 per extra hour of preparation. What is the corresponding percentage change in event odds?
  1. 135% higher odds per hour
  2. 35-point higher probability
  3. 35% higher odds per hour
  4. 135-point higher probability
Show answerHide answer
Answer: C
The multiplier 1.35 contains the starting odds plus an extra 0.35 of those odds, so the increase is 35%. Calling it a 135% increase counts the baseline twice. This is a change in odds; a probability change requires the starting probability and a scale conversion.

Question 4 of 10

A four-category nominal predictor is fitted with one reference category. How many coefficients must its overall test assess, excluding the intercept?
  1. 1
  2. 3
  3. 4
  4. 5
Show answerHide answer
Answer: B
Four categories need three indicators, each comparing a category with the reference, so the joint test assesses three coefficients. Counting one coefficient treats arbitrary category codes as a single numeric scale. Counting four includes a redundant indicator when the model already contains an intercept.

Question 5 of 10

A model uses morning shift as reference. The coefficients for afternoon and night are 0.20 and 0.85. What is the event OR for night versus afternoon?
  1. e1.05≈2.86
  2. e0.85≈2.34
  3. e0.65≈1.92
  4. e−0.65≈0.52
Show answerHide answer
Answer: C
The night-versus-afternoon log-odds difference is 0.85 − 0.20 = 0.65. Exponentiating gives about 1.92. Using the night coefficient alone compares night with morning, so it retains the original reference instead of answering the requested comparison.

Question 6 of 10

Renewal is coded 1. A fitted model is η=−1.40+0.50t+0.60s, where t is months and s is 1 for support use. What is the renewal probability at t=2 with support?
  1. 0.550
  2. 0.200
  3. 0.450
  4. 0.646
Show answerHide answer
Answer: A
The linear predictor is −1.40+0.50(2)+0.60=0.20. Applying the inverse logit gives approximately 0.550. The value 0.20 is still log-odds; reporting it as a probability omits the step that maps the linear predictor onto the probability scale.

Question 7 of 10

A model is η=−0.5+0.4x+0.7z−0.15xz, with z coded 0/1. What is the x odds ratio when z=1?
  1. e0.40≈1.49
  2. e0.25≈1.28
  3. e−0.15≈0.86
  4. e0.55≈1.73
Show answerHide answer
Answer: B
At z=1, the x terms combine to (0.40 − 0.15)x, giving a slope of 0.25 and OR about 1.28. Exponentiating the interaction alone gives the ratio of the two group-specific x ORs. It does not give the x OR within the z=1 group.

Question 8 of 10

For a completion model η=2.4−0.3d, at what distance d in kilometers is the fitted completion probability 0.50?
  1. 4 km
  2. 7 km
  3. 9 km
  4. 8 km
Show answerHide answer
Answer: D
Probability 0.50 corresponds to log-odds zero, so solve 2.4 − 0.3d = 0 to obtain 8 km. Setting the linear predictor to 0.50 would give a different distance because 0.50 is the desired probability, not the desired log-odds. The conversion identifies the correct equation first.

Question 9 of 10

An event model is η=−1+0.3x+0.8z−0.2xz, with z coded 0/1. The analyst recenters x as u=x−4 and keeps the interaction. What is the event OR for z=1 versus z=0 at u=0?
  1. 2.23
  2. 0.45
  3. 1.00
  4. 1.82
Show answerHide answer
Answer: C
At u=0, the original x is 4. The z log-odds difference is 0.8 − 0.2(4) = 0, so its OR is 1. Using exp(0.8) would interpret the original z coefficient at x=0; recentering makes the relevant comparison occur at x = 4 instead.

Question 10 of 10

Two profiles have baseline event probabilities 0.20 and 0.60. A binary predictor has the same event OR of 2 in both profiles, with no interactions. What are their probability increases when that predictor changes from 0 to 1?
  1. About 0.200 and 0.400, respectively
  2. About 0.133 and 0.150, respectively
  3. About 0.200 and 0.200, respectively
  4. About 0.133 and 0.300, respectively
Show answerHide answer
Answer: B
The starting odds are 0.25 and 1.5; doubling them gives 0.5 and 3. Convert back to probabilities of about 0.333 and 0.750, then subtract the baselines. Doubling the probabilities instead would confuse a common odds multiplier with a common probability multiplier.
Set 2: Probability, odds, and the event10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

An event has probability 0.25. What is the sign of its log-odds?
  1. Negative
  2. Positive
  3. Exactly zero
  4. Undefined
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Of 80 service requests, 24 are resolved on the first day. Resolution on the first day is the event. What are its odds?
  1. 24/80=0.300
  2. 56/24≈2.333
  3. 24/56≈0.429
  4. 56/80=0.700
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A model gives event odds of 1.5. What event probability does this represent?
  1. 0.40
  2. 0.60
  3. 0.50
  4. 0.67
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

An optional workshop has 42 passers and 18 non-passers. The no-workshop group has 28 passers and 32 non-passers. What is the passing OR for workshop versus no workshop?
  1. 1.50
  2. 0.38
  3. 1.33
  4. 2.67
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

In a survey, event probabilities are 0.40 in group A and 0.20 in group B. How do the event OR and risk ratio compare for A versus B?
  1. OR = 2.00; risk ratio ≈ 2.67
  2. OR ≈ 2.67; risk ratio = 2.00
  3. OR ≈ 0.38; risk ratio = 0.50
  4. OR ≈ 1.33; risk ratio = 2.00
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

An event OR for group X versus group Y is 0.64. What OR describes the same event for Y versus X?
  1. 0.36
  2. −0.64
  3. 1.5625
  4. 1.36
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A fitted event logit is ln⁡3. What is the event probability?
  1. 0.75
  2. 0.25
  3. 0.50
  4. 0.33
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A binary model uses 1 for a missed appointment and 0 for attendance. What does a positive coefficient for travel time indicate, holding other predictors constant?
  1. Higher odds of appointment attendance
  2. A fixed rise in attendance probability
  3. A fixed rise in probability of missing
  4. Higher odds of a missed appointment
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A study reports an event OR of 1.80 with a 95% Wald interval [0.92, 3.52]. What does this interval support at the two-sided .05 level?
  1. Higher estimated odds; clear evidence of unequal odds
  2. Higher estimated odds; insufficient evidence of unequal odds
  3. Lower estimated odds; insufficient evidence of unequal odds
  4. Equal estimated odds; clear evidence of unequal odds
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A case-control study samples 80 cases and 80 controls. Exposure occurs in 48 cases and 20 controls. An analyst uses these counts to report a population outcome risk ratio. What numerical association and limitation should be reported?
  1. Report an outcome OR of 4.5; the risk ratio is not identified here.
  2. Report an outcome risk ratio of 0.222; reverse the comparison.
  3. Report an outcome OR of 0.222; outcome sampling reverses it.
  4. Report an outcome risk ratio of 4.5; fixed outcome counts preserve it.
Show answerHide answer

Save this lesson to see this answer.

Set 3: Likelihood, uncertainty, and model comparisons10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

An intercept-only model is fitted by ordinary MLE to 45 events and 75 non-events. What common event probability does it estimate?
  1. 0.600
  2. 0.375
  3. 0.625
  4. 0.450
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A coefficient estimate is 0.48 with SE 0.16. What are its Wald z and squared Wald statistic?
  1. z = 0.33; Wald chi-square = 0.11
  2. z = 9.00; Wald chi-square = 3.00
  3. z = 0.08; Wald chi-square = 0.28
  4. z = 3.00; Wald chi-square = 9.00
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A coefficient is −0.40 with SE 0.20. What is its approximate 95% Wald interval on the OR scale?
  1. [0.453, 0.992]
  2. [0.278, 1.062]
  3. [−0.792, −0.008]
  4. [0.008, 0.792]
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Two nested models fitted to the same cases have −2LL values of 188.4 and 180.1. What is their likelihood ratio statistic?
  1. −8.3
  2. 368.5
  3. 8.3
  4. 4.15
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A larger nested model adds a five-category factor to an otherwise unchanged model on the same cases. What degrees of freedom does the likelihood ratio test use?
  1. 1
  2. 5
  3. 6
  4. 4
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A model has −2LL = 156, an intercept, and three slope coefficients. What is its AIC?
  1. 162
  2. 164
  3. 160
  4. 168
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

All 16 participants in one predictor category are events; another category contains both events and non-events. A fitted coefficient and SE grow extremely large. What problem should be investigated first?
  1. Quasi-complete separation
  2. Complete separation of cases
  3. Strong multicollinearity
  4. A precisely estimated effect
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Model A has distance only, uses 310 cases, and has −2LL = 354. Model B adds a four-category factor, uses 286 cases, and has −2LL = 331. What analysis is needed before a valid likelihood ratio comparison?
  1. Subtract 331 from 354 and compare the result with 3 df.
  2. Refit A and B to their common cases, then compare with 4 df.
  3. Refit A and B to their common cases, then compare with 3 df.
  4. Subtract 331 from 354 and compare the result with 24 df.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Two models use the same 400 cases and response. A has −2LL = 250 and 3 total parameters; B has −2LL = 245 and 5 total parameters. How do AIC and BIC rank them?
  1. Both AIC and BIC favor B.
  2. AIC favors A; BIC favors B.
  3. AIC favors B; BIC favors A.
  4. Both AIC and BIC favor A.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A near-separating predictor has a huge estimate, a huge SE, and a nonsignificant Wald test. The model otherwise suggests a strong association. What is the best interpretation and next step?
  1. The Wald result may be distorted; inspect separation and likelihood-based inference.
  2. The association is absent; a large SE makes the null hypothesis certain.
  3. The association is precise; a huge estimate overrides the confidence interval.
  4. The model has converged safely; the Wald result resolves the fit warning.
Show answerHide answer

Save this lesson to see this answer.

Set 4: Fit, classification, and diagnostics10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A fitted model reports Nagelkerke R² = .31. How should the value be described?
  1. A named likelihood-based pseudo R² measure
  2. The fraction of outcome variance explained
  3. The fraction of events classified correctly
  4. The probability that the model is correct
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A table contains 36 true positives, 9 false negatives, 21 false positives, and 84 true negatives. What are sensitivity and positive predictive value?
  1. Sensitivity ≈ .63; PPV = .80
  2. Sensitivity = .80; PPV = .84
  3. Sensitivity = .80; PPV ≈ .63
  4. Sensitivity ≈ .84; PPV = .80
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A model’s predictions are held fixed and its event cutoff rises from 0.40 to 0.65. How can sensitivity and specificity change?
  1. Sensitivity can rise; specificity can fall.
  2. Sensitivity and specificity must both rise.
  3. Sensitivity and specificity must both fall.
  4. Sensitivity can fall; specificity can rise.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A model’s null LL is −160 and fitted LL is −128 on the same cases. What is McFadden’s R²?
  1. .80
  2. .20
  3. .25
  4. .40
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A binary logistic model includes one four-level factor and two continuous predictors, without interactions. The less frequent outcome has 42 cases. What is the rarer-outcome count per slope coefficient?
  1. 14.0 cases per coefficient
  2. 8.4 cases per coefficient
  3. 10.5 cases per coefficient
  4. 7.0 cases per coefficient
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

An observational study reports OR = 0.72 per extra kilometer and software p = .0004. What sentence correctly reports direction, scale, and APA p-value?
  1. Each extra kilometer caused a 28% lower event probability, p < .001.
  2. Each extra kilometer was associated with 72% lower event odds, p = .000.
  3. Each extra kilometer was associated with 28% lower event odds, p < .001.
  4. Each extra kilometer caused a 72% lower event probability, p = .000.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

In 500 cases, 40 are events. A classifier has 28 true positives and 46 false positives. How does its accuracy compare with always predicting no event, and what is its sensitivity?
  1. Accuracy is lower by 3.6 points; sensitivity is .70.
  2. Accuracy is higher by 3.6 points; sensitivity is .70.
  3. Accuracy is lower by 3.6 points; sensitivity is .38.
  4. Accuracy is higher by 8.0 points; sensitivity is .38.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A 200-case model improves −2LL from 240 to 200 and reports a Hosmer–Lemeshow p-value of .002. What combination of conclusions follows, including Cox and Snell R²?
  1. Cox–Snell ≈ .167; fit improves and calibration is supported.
  2. Cox–Snell ≈ .181; fit worsens, but calibration is supported.
  3. Cox–Snell ≈ .200; fit improves and calibration is supported.
  4. Cox–Snell ≈ .181; fit improves, but calibration is flagged.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A study records four binary outcomes per person. In an ordinary independent-case model, a record has observed outcome 1 and fitted probability .10. The analyst deletes it for a Pearson residual above 2 to obtain normal residuals. What residual and analysis concerns follow?
  1. Residual −3; account for dependence and delete to restore normality.
  2. Residual 3; account for dependence and investigate before deleting.
  3. Residual 3; independence is preserved and deletion restores normality.
  4. Residual 0.9; independence is preserved and normality needs no check.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A report claims “64% of variance explained” from Nagelkerke R² = .64 and “excellent prediction” from 94% accuracy. The event base rate is 6%, and every case is predicted as a non-event. What revision is warranted?
  1. Keep variance explained; report the 6% baseline and zero specificity.
  2. Name pseudo R²; report the 6% baseline and perfect sensitivity.
  3. Keep variance explained; report the 94% baseline and perfect specificity.
  4. Name pseudo R²; report the 94% baseline and zero sensitivity.
Show answerHide answer

Save this lesson to see this answer.

Set 5: Several outcome categories10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

Responses are ordered as low, medium, and high, with no assumption of equal gaps. What logistic model uses this order through cumulative comparisons?
  1. Two-outcome binary logistic regression
  2. Multinomial regression ignoring order
  3. Linear regression with equal spacing
  4. Ordinal proportional odds regression
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

An unordered outcome has four categories. A multinomial model includes two continuous predictors, no interactions, and intercepts. How many parameters are estimated?
  1. 6
  2. 8
  3. 9
  4. 12
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A multinomial model uses outcome A as reference. The slopes for B versus A and C versus A are 0.60 and −0.10. What is the slope OR for B versus C?
  1. e0.70≈2.01
  2. e0.50≈1.65
  3. e0.60≈1.82
  4. e−0.70≈0.50
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

An ordinal outcome has four categories and a proportional odds model with two slopes. How many thresholds and total parameters does it have?
  1. 4 thresholds; 6 total parameters
  2. 3 thresholds; 5 total parameters
  3. 3 thresholds; 9 total parameters
  4. 2 thresholds; 4 total parameters
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

An ordinal model is logit⁡P(Y≤j)=θj−0.6x. What does e0.6 describe for a one-unit x increase?
  1. The multiplier of above-cut versus at-or-below-cut odds
  2. The multiplier of at-or-below-cut versus above-cut odds
  3. The multiplier of exactly one-category-up probability
  4. The multiplier of every individual category probability
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A three-category multinomial model has reference A. At one profile, the B-versus-A logit is ln⁡2 and the C-versus-A logit is ln⁡3. What are P(A), P(B), and P(C)?
  1. 1/5, 2/5, 2/5
  2. 1/6, 2/3, 3/4
  3. 1/3, 1/3, 1/3
  4. 1/6, 2/6, 3/6
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

An ordinal model for low, medium, high is logit⁡P(Y≤j)=θj−βx, with thresholds 0 and ln⁡3 and β=ln⁡2. At x=1, what is P(medium)?
  1. 1/3≈0.333
  2. 4/15≈0.267
  3. 3/5=0.600
  4. 2/5=0.400
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A four-category multinomial model adds a three-level nominal predictor. An analyst proposes a likelihood ratio test with 2 df and interprets one equation’s OR as the multiplier of that category’s probability. What needs correction?
  1. Use 3 df; the OR changes the unconditional category probability.
  2. Use 2 df; the OR changes a category-versus-reference ratio.
  3. Use 6 df; the OR changes a category-versus-reference ratio.
  4. Use 6 df; the OR changes the unconditional category probability.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

An ordinal model uses a plus-sign predictor form with coefficient ln(3). At x = 0, cumulative probabilities through low and medium are .25 and .75. Separate cut-point analyses show strongly different slopes. What are the model’s high-category probability at x = 1 and the assumption concern?
  1. High probability .10; proportional odds is doubtful.
  2. High probability .25; proportional odds is established.
  3. High probability .50; proportional odds is doubtful.
  4. High probability .90; proportional odds is established.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A three-choice model gives bike .30, bus .40, and car .30. After a similar bus service is added, expected probabilities are bike .30, old bus .20, new bus .20, and car .30. How do bike-versus-old-bus odds change, and what assumption is challenged?
  1. The odds halve; independence of irrelevant alternatives is challenged.
  2. The odds stay fixed; independence of irrelevant alternatives is satisfied.
  3. The odds double; independence of irrelevant alternatives is challenged.
  4. The odds double; proportional odds across ordered cut points is challenged.
Show answerHide answer

Save this lesson to see this answer.

Set 6: Put the evidence together10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

All cases receive the same fitted event probability. What is the AUC when ties receive half-credit?
  1. 0.00
  2. 0.50
  3. 1.00
  4. 0.25
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A binary logistic model’s outcome coding is reversed while the same predictors and cases are kept. What happens to an original slope of 0.70 and its OR?
  1. Slope becomes −0.70; OR becomes about 0.497.
  2. Slope stays 0.70; OR becomes about 0.497.
  3. Slope becomes −0.70; OR stays about 2.014.
  4. Slope stays 0.70; OR stays about 2.014.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

In R output, a coefficient has z = −2.20. What SPSS-style 1-df Wald statistic and effect direction correspond to this row?
  1. Wald = −4.84; OR below 1
  2. Wald = 4.84; OR above 1
  3. Wald = −2.20; OR above 1
  4. Wald = 4.84; OR below 1
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A model with 5 slopes and an intercept uses 300 cases. A case has leverage .08. How does it compare with three times average leverage?
  1. It is below .10 and needs no investigation.
  2. It exceeds .05 and should be deleted immediately.
  3. It exceeds .06 and deserves investigation.
  4. It is below .08 and therefore cannot be influential.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A model is η=−0.8+0.2x+0.5z+0.1xz, with z coded 0/1. The reference is changed to w=1−z. What are the intercept and x slope for the new w=0 reference group?
  1. Intercept −0.8; x slope 0.2
  2. Intercept −1.3; x slope 0.1
  3. Intercept −0.3; x slope 0.3
  4. Intercept 0.3; x slope −0.3
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

An event OR is 0.5 for one exposure increment. Starting from event probability 0.75, what is the probability after two increments, with other predictors fixed and no interaction?
  1. About 0.188, a drop of 0.562
  2. About 0.429, a drop of 0.321
  3. About 0.375, a drop of 0.375
  4. About 0.600, a drop of 0.150
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A nested model on the same 250 cases adds a three-category factor. −2LL falls from 210 to 205.6. The .05 chi-square critical value for 2 df is 5.99. How do the likelihood ratio test and AIC judge the addition?
  1. LRT is significant; AIC slightly favors the larger model.
  2. LRT is not significant; AIC slightly favors the smaller model.
  3. LRT is significant; AIC slightly favors the smaller model.
  4. LRT is not significant; AIC slightly favors the larger model.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Two cutoffs use the same 200 cases, including 50 events. At cutoff A, sensitivity is .80 and specificity .60; at cutoff B, they are .60 and .80. False negatives count twice as much as false positives. What are the total weighted errors?
  1. A = 80; B = 70, so B has lower weighted error.
  2. A = 70; B = 80, so A has lower weighted error.
  3. A = 50; B = 60, so A has lower weighted error.
  4. A = 100; B = 100, so their weighted errors tie.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

At x=0 a three-category model gives P(A) = .50, P(B) = .25, P(C) = .25, with A as reference. A one-unit x increase multiplies B-versus-A odds by 2 and leaves C-versus-A odds unchanged. What is P(B) at x=1?
  1. 0.50
  2. 0.333
  3. 0.25
  4. 0.40
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

An ordinal model uses the minus-sign form with thresholds 0 and ln⁡(4). A binary predictor has coefficient ln⁡(2). What are the low, middle, and high probabilities when that predictor equals 1?
  1. 1/3, 1/3, 1/3
  2. 1/3, 2/3, 0
  3. 1/2, 3/10, 1/5
  4. 2/3, 2/9, 1/9
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

86 Key Terms, each with its definition

A

Accuracy
Accuracy is the fraction of all cases classified correctly at a stated cutoff, counting true positives and true negatives.
Correctly classifying 152 of 200 adults gives 76% accuracy, compared with a 60% majority-category baseline.
Adjusted odds ratio
An adjusted odds ratio compares event odds while holding other predictors in the fitted model constant.
In a model with partner status and distance, the partner OR compares participants at the same modeled distance, accounting for distance.
AIC
The AIC is an information criterion equal to negative twice log-likelihood plus twice the parameter count; smaller values favor a model.
Counting the intercept and two slopes gives AIC 230.60 when −2LL is 224.60.
APA statistical reporting
APA statistical reporting uses consistent formats for tests, p-values, estimates, and intervals so that results can be read and checked.
Report OR = 0.78 with a leading zero, but p = .010 without one; report tiny p-values as p < .001.
AUC
The AUC is the probability an event ranks above a non-event by fitted probability, plus half the probability of a tie.
Identical predictions tie every event/non-event pair and give AUC .50, even if their overall calibration is good.

B

Base rate
The base rate is the event frequency in a population or sample, which supplies context for accuracy and influences predictive values.
If only 5% of cases are events, predicting no event for everyone already gives 95% accuracy.
Baseline-category logit
A baseline-category logit is the log of one outcome category’s probability divided by the probability of a chosen reference outcome.
A positive bike-versus-car slope raises the bike-to-car ratio without directly specifying the bike probability change.
Bernoulli variable
A Bernoulli variable takes the value 1 with probability p and 0 otherwise, with mean p and variance p times one minus p.
Each participant’s completion indicator is Bernoulli even though different profiles can have different probabilities.
BIC
The BIC is an information criterion that adds the parameter count times the natural log of sample size to negative twice log-likelihood.
For 200 cases, BIC penalizes each additional parameter more heavily than AIC does.
Binary logistic regression
Binary logistic regression models the log-odds of a two-category outcome as a predictor expression and converts it to an event probability.
Distance and partner status can predict completion through one equation for completion log-odds.
Binary outcome
A binary outcome is a variable with exactly two categories, coded as the modeled event and its complement.
Program completion is binary when each participant either completes the program or does not.
Box–Tidwell check
A Box–Tidwell check adds a positive predictor times its natural logarithm to test departure from a simple linear-logit term.
A significant distance-times-log-distance term suggests that distance’s linear-logit form needs attention.

C

Calibration
Calibration is agreement between model-predicted event probabilities and observed event proportions for comparable cases.
Participants assigned probabilities near 0.70 should have an observed event proportion near 0.70 for good calibration.
Case-control study
A case-control study samples people according to outcome status and compares their exposures, allowing estimation of an exposure OR.
Selecting fixed numbers of cases and controls prevents direct recovery of population outcome risks from sample proportions.
Centering
Centering subtracts a chosen reference value, often the mean, from a predictor so that zero has a useful interpretation.
Centering distance at its mean makes the intercept describe that mean distance within the reference group.
Classification table
A classification table cross-tabulates observed and predicted outcome categories, separating true and false positives and negatives.
At cutoff .50, one exercise-program model has 102 true positives, 18 false negatives, 30 false positives, and 50 true negatives.
Complete separation
Complete separation occurs when a predictor combination perfectly divides events from non-events, making some ordinary MLEs infinite.
If every partner participant completes and every no-partner participant does not, partner status separates all outcomes.
Confidence interval
A confidence interval is an interval produced by a procedure that covers the true parameter at its stated long-run rate.
An OR interval of [1.95, 6.29] excludes equal odds while showing considerable uncertainty in the effect size.
Convergence
Convergence means an iterative estimation algorithm has met its stopping criterion, usually because parameter updates have become small.
An iteration-limit warning requires attention before the reported coefficient table is interpreted.
Cook’s distance
Cook’s distance summarizes an observation’s overall influence on fitted results by considering the effect of omitting that case.
A value above 1 commonly prompts investigation and a sensitivity refit, not automatic deletion.
Cox and Snell’s R²
Cox and Snell’s R² converts model likelihood improvement into a fit measure whose attainable maximum is below 1 for binary data.
An improvement of 44.60 over 200 cases gives Cox and Snell’s R² about .200.
Cumulative logit
A cumulative logit compares the probability of being at or below a category cut point with the probability of being above it.
One cut compares poor with fair or good, and another compares poor or fair with good.
Cutoff
A cutoff is the fitted-probability threshold at or above which a case is classified as an event in a binary decision rule.
Raising the event cutoff from .50 to .70 reduces the number classified as completers on the same predictions.

D

DFBETAS
DFBETAS is the standardized change in a particular coefficient when an observation is omitted, identifying coefficient-specific influence.
Large absolute DFBETAS in either direction can flag a record whose omission changes a predictor’s estimated association.
Divide-by-4 rule
The divide-by-4 rule gives the steepest local probability slope as a constant logistic coefficient divided by four, at probability 0.50.
For a coefficient of −0.25 per kilometer, the steepest local slope is −0.0625 probability units per kilometer.
Dummy variable
A dummy variable is a 0/1 indicator for one category of a categorical predictor, used with other indicators to define reference comparisons.
For three membership types, standard and premium indicators can compare both categories with basic membership.

E

Event coding
Event coding identifies which outcome is modeled as 1 and which is the complementary 0, fixing the direction of logistic comparisons.
A positive coefficient favors non-completion if non-completion, rather than completion, is coded 1.
Event probability
An event probability is the proportion expected to have the outcome coded 1, expressed as a number between 0 and 1.
An acceptance probability of 0.30 corresponds to an expected 30 acceptances among 100 similar applicants.
Extrapolation
An extrapolation applies a fitted relationship beyond the observed predictor range, where the data provide no direct support.
Predicting for distances much greater than those recorded extends the fitted curve beyond the observed participants.

H

Hauck–Donner effect
The Hauck–Donner effect occurs when an increasing standard error shrinks a Wald statistic as a strong coefficient grows near a boundary.
A huge coefficient with a huge SE and a weak Wald test can indicate unstable estimation rather than a small association.
Hosmer–Lemeshow test
The Hosmer–Lemeshow test compares observed and expected outcome counts in groups formed from fitted probabilities to check calibration.
A small p-value flags grouped disagreement; a large p-value means the test did not detect that disagreement.

I

Independence of irrelevant alternatives
Independence of irrelevant alternatives holds the odds between two choices independent of which other alternatives are available.
Adding a nearly identical travel option can challenge the assumption that the existing pairwise choice odds remain fixed.
Independent observations
Independent observations provide outcomes whose remaining variation is not linked across cases under the fitted model.
Four observations from each participant require attention to within-person dependence in the analysis.
Interaction
An interaction occurs when one predictor’s association on the modeled scale depends on the value of another predictor.
A partner-by-distance interaction allows the distance log-odds slope to differ according to partner status.

L

Leverage
Leverage describes how unusual an observation’s predictor profile is in the fitted model and helps assess its potential influence.
A participant far from the other predictor profiles can have high leverage even without a large outcome residual.
Likelihood
The likelihood expresses how probable the observed outcomes are as a function of candidate parameter values, with the data held fixed.
An event contributes its fitted probability; a non-event contributes one minus that probability.
Likelihood ratio test
A likelihood ratio test compares nested models on the same cases using their log-likelihood difference and the number of added parameters.
When adding a partner coefficient drops −2LL from 232.00 to 224.60, the statistic for that added coefficient is 7.40.
Linear predictor
A linear predictor is the intercept plus weighted predictor terms, forming the fitted log-odds in a binary logistic model.
In a model of exercise-program completion, distance 4 and partner status 1 give a linear predictor of 1.10.
Linear probability model
A linear probability model uses ordinary least squares for a 0/1 outcome, fitting an unrestricted line directly to event probability.
A fitted straight line that gives 1.06 at a distance value has left the allowed probability range.
Linearity of the logit
Linearity of the logit means a continuous linear predictor term has a constant slope on the event log-odds scale.
A curved probability plot can be appropriate even when distance has a straight-line log-odds relationship.
Link function
A link function maps an outcome’s expected value to the scale of a linear predictor; binary logistic regression uses the logit.
The logit link allows an unrestricted predictor expression while its inverse keeps probabilities in range.
Log-likelihood
The log-likelihood is the natural logarithm of likelihood, turning independent case products into sums with the same maximizer.
On the same binary data, a log-likelihood of −100 indicates better fit than a log-likelihood of −120.
Logistic coefficient
A logistic coefficient is a change in event log-odds per predictor unit, conditional on the other terms in the fitted model.
A distance coefficient of −0.25 means lower completion log-odds per kilometer at fixed partner status.
Logit
The logit is the natural logarithm of event odds, converting a probability strictly between 0 and 1 to an unrestricted real value.
A probability of 0.50 gives a logit of zero because the event and non-event probabilities are equal.

M

Maximum likelihood estimation
Maximum likelihood estimation chooses parameter values that maximize the probability of the observed outcomes under a statistical model.
With seven events in ten cases, the intercept-only maximum-likelihood probability estimate is 0.70.
McFadden’s R²
McFadden’s R² is one minus the fitted-model log-likelihood divided by the null-model log-likelihood on the same observations.
An exercise model with an improvement of 44.60 relative to null −2LL 269.20 gives McFadden’s R² about .166.
Model chi-square
The model chi-square is the likelihood ratio improvement of a predictor model over its intercept-only model, with df for added coefficients.
An exercise model with distance and partner predictors and an improvement of 44.60 uses 2 df because each adds one coefficient.
Multicollinearity
Multicollinearity is a strong relationship among predictors that can inflate coefficient standard errors and destabilize fitted effects.
Two nearly interchangeable distance measures can make their separate coefficients unstable even with useful overall fit.
Multinomial logistic regression
Multinomial logistic regression jointly models an unordered outcome with several categories through category-versus-reference log ratios.
Travel mode can be modeled with separate bike-versus-car and public-transportation-versus-car equations.

N

Nagelkerke’s R²
Nagelkerke’s R² rescales Cox and Snell’s measure by dividing by its attainable maximum, allowing the rescaled measure to reach 1.
Cox and Snell’s value .200 divided by its maximum .740 gives Nagelkerke’s value about .270.
Natural logarithm
The natural logarithm is the logarithm with base e, which reverses exponentiation with base e and is used to calculate logits.
Taking the natural logarithm of odds 4 gives log-odds about 1.386; a base-10 logarithm gives a different value.
Negative predictive value
The negative predictive value is the fraction of non-event predictions that are actual non-events, using all negative predictions as the denominator.
Among 68 predicted non-completers, 50 do not complete, so negative predictive value is about .74.
Nested models
Nested models are models where the smaller can be obtained by constraining parameters of the larger, allowing a joint test of those constraints.
A model with only distance is nested in a model that adds partner status while retaining the distance term.
Nominal outcome
A nominal outcome has named categories without a natural ranking, so category order does not provide meaningful distance or direction.
Car, bike, and public transportation are choices, not low, medium, and high levels of a single ordered scale.
Normalization
Normalization converts positive category weights into probabilities by dividing each weight by the sum of all weights.
Reference weight 1 and alternative weights 1 and 1.57 produce probabilities totaling 1 after division by 3.57.
Null model
A null model contains only an intercept and assigns every case the same fitted event probability, equal to the sample event proportion.
With 120 completions among 200 adults, the null model predicts 0.60 for every participant.

O

Odds
The odds are an event probability divided by its complementary probability, or an event count divided by the non-event count.
Fifteen accepted and 35 rejected applicants give acceptance odds of about 0.43, not probability 0.43.
Odds multiplier
An odds multiplier is the factor by which odds change for a stated predictor contrast, obtained by exponentiating the log-odds change.
An odds multiplier of 0.78 leaves about 78% of the starting odds, corresponding to about 22% lower odds.
Odds ratio
An odds ratio is the event odds in one group divided by the event odds in a reference group, describing relative odds.
An OR of 3.5 means 3.5 times the completion odds in the reminder group compared with the no-reminder group.
Ordinal logistic regression
Ordinal logistic regression models ordered categories through cumulative comparisons while avoiding an assumption of equally spaced categories.
Poor, fair, and good ratings have an order even when the gaps between the labels have no numeric meaning.

P

Pearson residual
A Pearson residual divides an observed-minus-predicted outcome by the square root of its modeled Bernoulli variance.
An event with fitted probability .10 has Pearson residual 3, so binary residuals need no normal-distribution benchmark.
Percentage point
A percentage point is a one-unit difference between percentages, expressing an absolute probability change multiplied by 100.
An increase from 55% to 75% is 20 percentage points; it is not a 20% relative increase.
Positive predictive value
The positive predictive value is the fraction of event predictions that are actual events, using all positive predictions as the denominator.
Among 132 predicted completers, 102 actually complete, so positive predictive value is about .77.
Predicted probability
A predicted probability is a model-based estimate of the event proportion for a specified set of predictor values.
In a fitted model of exercise-program completion, the completion probability at 4 km with a partner is about 0.75.
Predictor block
A predictor block is a planned group of terms entered together, whose joint contribution can be tested against a smaller nested model.
Entering all membership indicators together tests whether membership contributes beyond the existing predictors.
Probability difference
A probability difference subtracts one profile’s event probability from another’s, describing an absolute change in chance.
Probabilities of 0.75 and 0.55 differ by 0.20, even though their odds comparison uses another scale.
Product term
A product term multiplies predictor values and enters the model to represent an interaction on its linear-predictor scale.
A distance-by-partner term is zero without a partner and equals distance when partner status is 1.
Profile-likelihood interval
A profile-likelihood interval finds plausible parameter values by likelihood comparisons while optimizing the other model parameters.
A profile-likelihood OR interval can be preferable when the coefficient distribution is poorly approximated by a symmetric normal shape.
Proportional odds
Proportional odds means that each predictor has one shared cumulative odds ratio across all cut points of the ordered outcome.
Attendance can multiply fair-or-good versus poor odds by the same factor as good versus poor-or-fair odds.
Pseudo R²
A pseudo R² is a likelihood-based summary of logistic model fit improvement that does not equal ordinary explained outcome variance.
McFadden and Nagelkerke give different pseudo R² values for the same fitted completion model.

Q

Quasi-complete separation
Quasi-complete separation occurs when some predictor patterns perfectly predict an outcome while boundary patterns contain both outcomes.
All partner participants completing, with mixed outcomes among no-partner participants, can make the partner estimate diverge.

R

Ratio of odds ratios
A ratio of odds ratios compares two odds multipliers and is the interpretation of an exponentiated logit interaction coefficient.
An interaction coefficient of 0.10 makes one group’s distance OR about 1.11 times the other group’s distance OR.
Reference category
A reference category is the baseline category against which predictor or outcome categories are compared in the chosen model coding.
Changing membership’s reference from basic to standard changes coefficients while preserving fitted probabilities.
Residual deviance
The residual deviance compares a fitted model with a saturated model; for individual Bernoulli observations it equals negative twice LL.
R’s residual deviance and SPSS’s −2 log-likelihood agree on the same individual 0/1 observations.
Risk ratio
A risk ratio is one group’s event probability divided by another group’s event probability, also called relative risk.
Completion probabilities of 0.60 and 0.30 give a risk ratio of 2, even when their OR is 3.5.
ROC curve
An ROC curve plots sensitivity against the false positive rate across event cutoffs, displaying the discrimination tradeoff.
A cutoff that increases sensitivity generally also includes more non-events among the positive predictions.

S

Sensitivity
Sensitivity is the fraction of actual events classified as events, using all observed events as the denominator.
Finding 102 of 120 completers gives sensitivity .85, regardless of how many non-completers are predicted positive.
Specificity
Specificity is the fraction of actual non-events classified as non-events, using all observed non-events as the denominator.
Correctly rejecting 50 of 80 non-completers gives specificity .625 and a false positive rate .375.
Standard error
A standard error estimates the sampling variability of an estimator, expressing the precision of a fitted coefficient on its own scale.
A coefficient of 0.90 with SE 0.35 is less precise than the same coefficient estimated with SE 0.10.
Statistical association
A statistical association is a relationship between variables described by the data or model, whose causal meaning depends on research design.
In observational data, partner status can be associated with completion without establishing an intervention effect.
Stepwise selection
Stepwise selection repeatedly adds or removes predictors using data-based rules, creating selection effects in ordinary estimates and tests.
A predictor chosen after many significance searches can have an exaggerated effect and an overly small reported p-value.

T

Test of parallel lines
A test of parallel lines checks whether ordinal predictor slopes can be treated as equal across the cumulative outcome cut points.
A significant test flags departures from proportional odds, whose practical size should also be examined.
Threshold
A threshold is an ordered intercept-like cut point setting a baseline cumulative logit in an ordinal regression model.
Two thresholds in a three-category model determine the baseline poor and poor-or-fair cumulative probabilities.

V

VIF
A VIF measures how strongly a predictor is explained by other predictors, diagnosing inflation of coefficient variance from collinearity.
A VIF above 10 is a common serious-warning guideline, prompting inspection of overlapping predictor information.

W

Wald confidence interval
A Wald confidence interval uses an approximately normal coefficient estimate and its standard error to form a symmetric coefficient-scale interval.
Exponentiating the endpoints produces an asymmetric OR interval even though the original coefficient interval was symmetric.
Wald test
A Wald test compares a coefficient with its null value using its standard error; for a zero null, the signed statistic is b divided by SE.
A coefficient-to-SE ratio of −4.17 corresponds to a squared 1-df Wald statistic of about 17.36.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started