atost {cTOST} | R Documentation |
The alpha-TOST Corrective Procedure for (Bio)Equivalence Testing
Description
This functions is used to compute the alpha-TOST, a corrective procedure of the significance level applied to the Two One-Sided Test (TOST) for (bio)equivalence testing in the univariate framework.
Usage
atost(theta, sigma, nu, alpha, delta)
Arguments
theta |
A |
sigma |
A |
nu |
A |
alpha |
A |
delta |
A |
Value
A tost
object with the structure:
decision: A boolean variable indicating whether (bio)equivalence is accepted or not.
ci: Confidence interval at the 1 - 2*alpha level.
theta: The difference of means used for the test.
sigma: The standard error used for the test.
nu: The number of degrees of freedom used for the test.
alpha: The significance level used for the test.
delta: The (bio)equivalence limits used for the test.
method: The method used for the test (here the "alpha-TOST").
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)
res_atost = atost(theta = theta_hat, sigma = sig_hat, nu = nu,
alpha = 0.05, delta = log(1.25))
res_atost
compare_to_tost(res_atost)