pareto2.goftest(x, k, s, method=c("anderson-darling", "kolmogorov"))NULL.NULL.htest with the following components is passed as a result:
statistic the value of the test statistic.
p.value the p-value of the test.
alternative a character string describing the alternative hypothesis.
method a character string indicating what type of test was performed.
data.name a character string giving the name(s) of the data.
}ad.test from package ks.test to compute the selected test.It is known that the tests have low powers.
If k and s are NULL, it bases on bayesian MMS estimators, see pareto2.zsestimate.
If s is not NULL, then the unbiased maximum likelihood estimator
is used to determine the scale parameter (see pareto2.mlekestimate) iff it is not given.
dpareto2, pareto2.zsestimate, pareto2.mlekestimate, ks.test, ad.test from package ADGofTest