Description Usage Arguments Details Value References See Also
R2N
produces Nagelkerke’s R^2 estimate for the specified LR
model. Used in the function LRd
1 | R2N(mod, n)
|
mod |
an object of class glm |
n |
the total sample size |
The magnitude of DIF is calculated by subtracting the R^2 estimate
of the compact model from the R^2 value of the augmented model.
Several pseudo R^2 estimates are available. The Nagelkerke ?R^2
estimate (Nagelkerke, 1991) is used to compute the DIF effect size for the
LRd
function.
Nagelkerke R^2 is estimated using the equations below:
R^2_CS = 1 - (exp(- LL(M_null)/2 + LL(M_obs)/2))^(2/n)
R^2_MAX = 1 - (exp(-LL(M_null)/2))^(2/n)
R^2_CS/R^2_MAX
a numeric value estimating Nagelkerke R^2
Nagelkerke, N. J. D. (1991). A note on a general definition of the coefficient of determination. Biometrika, 78, 691-692.
LRd
for LR DIF
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.