ADStatQF | R Documentation |
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.
## Calculate Anderson-Darling test statistic for vector x:
ADStatQF(x)
x |
a vector with seven or more entries. |
Returns the Anderson-Darling test statistic for the given vector.
Yue Hu, Hyeon Lee, J. S. Marron
Feng, Q. , Hannig J. , Marron, J. S. (2016). A Note on Automatic Data Transformation. STAT, 5, 82-87. doi: 10.1002/sta4.104
autotransfuncQF
, AutoTransQF
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.