Learn R Programming

LearnNonparam (version 1.2.3)

Studentized: Multiple Comparison Based on Studentized Statistic

Description

Performs studentized statistic based multiple comparison on samples.

Arguments

Super classes

LearnNonparam::PermuTest -> LearnNonparam::KSampleTest -> LearnNonparam::MultipleComparison -> Studentized

Methods

Public methods

Inherited methods


Method new()

Create a new Studentized object.

Usage

Studentized$new(
  type = c("permu", "asymp"),
  method = c("bonferroni", "tukey"),
  scoring = c("none", "rank", "vw", "expon"),
  conf_level = 0.95,
  n_permu = 10000
)

Arguments

type

a character string specifying the way to calculate the p-value.

method

a character string specifying whether to use Bonferroni's method or Tukey's HSD method.

scoring

a character string specifying which scoring system to use.

conf_level

a number between zero and one indicating the family-wise confidence level to use.

n_permu

an integer indicating number of permutations for the permutation distribution. If set to zero (default) then all permutations are used.

Returns

A Studentized object.

Examples

Run this code
t <- pmt(
    "multcomp.studentized", method = "bonferroni"
)$test(Table3.3.1)$print()

t$type <- "asymp"
t

t$scoring <- "rank"
t

t$method <- "tukey"
t

t$scoring <- "none"
t

t$type <- "permu"
t

Run the code above in your browser using DataLab