pval: P-value

View source: R/helper_outlier.R

pvalR Documentation

P-value

Description

Calculate the p-value for obtaining ty_new under H_0

Usage

pval(x, dz, ...)

## S3 method for class 'outlier_model'
pval(x, dz, ...)

Arguments

x

A outlier_model object

dz

The deviance of the observation z.

...

Not used (for S3 compatibility)

Details

The value dz can be obtained used the deviance function.

Value

The p-value of deviance test statistic of x

See Also

deviance


mlindsk/molic documentation built on April 1, 2022, 5:21 p.m.