Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

t3way

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.

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

Examples

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

WRS2

A Collection of Robust Statistical Methods

v1.1-1
GPL-3
Authors
Patrick Mair [cre, aut], Rand Wilcox [aut]
Initial release
2021-02-09

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.