Description Usage Arguments Value Examples
View source: R/mean_diff_point.R
Calculates the exact power of an unpaired, balanced TOST with n samples in each group. The true mean-difference is assumed to be a point, i.e. fixed value.
1 | power.point(alpha, theta1, theta2, theta0, sigma, n)
|
alpha |
type I error |
theta1 |
lower limit of equivalence interval |
theta2 |
upper limit of equivalence interval |
theta0 |
mean-difference |
sigma |
standard deviation of the measurements |
n |
sample size in each group |
Exact power of the TOST for a fixed point mean-difference
1 2 | pwr <- power.point(alpha = 0.05, theta1 = -1, theta2 = 2, theta0 = 1, sigma = 1, n = 15)
n.point(alpha = 0.05, theta1 = -1, theta2 = 2, theta0 = 1, sigma = 1, pwr = pwr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.