Learn R Programming

⚠️There's a newer version (1.5-6) of this package.Take me there.

PowerTOST (version 1.2-08)

Power and Sample Size Based on Two One-Sided t-Tests (TOST) for (Bio)Equivalence Studies

Description

Contains functions to calculate power and sample size for various study designs used for bioequivalence studies. See function known.designs() for study designs covered. Moreover the package contains functions for power and sample size based on 'expected' power in case of uncertain (estimated) variability. ----- Added are functions for the power and sample size for the ratio of two means with normally distributed data on the original scale (based on Fieller's confidence ('fiducial') interval). ----- Contains further functions for power and sample size calculations based on non-inferiority t-test. This is not a TOST procedure but eventually useful if the question of 'non-superiority' must be evaluated. The power and sample size calculations based on non-inferiority test may also performed via 'expected' power in case of uncertain (estimated) variability. ----- Contains functions power.scABEL() and sampleN.scABEL() to calculate power and sample size for the BE decision via scaled (widened) BE acceptance limits (EMA recommended) based on simulations. Contains further functions power.RSABE() and sampleN.RSABE() to calculate power and sample size for the BE decision via reference scaled ABE criterion according to the FDA procedure based on simulations. Contains further functions power.NTIDFDA() and sampleN.NTIDFDA() to calculate power and sample size for the BE decision via the FDA procedure for NTID's based on simulations. ----- Contains functions for power analysis of a sample size plan for ABE (pa.ABE()), scaled ABE (pa.scABE()) and scaled ABE for NTID's (pa.NTIDFDA()) analysing power if deviating from assumptions of the plan. ----- Contains further functions for power calculations / sample size estimation for dose proportionality studies using the Power model.

Copy Link

Version

Install

install.packages('PowerTOST')

Monthly Downloads

1,076

Version

1.2-08

License

GPL (>= 2)

Maintainer

D. Labes

Last Published

July 10th, 2015

Functions in PowerTOST (1.2-08)

CVpooled

Pooled CV from several studies
ct9.6.4+ct9.6.8

Sample size tables for the 2x4x4 replicate crossover
CV2se+se2CV+CV2mse+mse2CV

Helper functions
CVCL

Confidence limits of a CV for log-normal data
expsampleN.TOST

Sample size based on 'expected' power
power.RatioF

Power for equivalence of the ratio of two means with normality on original scale
CVp2CV

Decompose CV(T) and CV(R) from 'pooled' CV of T/R
bib.CL

Design matrices of period balanced incomplete block designs
PowerTOST-internal

Internal PowerTOST objects
ct5.1+ct5.2+ct5.3+ct5.4.1

Sample size tables for the classical 2x2 crossover
CVfromCI

CV from a given Confidence interval
pa.NTIDFDA

Power analysis for scaled ABE for NTID according to FDA
CI.RatioF

1-2*alpha Fieller confidence interval given point est., CV (,CVb) and n
exppower.TOST

'Expected' power of TOST procedure
exppower.noninf

'Expected' power of non-inferiority test
sampleN.NTIDFDA

Sample size estimation for BE decision via FDA method for narrow therapeutic index drugs (NTID's)
CI.BE

1-2*alpha confidence interval given point estimator, CV and n
power.scABEL

(Empirical) Power for BE decision via scaled (widened) BE acceptance limits
power.NTIDFDA

(Empirical) Power for BE decision via FDA method for NTID's
sampleN.scABEL

Sample size estimation for BE decision via scaled (widened) BE acceptance limits
sampleN.TOST

Sample size based on power of TOST
scABEL

Helper function to calculate the (widened) scaled BE acceptance limits
known.designs

Show the 'known' designs
OwensQOwen

Owen's Q-function via repeated integration by parts
pa.scABE

Power analysis for scaled average bioequivalence (scABE)
power.dp

Power of dose-proportionality studies evaluated via Power model
ct9.6.2+ct9.6.6

Sample size tables for the 2x2x3 replicate crossover
sampleN.dp

Sample size estimation of dose-proportionality studies evaluated via Power model
sampleN.RatioF

Sample size for equivalence of the ratio of two means with normality on original scale
OwensQ

Owen's Q-function
sampleN.noninf

Sample size for the non-inferiority t-test
expsampleN.noninf

Sample size based on 'expected' power for the non-inferiority test
power.RSABE

(Empirical) Power for BE decision via linearized scaled ABE criterion
power.TOST

Power of the classical TOST procedure
pvalue.TOST

p-value(s) of the TOST procedure
ctSJ.VIII.10+ctSJ.VIII.20+ctCW.III

Sample size tables for the parallel group design
sampleN.RSABE

Sample size estimation for BE decision via linearized scaled ABE criterion
power.noninf

Power of the one-sided non-inferiority t-test
OwensT

Owen's T-function
pa.ABE

Power analysis for average bioequivalence (ABE)