liveBook · Manning

McFadden's pseudo R-squared

McFadden's pseudo R-squared is a likelihood-based goodness-of-fit measure comparing a fitted discrete-choice model with an intercept-only null model.

How 2 Manning books explain it

Statistics Slam Dunk

McFadden's pseudo-R2 is a goodness-of-fit metric for generalized linear models based on the log-likelihoods of a fitted model and a null model.

How it is used
Evaluates logistic-regression goodness of fit when ordinary R² is unavailable.
How deep it goes
Defines the log-likelihood comparison, gives interpretation thresholds, and demonstrates calculation without deriving the formula.
Examples
Uses NBA playoff qualification models based on points allowed and points scored, returning pseudo-R² values of 0.31 and 0.06.
What you can do after
Apply it via pscl::pR2() to compare logistic-regression fit and identify the stronger predictor model.

Read how Statistics Slam Dunk explains McFadden's pseudo R-squared →

Statistics Every Programmer Needs

McFadden's pseudo R-squared is a likelihood-based measure of how much a fitted discrete-choice model improves over an intercept-only null model.

How it is used
Evaluates logistic-regression goodness of fit and compares predictive value against an intercept-only null model.
How deep it goes
Defines the likelihood ratio, identifies fitted-model attributes, and explains comparison limits without deriving likelihood estimation.
Examples
Uses statsmodels regression tables and fitted-model log-likelihood attributes to evaluate binary-outcome models.
What you can do after
Evaluate logistic-regression fit and compare models using their improvement over a shared null-model likelihood.

Read how Statistics Every Programmer Needs explains McFadden's pseudo R-squared →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.