View source: R/helper_outlier.R
pval | R Documentation |
Calculate the p-value for obtaining ty_new
under H_0
pval(x, dz, ...) ## S3 method for class 'outlier_model' pval(x, dz, ...)
x |
A |
dz |
The deviance of the observation |
... |
Not used (for S3 compatibility) |
The value dz
can be obtained used the deviance
function.
The p-value of deviance test statistic of x
deviance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.