OS {doex} | R Documentation |
One Stage test
Description
This function performs Chen's one stage test.
Usage
OS(data,group,nout,rept)
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. |
nout |
an integer |
rept |
The loop size to perform the test. |
Value
pvalue |
the p-value of Chen's one stage test |
Author(s)
Mustafa CAVUS
References
Chen, S.Y. and Chen, H.J. (1998) Single-stage analysis of variance under heteroscedasticity, Communications in Statistics - Simulation and Computation, 27(3), 641-666.
Examples
library(doex)
OS(hybrid$data,hybrid$species,1,10000)
[Package doex version 1.2 Index]