Learn R Programming

doex (version 1.2)

MW: Modified Welch Test

Description

This function performs adjusted Welch test.

Usage

MW(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

tstat

the test statistic of the adjusted Welch test

pvalue

the p-value of the adjusted Welch test

References

Hartung, J., Arga<U+00E7>, D. and Makambi, K. (2002) Small sample properties of tests on homogeneity in one-way ANOVA and meta-analysis, Statistical Papers, 41, 197-235.

Examples

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

Run the code above in your browser using DataLab