med1way: Heteroscedastic one-way ANOVA for medians.

Description Usage Arguments Value References See Also Examples

View source: R/med1way.R

Description

This function computes a one-way ANOVA for the medians. Homoscedasticity assumption not required. There shouldn't be too many ties.

Usage

1
med1way(formula, data,iter = 1000)

Arguments

formula

an object of class formula.

data

an optional data frame for the input data.

iter

number of iterations.

Value

Returns an object of class med1way containing:

test

value of the test statistic

crit.val

critical value

p.value

p-value

call

function call

References

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

See Also

t1way,t1waybt

Examples

1
med1way(libido ~ dose, data = viagra)

WRS2 documentation built on May 31, 2017, 2:07 a.m.

Search within the WRS2 package
Search all R packages, documentation and source code