Description Usage Arguments Details Value Author(s) References Examples
Implementation of the Anderson-Darling goodness of fit test.
1 |
x |
a random sample from a possibly unknown continuous distribution |
distr.fun |
a named CDF, such as |
... |
extra parameters for the distribution function above, such as location and scale parameters, etc. |
If the distr.fun
is provided, the function checks whether x
is a iid sample from the distribution described by such CDF.
Otherwise, whether they follow a uniform law.
The output is an object of the class htest
exactly like for the Kolmogorov-Smirnov test, ks.test
.
The statistic
and p.value
fields are the most relevant ones.
Carlos J. Gil Bellosta
G. and J. Marsaglia, "Evaluating the Anderson-Darling Distribution", Journal of Statistical Software, 2004
1 2 3 4 5 6 7 8 |
AD
0.9900337
AD
6e-06
list()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.