power_Mielke {SimTOST} | R Documentation |
Power Calculation for Hypothesis Testing in Equivalence Trials
Description
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.
Usage
power_Mielke(
N,
m,
k,
R,
sigma,
true.diff,
equi.tol = log(1.25),
design,
alpha = 0.05,
adjust = "no",
nsim = 10000
)
Arguments
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 |
Value
A numeric value representing the estimated power based on the simulations.