Skip to content

Commit

Permalink
Merge caa0bb1 into 752bdf8
Browse files Browse the repository at this point in the history
  • Loading branch information
nalimilan committed Oct 19, 2019
2 parents 752bdf8 + caa0bb1 commit 86170bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/statmodels.jl
Expand Up @@ -261,8 +261,7 @@ Adjusted pseudo-coefficient of determination (adjusted pseudo R-squared).
For nonlinear models, one of the several pseudo R² definitions must be chosen via `variant`.
The only currently supported variant is `:MacFadden`, defined as ``1 - (\\log (L) - k)/\\log (L0)``.
In this formula, ``L`` is the likelihood of the model, ``L0`` that of the null model
(the model including only the intercept). These two quantities are taken to be minus half
`deviance` of the corresponding models. ``k`` is the number of consumed degrees of freedom
(the model including only the intercept), and ``k`` is the number of consumed degrees of freedom
of the model (as returned by [`dof`](@ref)).
"""
function adjr2(obj::StatisticalModel, variant::Symbol)
Expand Down

0 comments on commit 86170bd

Please sign in to comment.