Learn R Programming

TrialSize (version 1.4)

OneWayANOVA.pairwise: Pairwise Comparison for Multiple-Sample One-Way ANOVA

Description

Ho: \(\mu_i\) is equal to \(\mu_j\) Ha: \(\mu_i\) is not equal to \(\mu_j\)

The test is comparing the means among treatments. There are tau pair comparisons of interested. Adjusted the multiple comparison by Bonferroni method,

Usage

OneWayANOVA.pairwise(alpha, beta, tau, sigma, margin)

Arguments

alpha

significance level

beta

power = 1-beta

tau

there are tau pair comparisons

sigma

standard deviation

margin

\(margin=\mu_i-\mu_j\)

the difference between the true mean response of group i \(\mu_i\) and group j \(\mu_j\)

References

Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003