ad.cdf {codadiags} | R Documentation |
Anderson-Darling cumulative density function, copy from ADGofTest package.
ad.cdf(x, n = 1000)
x |
value to test |
n |
sample size for Anderson-Darling statistic |
Carlos J. Gil Bellosta
G. and J. Marsaglia, "Evaluating the Anderson-Darling Distribution", Journal of Statistical Software, 2004
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))