james.test:
A Function to Perform James's Second-Order Test
Description
james.test performs James's second-order test.
Usage
james.test(y, group, alpha = 0.05, na.rm = TRUE)
Arguments
y
a numeric vector of data values.
group
a vector or factor object giving the group for the corresponding elements of y.
alpha
a significance level. Defaults alpha = 0.05.
na.rm
a logical value indicating whether NA values should be stripped before the computation proceeds.
Value
A list with class "htest" containing the following components:
statistic
the James's Second-Order Test statistic.
parameter
the critical value of the James's Second-Order Test statistic.
References
Cribbie, R. A., Fiksenbaum, L., Keselman, H. J., Wilcox, R. R. (2012). Effect of Non-Normality on Test Statistics for One-Way Independent Groups Designs. British Journal of Mathematical and Statistical Psychology, 65, 56-73.