powered by
Performs Jonckheere-Terpstra test on samples.
LearnNonparam::PermuTest -> LearnNonparam::KSampleTest -> JonckheereTerpstra
LearnNonparam::PermuTest
LearnNonparam::KSampleTest
JonckheereTerpstra
JonckheereTerpstra$new()
Inherited methods LearnNonparam::PermuTest$plot() LearnNonparam::PermuTest$print() LearnNonparam::PermuTest$test()
LearnNonparam::PermuTest$plot()
LearnNonparam::PermuTest$print()
LearnNonparam::PermuTest$test()
new()
Create a new JonckheereTerpstra object.
JonckheereTerpstra$new( type = c("permu", "asymp"), alternative = c("two_sided", "less", "greater"), n_permu = 10000 )
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.
0
A JonckheereTerpstra object.
t <- pmt( "ksample.jt", alternative = "greater" )$test(Table3.4.1)$print() t$type <- "asymp" t
Run the code above in your browser using DataLab