RE.ADT: Anderson-Darling test

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

View source: R/RE.ADT.R

Description

RE.ADT performs the Anderson-Darling test according to Trujillo-Ortiz(2007)

Usage

1
RE.ADT(x)

Arguments

x

x vector of observations

Details

For only work with p-values see the second example

Value

The object returned consists of the following items: p-value the resulting p-value of the transformation

Note

The function RE.ADT use the traditional algorithm while ADGofTest package is based on the Marsaglia approach.

Author(s)

Edgar Santos Fernandez

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

See Also

<pkg>

Examples

1
2
3
4
5
6
7
# performing the AD test for a random sample
x <- rnorm(100,10,2)
y <- RE.ADT(x); print(y)

#working with the p-value
x <- runif(100)
y <- RE.ADT(x) $p; print(y)

Johnson documentation built on May 2, 2019, 3:37 p.m.