# OneSampleMean.Equality: One Sample Mean Test for Equality In TrialSize: R functions in Chapter 3,4,6,7,9,10,11,12,14,15

## 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 OneSampleMean.Equality(alpha, beta, sigma, margin) 

## 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 Example.3.1.4<-OneSampleMean.Equality(0.05,0.2,1,0.5) Example.3.1.4 # 32 

### Example output

[1] 31.39552


TrialSize documentation built on May 30, 2017, 7:18 a.m.