powered by
Ho: \(|margin| \ge 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
OneSampleMean.Equivalence(alpha, beta, sigma,margin, delta)
significance level
power = 1-beta
standard deviation
\(margin=\bar{x}-\mu_0\)
the difference between the true mean response of a test \(\bar{x}\) and a reference value \(\mu_0\)
the superiority or non-inferiority margin
Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003
# NOT RUN { OneSampleMean.Equivalence(0.05,0.2,0.1,0.05,0) # 35 # }
Run the code above in your browser using DataLab