TwoSampleMean.Equality: Two Sample Mean Test for Equality

Description Usage Arguments References Examples

View source: R/TwoSampleMean.Equality.R

Description

H0: margin is equal to 0 Ha: margin is unequal to 0

The test is finding whether there is a difference between the mean responses of the test group and control group.

Usage

1
TwoSampleMean.Equality(alpha, beta, sigma, k, margin)

Arguments

alpha

significance level

beta

power = 1-beta

sigma

pooled standard deviation of two groups

k

k=n1/n2

Example: k=2 indicates a 1 to 2 test-control allocation.

margin

margin=μ_2-μ_1

the true mean difference between a test mu2 and a control mu1

References

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

Examples

1
2
Example.3.2.4<-TwoSampleMean.Equality(0.05,0.2,0.1,1,0.05)
Example.3.2.4 # 63

TrialSize documentation built on July 8, 2020, 7:19 p.m.