View source: R/core-fisherian.R
| deviance.fisher_mle | R Documentation |
Computes the deviance, which is useful for model comparison.
## S3 method for class 'fisher_mle'
deviance(object, null_model = NULL, ...)
object |
A fisher_mle object |
null_model |
Optional reduced/null model for comparison |
... |
Additional arguments (ignored) |
When called with a single model, returns -2 * logL (the deviance relative to a saturated model).
When called with two models, returns the deviance difference: D = 2 * (logL_full - logL_reduced)
Under the null hypothesis that the reduced model is correct, D is asymptotically chi-squared with df = p_full - p_reduced.
Deviance value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.