pow2x2mse.RdIt calculates power for the bioequivalence test on ratio using mean squared error (MSE of previous 2x2 study.
pow2x2mse(n1, n2, mse, True.R = 1, Alpha = 0.1, ThetaL = 0.8, ThetaU = 1.25)It calculates power of sample size (n per group) with CV.
Returns power [0, 1)
pow2x2mse(12, 13, 0.0756530)
#> [1] 0.7437345