Skip to content

Commit

Permalink
Fix typo in doc strings for r2
Browse files Browse the repository at this point in the history
  • Loading branch information
awadell1 authored Jan 11, 2025
1 parent a97d7c3 commit 14a198f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/statisticalmodel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ Pseudo-coefficient of determination (pseudo R-squared).
For nonlinear models, one of several pseudo R² definitions must be chosen via `variant`.
Supported variants are:
- `:MacFadden` (a.k.a. likelihood ratio index), defined as ``1 - \\log (L)/\\log (L_0)``;
- `:McFadden` (a.k.a. likelihood ratio index), defined as ``1 - \\log (L)/\\log (L_0)``;
- `:CoxSnell`, defined as ``1 - (L_0/L)^{2/n}``;
- `:Nagelkerke`, defined as ``(1 - (L_0/L)^{2/n})/(1 - L_0^{2/n})``.
- `:devianceratio`, defined as ``1 - D/D_0``.
Expand Down

0 comments on commit 14a198f

Please sign in to comment.