forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the R² formulas, which were previously based on the deviance instead of the likelihood function. The following variants were checked against Stata's fitstat: McFadden, Cox and Snell, and Nagelkerke. Cox and Snell's R² should match the classical R² for linear models. Deprecate default r² method for linear models, so that for nonlinear models a MethodError is printed about r² rather than about mss, which is less clear.
- Loading branch information
1 parent
d6b3e7b
commit 1ccb352
Showing
1 changed file
with
23 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters