Learn R Programming

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

PowerTOST (version 1.4-5)

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 and/or uncertain theta0. ----- 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 and/or uncertain theta0. ----- 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 overall 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,076

Version

1.4-5

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

D. Labes

Last Published

May 20th, 2017

Functions in PowerTOST (1.4-5)

CI.BE

1-2*alpha confidence interval given point estimate, CV and n
CI.RatioF

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

CV from a given Confidence interval
CVp2CV

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

Owen's Q-function via repeated integration by parts
OwensT

Owen's T-function
CV2se+se2CV+CV2mse+mse2CV

Helper functions
CVCL

Confidence limits of a CV for log-normal data
CVpooled

Pooled CV from several studies
OwensQ

Owen's Q-function
expsampleN.noninf

Sample size based on expected power for the non-inferiority test
known.designs

Show the 'known' designs
bib.CL

Design matrices of period balanced incomplete block designs
ct5.1+ct5.2+ct5.3+ct5.4.1

Sample size tables for the classical 2x2 crossover
power.RSABE

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

Expected power of the non-inferiority test
expsampleN.TOST

Sample size based on expected power
sampleN.NTIDFDA

Sample size estimation for BE decision via FDA method for narrow therapeutic index drugs (NTIDs)
sampleN.RSABE

Sample size estimation for BE decision via linearized scaled ABE criterion
pa.scABE

Power analysis for scaled average bioequivalence (scABE)
power.2TOST

Power for two simultaneous TOST procedures
sampleN.2TOST

Sample size based on power of 2 TOSTs
sampleN.HVNTID

Sample size estimation for BE decision via FDA method for highly variable (HV) narrow therapeutic index drugs (NTIDs)
power.TOST

Power of the classical TOST procedure
power.TOST.sim

Power of the TOST procedure obtained via simulations
type1error.2TOST

Type I error rate for two simultaneous TOST procedures
sampleN.scABEL

Sample size estimation for BE decision via scaled (widened) BE acceptance limits
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.HVNTID

(Empirical) Power for BE decision via FDA method for highly variable NTIDs
ct9.6.2+ct9.6.6

Sample size tables for the 2x2x3 replicate crossover
ct9.6.4+ct9.6.8

Sample size tables for the 2x4x4 replicate crossover
pa.ABE

Power analysis for average bioequivalence (ABE)
pa.NTIDFDA

Power analysis for scaled ABE for NTIDs according to FDA
pvalue.TOST

p-value(s) of the TOST procedure
reg_const

Constructor of an object with class 'regSet' containing the regulatory settings for ABEL
scABEL

Scaled (widened) BE Acceptance Limits
scABEL.ad

Iteratively adjusted alpha for ABEL
exppower.TOST

Expected power of the TOST procedure
power.NTIDFDA

(Empirical) Power for BE decision via FDA method for NTIDs
power.scABEL

(Empirical) Power of BE decision via scaled (widened) BE acceptance limits
power.scABEL.sdsims

(Empirical) Power of BE decision via scaled (widened) BE acceptance limits
sampleN.dp

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

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

Power of dose-proportionality studies evaluated via Power model
power.noninf

Power of the one-sided non-inferiority t-test
sampleN.RatioF

Sample size for equivalence of the ratio of two means with normality on original scale
sampleN.TOST

Sample size based on power of TOST
sampleN.noninf

Sample size for the non-inferiority t-test