In statistics, pseudo-R-squared values are used when the outcome variable is nominal or ordinal such that the coefficient of determination R2 cannot be applied as a measure for goodness of fit and when a likelihood function is used to fit a model. In linear regression, the squared multiple correlation, R2 is used to assess goodness of fit as it represents the proportion of variance in the criterion that is explained by the predictors. In logistic regression analysis, there is no agreed upon analogous measure, but there are several competing measures each with limitations. Some commonly used indices are examined in this article:
Likelihood ratio R2L Unadjusted and adjusted geometric mean squared improvement R2M and R2N Tjur R2T
R2L by McFadden The pseudo R2 credited to McFadden (sometimes called likelihood ratio index or log-likelihood ratio R2) is defined as
R L 2 = 1 − ln ( L M ) ln ( L 0 ) , {\displaystyle R_{\text{L}}^{2}=1-{\frac {\ln(L_{M})}{\ln(L_{0})}},}
or expressed using deviance rather than likelihood
R L 2 = D 0 − D M D 0 {\displaystyle R_{\text{L}}^{2}={\frac {D_{\text{0}}-D_{\text{M}}}{D_{\text{0}}}}}
and is preferred over R2M by Paul D. Allison. The two expressions R2L and R2M are then related respectively by,
R M 2 = 1 − ( 1 L 0 ) 2 ( R L 2 ) n R L 2 = − n 2 ⋅ ln ( 1 − R M 2 ) ln L 0 {\displaystyle {\begin{matrix}R_{\text{M}}^{2}=1-\left({\dfrac {1}{L_{0}}}\right)^{\frac {2(R_{\text{L}}^{2})}{n}}\\[1.5em]R_{\text{L}}^{2}=-{\dfrac {n}{2}}\cdot {\dfrac {\ln(1-R_{\text{M}}^{2})}{\ln L_{0}}}\end{matrix}}}
This is the most analogous index to the squared multiple correlations in linear regression. It represents the proportional reduction in the deviance wherein the deviance is treated as a measure of variation analogous but not identical to the variance in linear regression analysis. One limitation of the likelihood ratio R2 is that it is not monotonically related to the odds ratio, meaning that it does not necessarily increase as the odds ratio increases and does not necessarily decrease as the odds ratio decreases.
Adjusted The adjusted version includes the number of predictors K as a penalisation term
R L 2 = 1 − ln ( L M ) − K ln ( L 0 ) , {\displaystyle R_{\text{L}}^{2}=1-{\frac {\ln(L_{M})-K}{\ln(L_{0})}},}
… excerpt ends here. Continue reading the full article.

