Learn R Programming

doex (version 1.2)

AG: Alexandern-Govern test

Description

This function performs Alexander-Govern test.

Usage

AG(data,group)

Arguments

data

A vector containing the observations to which the treatments are randomly assigned.

group

A numerical or character vector indicating the treatment/control groups.

Value

test.statistic

the test statistic of the Alexander-Govern test

p.value

the p-value of the Alexander-Govern test

References

Alexander, R.A., Govern, D.M. (1994) A new and simplier approximation for ANOVA under variance heterogeneity, Journal of Educational Statistics, 19(2), 91-101.

Examples

Run this code
# NOT RUN {
library(doex)
AG(hybrid$data,hybrid$species)
# }

Run the code above in your browser using DataLab