tost {cTOST}R Documentation

Two One-Sided Test (TOST) for (Bio)Equivalence Testing

Description

This function performs a Two One-Sided Test (TOST) for (bio)equivalence testing.

Usage

tost(theta, sigma, nu, alpha, delta)

Arguments

theta

A numeric value corresponding to the difference of means (e.g. between a generic and reference drug).

sigma

A numeric value corresponding to the standard error.

nu

A numeric value corresponding to the number of degrees of freedom.

alpha

A numeric value specifying the significance level.

delta

A numeric value corresponding to (bio)equivalence limit. We assume symmetry, i.e, the (bio)equivalence interval corresponds to (-delta,delta)

Value

A tost object with the structure:

Author(s)

Younes Boulaguiem, Stéphane Guerrier, Dominique-Laurent Couturier

Examples

data(skin)

theta_hat = diff(apply(skin,2,mean))
nu = nrow(skin) - 1
sig_hat = sd(apply(skin,1,diff))/sqrt(nu)
tost(theta = theta_hat, sigma = sig_hat, nu = nu,
     alpha = 0.05, delta = log(1.25))


[Package cTOST version 1.0.0 Index]