pval: P-value

Description Usage Arguments Details Value See Also

View source: R/helper_outlier.R

Description

Calculate the p-value for obtaining ty_new under H_0

Usage

1
2
3
4
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


molic documentation built on June 2, 2021, 5:07 p.m.