pareto2.goftest(x, alternative=c("two.sided", "less", "greater"),
method=c("anderson-darling", "kolmogorov"))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 ADGofTest
or ks.test to compute the selected test.
It bases on bayesian MMS estimators, see pareto2.zsestimate.dpareto2, pareto2.zsestimate, ks.test, ad.test from package ADGofTest