What is McFadden's pseudo-R-squared, and why is it not interpreted the same way as R-squared in linear regression?

Quick Overview

Asks what McFadden's pseudo-R-squared measures in logistic regression and why it cannot be read like the R-squared of a linear regression. Tests understanding of likelihood-based fit statistics, their typical value ranges, and when they are useful for comparing models.

What is McFadden's pseudo-R-squared, and why is it not interpreted the same way as R-squared in linear regression?

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Other

McFadden's pseudo-R-squared is a fit statistic commonly reported for logistic regression. What is McFadden's pseudo-R-squared, and why is it not interpreted the same way as R-squared in linear regression? ```hint Compare the ingredients Write down what each statistic is built from. Linear R-squared uses sums of squares; what does McFadden's version use? Then ask what the model would have to do for the logistic version to reach 1. ``` ### What a Strong Answer Covers - The formula in terms of the fitted model's log-likelihood and the intercept-only model's log-likelihood, and what the values 0 and 1 mean - Why a likelihood ratio does not split variance into explained and unexplained parts - Why typical values run much lower than linear R-squared, and what range counts as a good fit - Where it is useful (comparing models on the same data) and where it misleads (comparing across datasets or base rates, judging ranking quality) - Awareness that other pseudo-R-squareds such as Cox-Snell and Nagelkerke exist and give different numbers ### Follow-up Questions - How does the adjusted McFadden's R-squared penalize extra parameters, and when would you report it? - Two models fit to different datasets have McFadden values of 0.15 and 0.30. Can you conclude the second model is better? - Which metrics would you report alongside a pseudo-R-squared to judge a classifier's discrimination and calibration? - Why does Cox-Snell's pseudo-R-squared have a maximum below 1 for a binary outcome, and how does Nagelkerke's version fix that?

Overview: Asks what McFadden's pseudo-R-squared measures in logistic regression and why it cannot be read like the R-squared of a linear regression. Tests understanding of likelihood-based fit statistics, their typical value ranges, and when they are useful for comparing models.

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

McFadden's pseudo-R-squared is a fit statistic commonly reported for logistic regression. What is McFadden's pseudo-R-squared, and why is it not interpreted the same way as R-squared in linear regression?

What a Strong Answer Covers Guidance

  • The formula in terms of the fitted model's log-likelihood and the intercept-only model's log-likelihood, and what the values 0 and 1 mean
  • Why a likelihood ratio does not split variance into explained and unexplained parts
  • Why typical values run much lower than linear R-squared, and what range counts as a good fit
  • Where it is useful (comparing models on the same data) and where it misleads (comparing across datasets or base rates, judging ranking quality)
  • Awareness that other pseudo-R-squareds such as Cox-Snell and Nagelkerke exist and give different numbers

Follow-up Questions Guidance

  • How does the adjusted McFadden's R-squared penalize extra parameters, and when would you report it?
  • Two models fit to different datasets have McFadden values of 0.15 and 0.30. Can you conclude the second model is better?
  • Which metrics would you report alongside a pseudo-R-squared to judge a classifier's discrimination and calibration?
  • Why does Cox-Snell's pseudo-R-squared have a maximum below 1 for a binary outcome, and how does Nagelkerke's version fix that?