Pseudo-R-squared
In statistics, pseudo-R-squared values are used when the outcome variable is nominal or ordinal such that the coefficient of determination 2 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, 2 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 2 * Unadjusted and adjusted geometric mean... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
In statistics, pseudo-R-squared values are used when the outcome variable is nominal or ordinal such that the coefficient of determination 2 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, 2 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 2 Unadjusted and adjusted geometric mean squared improvement 2 and 2 Tjur 2 == 2 by McFadden== The pseudo 2 credited to McFadden (sometimes called likelihood ratio index or log-likelihood ratio ) is defined as R^2_\text{L} = 1 - \frac{\ln(L_M)}{\ln(L_0)}, or expressed using deviance rather than likelihood R^2_\text{L} = \frac{D_\text{0} - D_\text{M}} {D_\text{0}} and is preferred over 2 by Paul D. Allison. The two expressions 2 and 2 are then related respectively by, \begin{matrix} R^2_\text{M} = 1 - \left(\dfrac{1}{L_0}\right)^{\frac{2(R^2_\text{L})}{n}} \\ [1.5em] R^2_\text{L} = -\dfrac{n}{2} \cdot \dfrac{\ln( 1 - R^2_\text{M} )}{\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 2 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. R^2_\text{L} = 1 - \frac{\ln(L_M) - K}{\ln(L_0)}, R^2_\text{M} & = 1 - \left(\frac{L_0}{L_M}\right)^{2/n} \\[5pt] & = 1 - \exp \left(\frac{2}{n}(\ln(L_0) - \ln(L_M)) \right) \end{align} where and are the likelihoods for the model being fitted and the null model, respectively, denotes the natural logarithm, and is the number of observations. is the model with just an intercept. The Cox and Snell index corresponds to the standard 2 in case of a linear model with normal error. In certain situations, 2 M may be problematic as its maximum value is 1 - L_0^{2/n} which means it never takes the value of one. For example, for logistic regression, the upper bound is R^2_\text{M}\leq0.75 for a symmetric marginal distribution of events and decreases further for an asymmetric distribution of events. R^2_\text{N} & = \frac{\left[1 - \left(\frac{L_0}{L_M}\right)^{2/n}\right]}{1 - L_0^{2/n}} \end{align} Nevertheless, the Cox and Snell and likelihood ratio 2 s show greater agreement with each other than either does with the adjusted Nagelkerke 2 . Of course, this might not be the case for values exceeding 0.75 as the Cox and Snell index is capped at this value . The likelihood ratio 2 is often preferred to the alternatives as it is most analogous to 2 in linear regression, is independent of the base rate (both Cox and Snell and Nagelkerke 2 s increase as the proportion of cases increase from 0 to 0.5) and varies between 0 and 1. == 2 by Tjur== Tjur proposed an alternative measure of 2 , which is in two steps: For each level of the dependent variable, find the mean of the predicted probabilities of an event. Take the absolute value of the difference between these means This quantity is not an R^2 per se, however Tjur shows how it is related to usual R^2 metrics.
Cite this
"Pseudo-R-squared". 1774449544. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1345334899 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy