| med1way {WRS2} | R Documentation |
This function computes a one-way ANOVA for the medians. Homoscedasticity assumption not required. There shouldn't be too many ties.
med1way(formula, data,iter = 1000)
formula |
an object of class formula. |
data |
an optional data frame for the input data. |
iter |
number of iterations. |
Returns an object of class med1way containing:
test |
value of the test statistic |
crit.val |
critical value |
p.value |
p-value |
call |
function call |
Wilcox, R. (2012). Introduction to Robust Estimation and Hypothesis Testing (3rd ed.). Elsevier.
med1way(libido ~ dose, data = viagra)