Learn R Programming

molic (version 2.0.3)

pval: P-value

Description

Calculate the p-value for obtaining ty_new under H_0

Usage

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

deviance