Learn R Programming

WRS2 (version 0.2-0)

t1waybt: Bootstrap version of the heteroscedastic one-way ANOVA for trimmed means.

Description

Test the hypothesis of equal trimmed means using a percentile t bootstrap method.

Usage

t1waybt(formula, data, tr = 0.2, nboot = 599, SEED = TRUE)

Arguments

formula
an object of class formula.
data
an optional data frame for the input data.
tr
trim level for the mean.
nboot
number of bootstrap samples.
SEED
whether a random number seed should be set.

Value

  • Returns an object of class t1waybt containing:
  • testvalue of the test statistic
  • p.valuep-value
  • Var.Explainedexplained amount of variance
  • Effect.Sizeeffect size
  • nboot.effeffective number of bootstrap samples
  • callfunction call

References

Wilcox, R. (2012). Introduction to Robust Estimation and Hypothesis Testing (3rd ed.). Elsevier.

See Also

t1way,med1way

Examples

Run this code
t1waybt(libido ~ dose, data = viagra)

Run the code above in your browser using DataLab