McFaddensR2.oglmx {oglmx} | R Documentation |
Calculate McFadden's R-Squared.
Description
Model evaluation methods based on the analogue of squared residuals do not work well when the outcome variable is discrete and ordered. A popular pseudo-R^2 measure due to McFadden (1973) is given by:
where is the log-likelihood for the fitted model and
is the log-likelihood from an intercept only model that estimates the probability of each alternative to be the sample average. This function calculates this term for objects of class
oglmx
.
Usage
McFaddensR2.oglmx(object)
Arguments
object |
object of type |
Value
numeric value between 0 and a theoretical maximum of 1.
[Package oglmx version 3.0.0.0 Index]