Description Usage Arguments Value Note Author(s) References Examples
Calculates Tjur's r-square for a logistic regression model fitted to predict a binomial outcome.
1 | Tjur.Rsq(x)
|
x |
The fitted |
Numeric. Returns the value of the calculated Tjur's r-square.
Tjur's r-square is the mean of the predicted outcomes for persons with a true outcome of 1, less the mean of the predicteed outcomes for persons with a true outcome of 0, multiplied by 100 to convert it into a percentage. 100% = all outcomes correctly predicted.
Paul Williamson
Allison P (2014) ‘Measures of fit for logistic regression’, Paper 1485-2014, Statistical Horizons LLC and the University of Pennnsylvania.
Tjur, T (2009) ‘Coefficients of determination in logistic regression models—A new proposal: The coefficient of discrimination’, The American Statistician, 63: 366-372.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.