It calculates mean squared error (MSE) from a confidence interval of previous 2x2 study.

ci2mse(n1, n2, LL, UL, Alpha = 0.1)

Arguments

n1

Subject count of group 1

n2

Subject count of group 2

LL

Lower limit of the confidence interval of geometric mean ratio (Test/Reference)

UL

Upper limit of the confidence interval of geometric mean ratio (Test/Reference)

Alpha

Alpha level. This means (1 - alpha/2)*100 % confidence interval is given

Details

It calculates coefficient of variation (CV) from a confidence interval of 2x2 bioequivalence study.

Value

Returns mean squared error (MSE).

Author

Kyun-Seop Bae <k@acr.kr>

Examples

ci2mse(12, 13, 0.85, 1.11) 
#> [1] 0.07565309