ag.test:
A Function to Perform Alexander-Govern Test
Description
ag.test performs Alexander-Govern test.
Usage
ag.test(y, group, 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.
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 Alexander-Govern statistic.
parameter
the parameter(s) of the approximate chi-squared distribution of the test statistic.
p.value
the p-value of the test.
References
Schneider, P. J., Penfield, D. A. (1997). Alexander and Govern's Approximation: Providing an Alternative to ANOVA Under Variance Heterogeneity. The Journal of Experimental Education, 65:3, 271-286.