powered by
Computes the one-sample Anderson-Darling (AD) statistic.
ad(r, P)
the given vector/matrix of observations
the vector/matrix containing the values of a (reference) cumulative distribution function evaluated at the values in r.
r
The AD statistic.
Bui, A.T. and Apley., D.W. (2018a) "A Monitoring and Diagnostic Approach for Stochastic Textured Surfaces", Technometrics, 60, 1-13.
exptailecdf, sms, bp
# NOT RUN { img <- matrix(rnorm(100), 10, 10) ad(img, pnorm(img)) # }
Run the code above in your browser using DataLab