ADStatQF {AutoTransQF} | R Documentation |
Calculates Anderson-Darling Test Statistic
Description
The function is used to calculate the Anderson-Darling test statistic of standard normal distribution. The input needs to be vectors with seven or more entries.
Usage
## Calculate Anderson-Darling test statistic for vector x:
ADStatQF(x)
Arguments
x |
a vector with seven or more entries. |
Value
Returns the Anderson-Darling test statistic for the given vector.
Author(s)
Yue Hu, Hyeon Lee, J. S. Marron
References
Feng, Q. , Hannig J. , Marron, J. S. (2016). A Note on Automatic Data Transformation. STAT, 5, 82-87. doi: 10.1002/sta4.104
See Also
Examples
## Generate a vector z from normal distribution with mean 0 and standard deviation 6.
z = rnorm(10, mean = 0, sd = 6)
## Calculate the Anderson-Darling test statistic for z
ADStatQF(z)
[Package AutoTransQF version 0.1.3 Index]