View source: R/sampleSize_Mielke.R
power_Mielke | R Documentation |
Estimates the power of hypothesis testing in equivalence trials using the method described by Mielke et al. This approach accounts for multiple endpoints, correlation structures, and multiplicity adjustments.
power_Mielke(
N,
m,
k,
R,
sigma,
true.diff,
equi.tol = log(1.25),
design,
alpha = 0.05,
adjust = "no",
nsim = 10000
)
N |
Integer specifying the number of subjects per sequence. |
m |
Integer specifying the number of endpoints. |
k |
Integer specifying the number of endpoints that must meet equivalence to consider the test successful. |
R |
Matrix specifying the correlation structure between endpoints.
This should be an |
sigma |
Numeric specifying the standard deviation of endpoints.
Can be a vector of length |
true.diff |
Numeric specifying the assumed true difference between test and reference.
Can be a vector of length |
equi.tol |
Numeric specifying the equivalence margins, with the interval defined as
|
design |
Character specifying the study design.
Options are |
alpha |
Numeric specifying the significance level. Default is |
adjust |
Character specifying the method for multiplicity adjustment.
Options include |
nsim |
Integer specifying the number of simulations to perform. Default is |
A numeric value representing the estimated power based on the simulations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.