Signature
T_L = (d - log(L_0)) / SE; T_U = (d - log(U_0)) / SE; BE_t = (T_L >= t_crit) and (T_U <= -t_crit)
| Inputs | Definition | Unit |
|---|---|---|
d | Estimated difference in means of the natural log of AUC or Cmax, test minus reference, as in HE-VR-ANDA-004 | natural log units |
L_0 | Lower limit for the test to reference ratio, above 0, 0.80 in the standard rule | ratio |
SE | Standard error of d from the analysis model, as in HE-VR-ANDA-005, above 0 | natural log units |
U_0 | Upper limit for the test to reference ratio, above L_0, 1.25 in the standard rule | ratio |
t_crit | 95th percentile of the t distribution with the model's residual degrees of freedom, as in HE-VR-ANDA-006 | dimensionless |
T_L | Distance of d above log(L_0) in standard errors, the statistic of the test of the null that the log difference is at or below log(L_0) | dimensionless |
|---|---|---|
T_U | Distance of d from log(U_0) in standard errors, negative when d lies below log(U_0), the statistic of the test of the null that the log difference is at or above log(U_0) | dimensionless |
BE_t | Equals 1 (true) when both nulls are rejected and 0 (false) otherwise | binary indicator |
Function
Two one-sided tests and scaled limits function for bioequivalence
Maps a study's difference in log means, its standard error and the reference product's within-subject variability to the statistics behind a bioequivalence decision. It takes d, SE, t_crit and a pair of acceptance limits to the two one-sided t statistics, the reference coefficient of variation to the EMA widened limits for Cmax, the reference within-subject variance to the FDA reference-scaled upper bound, and two within-subject standard deviations to the FDA upper limit for their ratio. The 90% interval for the ratio is HE-FM-ANDA-001, the rounded check against 80.00% to 125.00% is HE-VT-ANDA-001, the crossover standard error is HE-FM-ANDA-002 and the post-entry generic price is HE-FM-ANDA-003; these live records are cited and not repeated. Notation follows the Bioequivalence article.
Try this function
Implementations
Excel
One-sided t statistics and p values in named cells
With the inputs in cells named MeanLogDiff, SELogDiff, LowerLimit, UpperLimit and ResidualDF, the seven formulas return, in order, cells named TostStatLower, TostStatUpper, TQuantile, TostPassed, TostPLower, TostPUpper and TostPValue. TostPValue is the larger of the two one-sided p values, and it is at or below 0.05 exactly when both tests reject at the 5% level (derived). A blank SELogDiff returns #DIV/0! and a blank limit returns #NUM!, because LN of 0 is undefined.
=(MeanLogDiff-LN(LowerLimit))/SELogDiff; =(MeanLogDiff-LN(UpperLimit))/SELogDiff; =T.INV(0.95,ResidualDF); =IF(AND(TostStatLower>=TQuantile,TostStatUpper<=-TQuantile),1,0); =T.DIST.RT(TostStatLower,ResidualDF); =T.DIST(TostStatUpper,ResidualDF,TRUE); =MAX(TostPLower,TostPUpper)
Assumptions
Log-scale analysis with a t reference distribution
d and SE come from the analysis of log-transformed AUC or Cmax, and each test runs at the 5% level, so t_crit is the 95th percentile of t. Schuirmann prints the tests for a balanced crossover with the standard error s sqrt(2/n), s being the square root of the error mean square, which is HE-FM-ANDA-002, and his t_2 is minus T_U. Li and colleagues print T_L and T_U for two independent groups with n_T + n_R minus 2 degrees of freedom.
Unrounded limits here and rounded limits in the regulatory rule
Schuirmann prints each statistic as at or above the t value, which BE_t follows, while Li and colleagues print strict inequalities, a difference only at an exact tie. The rule in HE-VT-ANDA-001 reads limits rounded to two decimal places, so it and BE_t can differ at the edge (derived). A lower confidence limit of 79.996% rounds to 80.00% and passes HE-VT-ANDA-001, while at an SE of 0.06 and a t_crit of 1.717144 its T_L is 1.7163 and BE_t is 0. A regulatory submission is judged by the rounded interval.
Fixed limits chosen before the study
L_0 and U_0 are constants fixed in advance, 0.80 and 1.25 in the standard rule and 0.90 and 1.1111 for the EMA narrow therapeutic index interval. Limits calculated from the study's own variability belong to HE-FM-BIO-002 and HE-FM-BIO-003, which set their own decision rules.
Worked examples
Article's 24-subject crossover against the standard limits
The article's illustrative crossover has a ratio of 95%, a difference in log means of minus 0.05129 and a standard error of 0.05717, with a t_crit of 1.71714 on 22 degrees of freedom. T_L is 3.006 and T_U is minus 4.800, so both nulls are rejected, which agrees with the article's interval of 86.12% to 104.80%.
d = -0.05129; SE = 0.05717; t_crit = 1.71714; L_0 = 0.80; U_0 = 1.25; T_L = 3.006; T_U = -4.800; BE_t = 1
Article's crossover against the tighter EMA interval
The same illustrative study against the EMA narrow therapeutic index interval of 90.00% to 111.11% gives a T_L of 0.946, below t_crit, so the lower test fails, as the article's judgement on its interval says.
d = -0.05129; SE = 0.05717; t_crit = 1.71714; L_0 = 0.90; U_0 = 1.1111; T_L = 0.946; T_U = -2.740; BE_t = 0
Ratio of 0.88 that fails only the lower one-sided test
On the illustrative inputs of HE-EX-ANDA-002, a ratio of 0.88 with a standard error of 0.07, T_L is 1.362, below t_crit, while T_U is minus 5.014. The result matches the lower confidence limit of 78.03% in that record.
d = -0.127833; SE = 0.07; t_crit = 1.717144; L_0 = 0.80; U_0 = 1.25; T_L = 1.362; T_U = -5.014; BE_t = 0
Equal log means give statistics of equal size and opposite sign
A limiting case with illustrative inputs. At d of 0 the limits are equally far away on the log scale, so T_L equals minus T_U, here 4.463 at an SE of 0.05.
d = 0; SE = 0.05; t_crit = 1.717144; L_0 = 0.80; U_0 = 1.25; T_L = 4.463; T_U = -4.463; BE_t = 1
Common errors
Comparing the upper statistic with plus t
T_U is negative for a passing study. In the article's example it is minus 4.800, which does not exceed 1.717, so a test written as T_U above t_crit reports failure for a study that passes.
Taking a non-significant difference as bioequivalence
A test of no difference asks another question. On the inputs of HE-EX-ANDA-002, d divided by SE is minus 1.826, inside the two-sided 5% critical value of 2.074 on 22 degrees of freedom, so the difference is not significant, yet T_L of 1.362 fails and bioequivalence is not shown.
Doubling a one-sided p value
Each test runs at the 5% level and the procedure's p value is the larger of the two one-sided values. T.DIST.2T doubles it, 0.0065 against 0.0033 in the article's example, and a study with a p value of 0.03 would then appear to fail at 0.05.
Base 10 limits with natural log data
The limits must be on the same log scale as d. In the article's example a base 10 log of 0.80, minus 0.0969, gives a T_L of 0.798 in place of 3.006, and a passing study reads as a failure.
Sources
Li and colleagues on the two one-sided t statistics
Li K, Sinks S, Sun P, Yang L. On the confidence intervals in bioequivalence studies. arXiv preprint 2306.06698v1, 2023. Preprint section 2.2, Two One-sided Tests (TOST), hypotheses (5) and (6) and equation (7), which prints T_L and T_U with theta_L and theta_U, rejection when T_L exceeds the t critical value and T_U lies below its negative, and the standard error for two groups.
FDA guidance on the two one-sided tests procedure
US Food and Drug Administration, Center for Drug Evaluation and Research. Statistical Approaches to Establishing Bioequivalence: Guidance for Industry. Silver Spring, MD: FDA; May 2026. Section II.C.1.a, Use of confidence intervals to perform two one-sided tests. Names the Two One-Sided Tests Procedure (Schuirmann 1987) as the recommended method, each test usually at a significance level of 0.05, with the 100(1 minus 2 alpha) percent equal-tails interval as a way of carrying the tests out.
ICH M13A on the equivalence of the interval and the t tests
US Food and Drug Administration. M13A Bioequivalence for Immediate-Release Solid Oral Dosage Forms: Guidance for Industry. October 2024 (ICH Step 4, July 2024). Section 2.2.3.1, General Considerations, which states that the 90% interval method is equivalent to two one-sided t-tests with null hypotheses of bioinequivalence at the 5% significance level.
Schuirmann on the two one-sided tests and the power approach
Schuirmann DJ. A comparison of the two one-sided tests procedure and the power approach for assessing the equivalence of average bioavailability. J Pharmacokinet Biopharm. 1987;15(6):657-680. Section The Two One-Sided Tests Procedure, pages 660 and 661, prints t_1, the difference in means minus theta_1 divided by s sqrt(2/n), and t_2, theta_2 minus the difference divided by the same standard error, for a balanced study, each at or above the t value on the degrees of freedom of the error mean square, and says the procedure is operationally identical to the 1 minus 2 alpha interval lying inside the limits. Appendix A, pages 676 and 677, restates the limits as logarithms for log-transformed variables.
Canonical Identity
Stable URI · Machine-readable · Resolvable · CC BY 4.0
