AnsariBradley {LearnNonparam} | R Documentation |
Ansari-Bradley Test
Description
Performs Ansari-Bradley test on samples.
Super classes
LearnNonparam::PermuTest
-> LearnNonparam::TwoSampleTest
-> AnsariBradley
Methods
Public methods
Inherited methods
Method new()
Create a new AnsariBradley
object.
Usage
AnsariBradley$new( type = c("permu", "asymp"), alternative = c("two_sided", "less", "greater"), n_permu = 10000 )
Arguments
type
a character string specifying the way to calculate the p-value.
alternative
a character string specifying the alternative hypothesis.
n_permu
an integer indicating number of permutations for the permutation distribution. If set to
0
, all permutations will be used.
Returns
A AnsariBradley
object.
Examples
pmt(
"twosample.ansari",
alternative = "greater", n_permu = 0
)$test(Table2.8.1)$print()
[Package LearnNonparam version 1.2.9 Index]