# Vitro.BE: In Vitro Bioequivalence In TrialSize: R Functions for Chapter 3,4,6,7,9,10,11,12,14,15 of Sample Size Calculation in Clinical Research

## Description

Consider 2 by 2 crossover design. ζ = δ^2+sT^2+sR^2-thetaBE*max(σ_0^2,sR^2) . sT^2=σ_{BT}^2+σ_{WT}^2, sR^2=σ_{BR}^2+σ_{WR}^2

Ho: ζ ≥ 0

Ha: ζ < 0

## Usage

 `1` ```Vitro.BE(alpha, beta, delta, sigmaBT, sigmaBR, sigmaWT, sigmaWR, thetaBE) ```

## Arguments

 `alpha` significance level `beta` power = 1-beta `delta` delta is the mean difference `sigmaBT` σ_{BT}^2 is the between-subjects variance in test formulation `sigmaBR` σ_{BR}^2 is the between-subjects variance in reference formulation `sigmaWT` σ_{WT}^2 is the within-subjects variance in test formulation `sigmaWR` σ_{WR}^2 is the within-subjects variance in reference formulation `thetaBE` here thetaBE=1

## References

Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003

## Examples

 ```1 2 3 4``` ```Example.10.5<-Vitro.BE(0.05,0.2,0,0.5,0.5,0.5,0.5,1) Example.10.5 # n=43 Vitro.BE reach 0 ```

TrialSize documentation built on July 8, 2020, 7:19 p.m.