RE.ADT performs the Anderson-Darling test according to Trujillo-Ortiz(2007)
Usage
RE.ADT(x)
Arguments
x
x vector of observations
Value
The object returned consists of the following items:
p-value the resulting p-value of the transformation
Details
For only work with p-values see the second example
References
Trujillo-Ortiz, A., R. H.-W. K. B.-R. & Castro-Perez., A.(2007),
"Andartest:anderson-darling test for assessing
normality of a sample data.".
URL: http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=14807
# performing the AD test for a random samplex <- rnorm(100,10,2)
y <- RE.ADT(x); print(y)
#working with the p-valuex <- runif(100)
y <- RE.ADT(x) $p; print(y)