pow2x2ci.Rd
It calculates power for the bioequivalence test on ratio using a confidence interval of previous 2x2 study.
pow2x2ci(n1, n2, LL, UL, Alpha = 0.1)
Subject count of group 1
Subject count of group 2
Lower limit of the confidence interval of geometric mean ratio (Test/Reference)
Upper limit of the confidence interval of geometric mean ratio (Test/Reference)
Alpha level. This means (1 - alpha/2)*100 % confidence interval is given
It calculates power of sample size (n per group) with CV
.
Returns power [0, 1)
pow2x2ci(12, 13, 0.85, 1.11)
#> [1] 0.7437338