View source: R/helper_outlier.R
| deviance | R Documentation |
This function calculates the affine value T(y) of -2 log likelihood-ratio statistic which is also called the deviance
deviance(x, y, ...) ## S3 method for class 'outlier_model' deviance(x, y, ...) ## S3 method for class 'mixed_outlier' deviance(x, y, ...)
x |
A |
y |
An observation (named character vector). If |
... |
Not used (for S3 compatibility) |
The deviance test statistic of y based on the model x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.