ad: One-Sample Anderson-Darling Statistic

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/ad.R

Description

Computes the one-sample Anderson-Darling (AD) statistic.

Usage

1
ad(r, P)

Arguments

r

the given vector/matrix of observations

P

the vector/matrix containing the values of a (reference) cumulative distribution function evaluated at the values in r.

Value

The AD statistic.

Author(s)

Anh Bui

References

Bui, A.T. and Apley., D.W. (2018a) "A Monitoring and Diagnostic Approach for Stochastic Textured Surfaces", Technometrics, 60, 1-13.

See Also

exptailecdf, sms, bp

Examples

1
2
img <- matrix(rnorm(100), 10, 10)
ad(img, pnorm(img))

spc4sts documentation built on April 10, 2018, 1:04 a.m.