Learn R Programming

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

PowerTOST (version 1.3-3)

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 also functions scABEL.ad() and sampleN.scABEL.ad() to iteratively adjust alpha in order to maintain the consumer risk in ABEL studies and adapt the sample size for the loss in power. 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 further functions power.HVNTID() and sampleN.HVNTID() to calculate power and sample size for the BE decision via the FDA procedure for highly variable NTID's (see FDA Dabigatran / rivaroxaban guidances) ----- 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,119

Version

1.3-3

License

GPL (>= 2)

Maintainer

D. Labes

Last Published

January 15th, 2016

Functions in PowerTOST (1.3-3)

CV2se+se2CV+CV2mse+mse2CV

Helper functions
OwensT

Owen's T-function
ct9.6.2+ct9.6.6

Sample size tables for the 2x2x3 replicate crossover
OwensQOwen

Owen's Q-function via repeated integration by parts
expsampleN.noninf

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

p-value(s) of the TOST procedure
power.RatioF

Power for equivalence of the ratio of two means with normality on original scale
power.2TOST

Power for two simultaneous TOST procedures
exppower.noninf

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

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

Power of dose-proportionality studies evaluated via Power model
bib.CL

Design matrices of period balanced incomplete block designs
ct9.6.4+ct9.6.8

Sample size tables for the 2x4x4 replicate crossover
scABEL

Helper function to calculate the (widened) scaled BE acceptance limits
sampleN.HVNTID

Sample size estimation for BE decision via FDA method for highly variable narrow therapeutic index drugs (NTID's)
power.scABEL

(Empirical) Power for BE decision via scaled (widened) BE acceptance limits
sampleN.TOST

Sample size based on power of TOST
sampleN.scABEL.ad

Sample size estimation for ABEL and iteratively adjusted alpha
ctSJ.VIII.10+ctSJ.VIII.20+ctCW.III

Sample size tables for the parallel group design
power.TOST

Power of the classical TOST procedure
pa.NTIDFDA

Power analysis for scaled ABE for NTID according to FDA
power.TOST.sim

Power of the TOST procedure obtained via simulations
exppower.TOST

'Expected' power of TOST procedure
power.noninf

Power of the one-sided non-inferiority t-test
power.NTIDFDA

(Empirical) Power for BE decision via FDA method for NTID's
CVpooled

Pooled CV from several studies
pa.scABE

Power analysis for scaled average bioequivalence (scABE)
expsampleN.TOST

Sample size based on 'expected' power
PowerTOST-internal

Internal PowerTOST objects
pa.ABE

Power analysis for average bioequivalence (ABE)
known.designs

Show the 'known' designs
power.HVNTID

(Empirical) Power for BE decision via FDA method for highly variable NTID's
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
scABEL.ad

Iteratively adjusted alpha for ABEL
CI.BE

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

Sample size estimation for BE decision via scaled (widened) BE acceptance limits
CI.RatioF

1-2*alpha Fieller confidence interval given point est., CV (,CVb) and n
ct5.1+ct5.2+ct5.3+ct5.4.1

Sample size tables for the classical 2x2 crossover
sampleN.NTIDFDA

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

Decompose CV(T) and CV(R) from 'pooled' CV of T/R
CVCL

Confidence limits of a CV for log-normal data
OwensQ

Owen's Q-function
type1error.2TOST

Type I error rate for two simultaneous TOST procedures
power.RSABE

(Empirical) Power for BE decision via linearized scaled ABE criterion
sampleN.noninf

Sample size for the non-inferiority t-test
sampleN.2TOST

Sample size based on power of 2 TOSTs
CVfromCI

CV from a given Confidence interval