Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


doex (version 1.2)

OS: 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

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

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

Run the code above in your browser using DataLab