This function computes the goodness-of-fit test for the gamma family in the spirit of Anderson and Darling. Note that this tests the composite hypothesis of fit to the family of gamma distributions, i.e. a bootstrap procedure is implemented to perform the test.
a vector of positive numbers.
number of bootstrap iterations used to obtain critical value.
level of significance of the test.
The Anderson-Darling test is computed as described in Henze et. al. (2012). Critical values are obtained by a parametric bootstrap procedure, see
a list containing the value of the test statistic, the approximated critical value and a test decision on the significance level
the value of the test statistic.
the approximated critical value.
number of points used in approximation.
the comparison of the critical value and the value of the test statistic.
level of significance chosen.
number of bootstrap iterations.
Henze, N., Meintanis, S.G., Ebner, B. (2012) "Goodness-of-fit tests for the Gamma distribution based on the empirical Laplace transform". Communications in Statistics - Theory and Methods, 41(9): 1543-1556. DOI
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.