t3way function

A three-way ANOVA for trimmed means.

A three-way ANOVA for trimmed means.

This function computes a three-way ANOVA for trimmed means with all interactions effects.

t3way(formula, data, tr = 0.2, ...)

Arguments

  • formula: an object of class formula.
  • data: an optional data frame for the input data.
  • tr: trim level for the mean.
  • ...: currently ignored.

Returns

Returns an object of class t3way containing:

  • Qa: first main effect

  • A.p.value: p-value first main effect

  • Qb: second main effect

  • B.p.value: p-value second main effect

  • Qc: third main effect

  • C.p.value: p-value third main effect

  • Qab: first two-way interaction effect

  • AB.p.value: p-value first two-way interaction effect

  • Qac: second two-way interaction effect

  • AC.p.value: p-value second two-way interaction effect

  • Qbc: third two-way interaction effect

  • BC.p.value: p-value third two-way interaction effect

  • Qabc: three-way interaction effect

  • ABC.p.value: p-value three-way interaction effect

  • call: function call

  • varnames: variable names

References

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

See Also

t1way, t2way

Examples

t3way(aggressive ~ degree*gender*type, data = movie)