Description Usage Arguments References Examples
Perform the Anderson-darling goodness-of-fit test as well of the modified versions of the test, which puts more weight to the lower or upper tails of the distribution. The null hypothesis is that the data are generated by a given distribution (composite). P-values are computed by parametric bootstrap.
1 2 3 4 5 6 7 8 9 10 11 12 | adTest(obj, ...)
## Default S3 method:
adTest(x, type, method = "lmom", nboot = 1000,
para = NULL, bsample = FALSE, ...)
## S3 method for class 'atSite'
adTest(obj, nboot = 1000, bsample = FALSE, cores = NULL)
## S3 method for class 'fpot'
adTest(obj, method = "tab", nboot = 1000, bsample = FALSE,
cores = NULL)
|
x, obj |
Vector of data or output of function atSite. |
type |
Distribution of the null hypothesis. See vec2par. |
method |
Estimation method. |
nboot |
Number of bootstrap sample for calculating the p-value. |
para |
An object containing an estimation of the distribution. See vec2par (optional). |
bsample |
Logical. Should the bootstrap sample be returned. |
cores |
Number of cores to use for parallel computing. |
Heo, J.-H., Shin, H., Nam, W., Om, J., & Jeong, C. (2013). Approximation of modified Anderson–Darling test statistics for extreme value distributions with unknown shape parameter. Journal of Hydrology, 499, 41–49. https://doi.org/10.1016/j.jhydrol.2013.06.008
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.