Performs two-sample Anderson-Darling test on samples.
Super classes
LearnNonparam::PermuTest
-> LearnNonparam::TwoSampleTest
-> LearnNonparam::TwoSampleDistributionTest
-> AndersonDarling
Methods
Method new()
Create a new AndersonDarling
object.
Usage
AndersonDarling$new(
alternative = c("two_sided", "less", "greater"),
n_permu = 10000
)
Examples
pmt(
"distribution.ad", n_permu = 0
)$test(Table2.8.1)$print()
#>
#> Two-Sample Anderson-Darling Test
#>
#> scoring: none type: permu(252) method: default
#> statistic = 0.6074603, p-value = 0.7460317
#> alternative hypothesis: two_sided