Rsquared | R Documentation |
calculate R-squared following McFadden or Nagelkerke
Rsquared(model, method = c("McFadden", "Nagelkerke"), verbose = TRUE)
model |
model |
method |
McFadden or Nagelkerke |
verbose |
|
Calculate R-squared following Nagelkerke or McFadden:
Nagelkerke: \mjseqnR^2 = 1 - \exp(2/N \cdot (log\mathcalL_0 - log\mathcalL_1 ) )
McFadden: \mjseqnR^2 = 1 - log\mathcalL_1 / log\mathcalL_0
R-squared as numeric value
Maximilian Pichler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.