R squared in logistic regression – The Stats Geek
In previous posts I’ve looked at R squared in linear regression, and argued that I think it is more appropriate to think of it is a measure of explained variation, rather than goodness of fit. Of course not all outcomes/dependent variables can be reasonably modelled using linear regression. Perhaps the second most common type of regression model is logistic regression, which is appropriate for binary outcome data. How is R squared calculated for a logistic regression model? Well it turns out that it is not entirely obvious what its definition should be. Over the years, different researchers have proposed different measures for logistic regression, with the objective usually that the measure inherits the properties of the familiar R squared from linear regression. In this post I’m going to focus on one of them, which is McFadden’s R squared, and it is the default ‘pseudo R2’ value reported by the Stata package. There are certain drawbacks to this measure – if you want to read more about
In previous posts I’ve looked at R squared in linear regression, and argued that I think it is more appropriate to think of it is a measure of explained variation, rather than goodness of fit. Of course not all outcomes/dependent variables can be reasonably modelled using linear regression. Perhaps the second most common type of regression model is logistic regression, which is appropriate for binary outcome data. How is R squared calculated for a logistic regression model? Well it turns out that it is not entirely obvious what its definition should be. Over the years, different research
Explore this link on the map →related reading
- What Is Logistic Regression? | IBMibm.com
- R-squared Is Not Valid for Nonlinear Regression - Statistics By Jimstatisticsbyjim.com
- Regression analysis - Wikipediaen.wikipedia.org
- Explaining negative R-squared | Towards Data Sciencetowardsdatascience.com
- Standard Error of the Regression vs. R-squared - Statistics By Jimstatisticsbyjim.com
- X explains Z% of the variance in Y — LessWronglesswrong.com
- Log Odds and the Interpretation of Logit Models - PMCncbi.nlm.nih.gov
- Top 10 Machine Learning Algorithms in 2026 - Analytics Vidhyaanalyticsvidhya.com
- Understanding regularization for logistic regression | KNIMEknime.com
- Common statistical tests are linear models (or: how to teach stats)lindeloev.github.io
- 第 30 章 多元模型分析 Multivariable Models | 醫學統計學wangcc.me
- AlgZoo: uninterpreted models with fewer than 1,500 parameters — LessWronglesswrong.com