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)
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.
Value
Returns a list containing following elements:
statisticthe James's Second-Order Test statistic.
criticalvaluethe critical value of the James's Second-Order Test statistic.
resultthe result of the test.
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.