Calculate the p-value for obtaining ty_new under H_0

pval(x, dz, ...)

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

Arguments

x

A outlier_model object

dz

The deviance of the observation z.

...

Not used (for S3 compatibility)

Value

The p-value of deviance test statistic of x

Details

The value dz can be obtained used the deviance function.

See also