This function computes the goodness-of-fit test for the gamma family due to Betsch and Ebner (2019).
a vector of positive numbers.
positive tuning parameter.
number of bootstrap iterations used to obtain critical value.
level of significance of the test.
The test is of weighted L^2 type and uses a characterization of the distribution function of the gamma distribution. 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.
Betsch, S., Ebner, B. (2019) "A new characterization of the Gamma distribution and associated goodness of fit tests", Metrika, 82(7):779-806. DOI
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.