Performs sum of scores based two-sample test on samples. It is almost the same as two-sample wilcoxon rank sum test but uses more scoring systems.
Super classes
LearnNonparam::PermuTest
-> LearnNonparam::TwoSampleTest
-> LearnNonparam::TwoSampleLocationTest
-> ScoreSum
Methods
Method new()
Create a new ScoreSum
object.
Arguments
scoring
a character string specifying the scoring system.
alternative
a character string specifying the alternative hypothesis.
null_value
a number indicating the true value of the location shift.
n_permu
an integer indicating number of permutations for the permutation distribution. If set to
0
, all permutations will be used.
Examples
pmt(
"twosample.scoresum", scoring = "expon",
alternative = "greater", n_permu = 0
)$test(Table2.6.2)$print()
#>
#> Two-Sample Test Based on Sum of Scores
#>
#> scoring: expon type: permu(924) method: default
#> statistic = 9.752597, p-value = 0.002164502
#> alternative hypothesis: greater