OneSampleMean.Equality: One Sample Mean Test for Equality

Description Usage Arguments References Examples

View source: R/OneSampleMean.Equality.R

Description

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

The test is finding whether there is a difference between the mean response of the test \bar{x} and the reference value μ_0

Usage

1

Arguments

alpha

significance level

beta

power = 1-beta

sigma

standard deviation

margin

margin=\bar{x}-μ_0

the difference between the true mean response of a test \bar{x} and a reference value μ_0

References

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

Examples

1
2
OneSampleMean.Equality(0.05,0.2,1,0.5)
# 32

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