powered by
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)
an object of class formula.
an optional data frame for the input data.
number of iterations.
Returns an object of class med1way containing:
med1way
value of the test statistic
critical value
p-value
function call
Wilcox, R. (2012). Introduction to Robust Estimation and Hypothesis Testing (3rd ed.). Elsevier.
t1way,t1waybt
t1way
t1waybt
# NOT RUN { med1way(libido ~ dose, data = viagra) # }
Run the code above in your browser using DataLab