ScoreSum {LearnNonparam} | R Documentation |
Two-Sample Test Based on Sum of Scores
Description
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
Public methods
Inherited methods
Method new()
Create a new ScoreSum
object.
Usage
ScoreSum$new( scoring = c("rank", "vw", "expon"), alternative = c("two_sided", "less", "greater"), null_value = 0, n_permu = 10000 )
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.
Returns
A ScoreSum
object.
Examples
pmt(
"twosample.scoresum", scoring = "expon",
alternative = "greater", n_permu = 0
)$test(Table2.6.2)$print()
[Package LearnNonparam version 1.2.9 Index]