t3way: A three-way ANOVA for trimmed means.

View source: R/t3way.R

t3wayR Documentation

A three-way ANOVA for trimmed means.

Description

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

Usage

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.

Value

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)

WRS2 documentation built on March 19, 2024, 3:08 a.m.

Related to t3way in WRS2...