ad.cdf: Anderson-Darling cumulative density function, copy from...

Description Usage Arguments Author(s) References Examples

Description

Anderson-Darling cumulative density function, copy from ADGofTest package.

Usage

1
  ad.cdf(x, n = 1000)

Arguments

x

value to test

n

sample size for Anderson-Darling statistic

Author(s)

Carlos J. Gil Bellosta

References

G. and J. Marsaglia, "Evaluating the Anderson-Darling Distribution", Journal of Statistical Software, 2004

Examples

1
2
3
require(codadiags)
plot(null.lim.cdf("loglik_mean.brownianbridge",forceUseECDF=TRUE),col='blue',xlim=c(-4,0))
plot(Vectorize(function(x)1-ad.cdf(-x)),col='green',add=TRUE,xlim=c(-4,0))

codadiags documentation built on May 1, 2019, 9:26 p.m.