ss2x2ci: Sample size using a confidence interval of previous 2x2 study

Description Usage Arguments Details Value Author(s) Examples

View source: R/ss2x2ci.R

Description

It calculates sample size for the bioequivalence test on ratio using a confidence interval of previous 2x2 study.

Usage

1
ss2x2ci(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 sample size (n per group) with CV, Alpha, and Beta for bioequivalence test.

Value

Returns sample size (n per group) for bioequivalence test with ratio criteria.

Author(s)

Kyun-Seop Bae <k@acr.kr>

Examples

1
ss2x2ci(12, 13, 0.85, 1.11) 

Example output

Loading required package: rtf
                           True Ratio=1 True Ratio=0.9713
80% Power Sample Size                14                15
Power at n1 = 12 , n2 = 13           74                71

BE documentation built on Dec. 16, 2021, 1:06 a.m.