OneSampleMean.Equivalence: One Sample Mean Test for Equivalence

Description Usage Arguments References Examples

View source: R/OneSampleMean.Equivalence.R

Description

Ho: |margin| ≥ delta Ha: |margin| < delta

The test is concluded to be equivalent to a gold standard on average if the null hypothesis is rejected at significance level alpha

Usage

1
OneSampleMean.Equivalence(alpha, beta, sigma,margin, delta)

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

delta

the superiority or non-inferiority margin

References

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

Examples

1
2
OneSampleMean.Equivalence(0.05,0.2,0.1,0.05,0) 
# 35

Example output

[1] 24.73023

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