What is the linearity-of-the-logit assumption, and how does the Box-Tidwell test check it?

Quick Overview

Explain the linearity-of-the-logit assumption in logistic regression and how the Box-Tidwell test detects a violation. Tests understanding of the log-odds scale, how the diagnostic term is built and tested, its limits, and the fixes when a continuous predictor curves.

What is the linearity-of-the-logit assumption, and how does the Box-Tidwell test check it?

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Other

A logistic regression with continuous predictors relies on the linearity-of-the-logit assumption. What does that assumption say, and how does the Box-Tidwell test check it? ```hint Where the linearity lives Write the model as an equation and ask which side of it is supposed to be linear in each predictor. ``` ```hint Where the test term comes from Box-Tidwell starts from a power transformation of the predictor. Ask what single extra term would let the model detect a power different from 1. ``` ### What a Strong Answer Covers - States which quantity must be linear in each continuous predictor and what that implies for the shape of the probability curve. - Explains the term Box-Tidwell adds, why it has that form, and which coefficient is tested. - Notes the positivity requirement on the predictor and how to handle zeros or negative values. - Describes the fixes when the test rejects linearity. - Names limits of the test: multiple testing across predictors, sensitivity to sample size, and curvature shapes it can miss. ### Follow-up Questions - How would you turn a significant Box-Tidwell result into a specific transformation of the predictor? - Which graphical checks would you use alongside the test? - On 500,000 rows the test is significant for every continuous predictor. How do you decide which ones to change? - How much does a violation matter when the model is only used to rank or score cases and nobody interprets the coefficients?

Overview: Explain the linearity-of-the-logit assumption in logistic regression and how the Box-Tidwell test detects a violation. Tests understanding of the log-odds scale, how the diagnostic term is built and tested, its limits, and the fixes when a continuous predictor curves.

General logo
General
Nov 25, 2026
mediumData ScientistOtherMachine Learning
0
0

A logistic regression with continuous predictors relies on the linearity-of-the-logit assumption. What does that assumption say, and how does the Box-Tidwell test check it?

What a Strong Answer Covers Guidance

  • States which quantity must be linear in each continuous predictor and what that implies for the shape of the probability curve.
  • Explains the term Box-Tidwell adds, why it has that form, and which coefficient is tested.
  • Notes the positivity requirement on the predictor and how to handle zeros or negative values.
  • Describes the fixes when the test rejects linearity.
  • Names limits of the test: multiple testing across predictors, sensitivity to sample size, and curvature shapes it can miss.

Follow-up Questions Guidance

  • How would you turn a significant Box-Tidwell result into a specific transformation of the predictor?
  • Which graphical checks would you use alongside the test?
  • On 500,000 rows the test is significant for every continuous predictor. How do you decide which ones to change?
  • How much does a violation matter when the model is only used to rank or score cases and nobody interprets the coefficients?