Skip to content

Commit 1bb6e95

Browse files
author
Thomas Debray
committed
update manuscript
1 parent c873cf7 commit 1bb6e95

File tree

3 files changed

+121
-33
lines changed

3 files changed

+121
-33
lines changed

vignettes/fig_manuscript_01.png

39.3 KB
Loading

vignettes/manuscript.Rnw

Lines changed: 57 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
%% recommended packages
66
\usepackage{orcidlink,thumbpdf,lmodern}
77

8+
%% sideways tables
9+
%\usepackage{rotating}
10+
11+
812
%% another package (only for this demo article)
913
\usepackage{framed}
1014

@@ -83,11 +87,60 @@ library("MASS")
8387

8488
Sample size estimation is a critical aspect of clinical trial design, as it ensures sufficient statistical power to detect meaningful effects while minimizing unnecessary resource use and participant burden. However, sample size estimation becomes particularly complex when multiple endpoints, treatments, and hypotheses are involved. These challenges are frequently encountered in bioequivalence trials, for which pharmacokinetic parameters, bioequivalence criteria, and reference products often vary across regulatory bodies.
8589

86-
Existing software solutions, both simple and advanced, often fall short of addressing the intricacies of bioequivalence trial designs. For instance, the \proglang{R} package \pkg{pwr} (Champely, 2020) provides basic power calculations for tests involving proportions, means, one-way ANOVA, and the general linear model, as well as effect size computation. However, its capabilities are limited to handling only the simplest biosimilar trial designs. Similarly, \pkg{Rpact} is designed for confirmatory adaptive clinical trials with continuous, binary, and survival endpoints, but it cannot adequately handle the complexity of bioequivalence trials beyond the simplest cases. TrialSize, which includes over 80 functions for clinical trial sample size estimation, also lacks dedicated functions for anything beyond basic biosimilar trials.
90+
Existing software solutions, both simple and advanced, often fall short of addressing the intricacies of bioequivalence trial designs. Generic sample size packages, such as the \proglang{R} package \pkg{pwr} \citep{Champely2020} provide basic power calculations for tests involving proportions, means, one-way ANOVA, and the general linear model, as well as effect size computation. However, these packages are restricted to trials with simple designs, typically involving two arms and a single endpoint. Similarly, \pkg{TrialSize} \citep{TrialSize2020} which offers over 80 functions for clinical trial sample size estimation, lacks the specialized features required for handling more advanced biosimilar trial scenarios.
91+
92+
More advanced packages, such as \pkg{rpact} \citep{rpact2024}, are tailored for adaptive clinical trials and support complex designs, including group-sequential and multi-arm trials. However, these tools are not specifically designed to address the unique challenges of bioequivalence studies, such as implementing equivalence-specific statistical methodologies.
93+
94+
Specialized \proglang{R} packages like \pkg{PowerTOST} \citep{PowerTOST2024} and \pkg{TOSTER} \citep{Caldwell2022} focus specifically on equivalence testing, with a strong emphasis on the TOST procedure (two one-sided t-tests). These packages provide robust support for standard bioequivalence trials but are limited in their capacity to handle more complex designs, such as those involving multiple arms or more intricate statistical frameworks.
95+
96+
Proprietary software such as nQuery \citep{nQuery2024} and PASS \citep{PASS2024} offers broader capabilities. For instance, nQuery supports a range of adaptive, group-sequential, and fixed sample size trials, including some bioequivalence study designs, such as the 2x2 crossover design. Similarly, PASS includes procedures for biosimilar trials using a parallel 2-group design. However, their applicability to more complex trial scenarios remains limited, and the reliance on proprietary systems may hinder reproducibility and accessibility. A summary of the existing R packages and other applicable software is provided in Table~\ref{tab:overview}.
97+
98+
\begin{table}[t!]
99+
\centering
100+
\begin{tabular}{lp{2.0cm}p{4.7cm}p{3.6cm}}
101+
\hline
102+
Software & Domain of focus & Features & Limitations \\
103+
& & & \\\hline
104+
\pkg{PowerTOST} & Biosimilar trials & Wide range of power and sample size functions for (bio)equivalence studies & Limited support for trials with more than two arms\\
105+
\pkg{TOSTER} & Biosimilar trials & Focuses on two one-sided tests (TOST) with functions for equivalence testing and minimal effects testing & Limited support for trials with more than two arms\\
106+
\pkg{rpact} & Adaptive trials & Comprehensive power and sample size functions for various endpoints in adaptive trials & No specific focus on biosimilar studies\\
107+
\pkg{pwr} & Generic power calculations & Basic power calculations for proportions, means, and simple statistical tests & Restricted to relatively simple trial designs \\
108+
\pkg{TrialSize} & Clinical trials & Extensive sample size functions for diverse clinical trial designs, including dose escalation studies & No specific focus on biosimilar studies\\\hline
109+
PASS & Clinical trials and other designs & Extensive power and sample size procedures for a variety of study designs & Proprietary software; limited functionality for biosimilar designs \\
110+
nQuery & Adaptive trials & Comprehensive power and sample size functionality, including frequentist and Bayesian methods & Proprietary software \\ \hline
111+
\end{tabular}
112+
\caption{\label{tab:overview} R packages and other software for sample size calculation for bio-equivalence trials}
113+
\end{table}
114+
115+
This paper presents the \proglang{R} package \pkg{SimTOST}, which is intended for use by clinical trial statisticians with a basic understanding of \proglang{R}, clinical trial design, and sample size calculation. \pkg{SimTOST} was developed to streamline sample size estimation for Phase 1 randomized bioequivalence trials. Major features of the software include the evaluation of multiple treatment arms, evaluation of multiple (co-)primary endpoints, configuration of distributional assumptions, customization of trial success criteria, adjustment for multiplicity, and empirical assessment of power and the type I error rate. Unlike conventional methods, \pkg{SimTOST} addresses the particular complexities of biosimilar trials, in that it can deal appropriately with multiple hypotheses, treatments, and correlated endpoints with flexibility and accuracy. We are not aware of any existing software/\proglang{R} package that is aimed specifically at sample size estimation for bioequivalence trials, that can also handle multiple endpoints, testing of multiple hypotheses, and crossover designs.
116+
117+
The rest of this paper is structured as follows: Section~\ref{sec:bioequivalence} reviews the distinguishing features of biosimilar trials and summarises the key methods developed for sample size estimation for bioequivalence studies. In Section 3, the principal functionality of the \pkg{SimTOST} package is presented. In Section 4, several advanced features of the package are described, including multiple hypothesis testing. Section 5 presents a worked example to illustrate application of the software to a complex, but real-world situation encountered in the bioequivalence field: trials with three arms, three correlated co-primary endpoints, and two different reference products. Finally, Section 6 provides discussion, future directions, and conclusions.
118+
119+
\section{Bioequivalence} \label{sec:bioequivalence}
120+
121+
\subsection{Biosimilar versus conventional trial designs}
122+
Biosimilar trials differ from conventional clinical trials in both their objectives and the choice of comparator arms. The primary goal of a biosimilar trial is to demonstrate (bio)equivalence, whereas conventional trials often aim to establish superiority or non-inferiority. Furthermore, in biosimilar trials, the comparator is a reference medicinal product -- a previously approved drug -- rather than the standard of care, placebo, sham, or other alternative treatments typically used in conventional trials.
123+
124+
Two medicinal products are considered bioequivalent if they meet specific criteria. These products must be either:
87125

88-
Proprietary software such as nQuery and PASS offers broader capabilities. For instance, nQuery supports a range of adaptive, group-sequential, and fixed sample size trials, including some bioequivalence study designs, such as the 2x2 crossover design. Similarly, PASS includes procedures for biosimilar trials using a parallel 2-group design. However, their applicability to more complex trial scenarios remains limited, and the reliance on proprietary systems may hinder reproducibility and accessibility.
126+
\begin{itemize}
127+
\item Pharmaceutical equivalents: Products that differ only in manufacturer but are otherwise identical in active ingredients, strength, and dosage form.
128+
\item Pharmaceutical alternatives: Products that differ in their dosage form or formulation but contain the same active ingredients.
129+
\end{itemize}
130+
131+
Bioequivalence is determined by comparing the bioavailability of the two products, which involves assessing the rate and extent of drug absorption using a standard set of pharmacokinetic parameters. The products are deemed bioequivalent if their bioavailability falls within predefined limits set by regulatory guidelines. \citep{CHMP2010}
132+
133+
Unlike conventional trials, biosimilar trials may involve more than one reference product. This situation arises when different regulatory bodies stipulate distinct reference products for the clinical indication of interest. In such cases, it may be desirable to design a single trial that addresses the requirements of multiple regulators by simultaneously comparing the new product to two reference products. Estimating the sample size for such a trial requires careful consideration of the trial’s unique design and objectives.
134+
135+
Figure~\ref{fig:exampletrial} illustrates an example of this approach, where a new treatment is compared to two different reference treatments across three outcomes, meeting the diverse requirements of multiple regulatory authorities.
136+
137+
138+
\begin{figure}[t!]
139+
\centering
140+
\includegraphics[width=\textwidth]{fig_manuscript_01.png}
141+
\caption{\label{fig:exampletrial} Example trial illustrating comparisons for three outcomes (AUCInf, AUClast, and Cmax) between a new treatment and reference products designated by different regulatory bodies (USA and EU).}
142+
\end{figure}
89143

90-
Specialized R packages like PowerTOST (Labes et al., 2024) and Toster (Caldwell, 2022) aim to address sample size and power calculations for equivalence studies. These tools are particularly focused on the TOST procedure (two one-sided t-tests) and offer robust support for standard bioequivalence trials. However, their functionality is constrained when dealing with trials involving more than two arms or other complex design elements.
91144

92145
\begin{leftbar}
93146
The introduction is in principle ``as usual''. However, it should usually embed
@@ -201,36 +254,7 @@ column headers and captions in sentence style, and if possible avoiding vertical
201254
lines.
202255
\end{leftbar}
203256

204-
\begin{table}[t!]
205-
\centering
206-
\begin{tabular}{lllp{7.4cm}}
207-
\hline
208-
Type & Distribution & Method & Description \\ \hline
209-
GLM & Poisson & ML & Poisson regression: classical GLM,
210-
estimated by maximum likelihood (ML) \\
211-
& & Quasi & ``Quasi-Poisson regression'':
212-
same mean function, estimated by
213-
quasi-ML (QML) or equivalently
214-
generalized estimating equations (GEE),
215-
inference adjustment via estimated
216-
dispersion parameter \\
217-
& & Adjusted & ``Adjusted Poisson regression'':
218-
same mean function, estimated by
219-
QML/GEE, inference adjustment via
220-
sandwich covariances\\
221-
& NB & ML & NB regression: extended GLM,
222-
estimated by ML including additional
223-
shape parameter \\ \hline
224-
Zero-augmented & Poisson & ML & Zero-inflated Poisson (ZIP),
225-
hurdle Poisson \\
226-
& NB & ML & Zero-inflated NB (ZINB),
227-
hurdle NB \\ \hline
228-
\end{tabular}
229-
\caption{\label{tab:overview} Overview of various count regression models. The
230-
table is usually placed at the top of the page (\texttt{[t!]}), centered
231-
(\texttt{centering}), has a caption below the table, column headers and captions
232-
are in sentence style, and if possible vertical lines should be avoided.}
233-
\end{table}
257+
234258

235259

236260
%% -- Illustrations ------------------------------------------------------------

vignettes/references.bib

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,67 @@ @article{mielke_sample_2018
1212
urldate = {2022-08-17},
1313
langid = {english}
1414
}
15+
16+
@Misc{Champely2020,
17+
author = {Stéphane Champely},
18+
title = {pwr: Basic Functions for Power Analysis},
19+
year = {2020},
20+
howpublished = {R package version 1.3-0},
21+
url = {https://github.com/heliosdrm/pwr}
22+
}
23+
24+
@Manual{rpact2024,
25+
title = {rpact: Confirmatory Adaptive Clinical Trial Design and Analysis},
26+
author = {Gernot Wassmer and Friedrich Pahlke},
27+
year = {2024},
28+
note = {R package version 4.1},
29+
url = {https://www.rpact.com}
30+
}
31+
32+
@Manual{TrialSize2020,
33+
title = {TrialSize: R Functions for Chapter 3,4,6,7,9,10,11,12,14,15 of Sample Size
34+
Calculation in Clinical Research},
35+
author = {Ed Zhang and Vicky Qian Wu and Shein-Chung Chow and Harry G.Zhang},
36+
year = {2024},
37+
note = {R package version 1.4.1},
38+
url = {https://CRAN.R-project.org/package=TrialSize},
39+
}
40+
41+
@Manual{PowerTOST2024,
42+
title = {PowerTOST: Power and Sample Size for (Bio)Equivalence Studies},
43+
author = {Detlew Labes and Helmut Schütz and Benjamin Lang},
44+
year = {2024},
45+
note = {R package version 1.5-6},
46+
url = {https://CRAN.R-project.org/package=PowerTOST},
47+
}
48+
49+
@Misc{Caldwell2022,
50+
author = {Aaron R. Caldwell},
51+
title = {Exploring Equivalence Testing with the Updated TOSTER R Package},
52+
year = {2022},
53+
howpublished = {PsyArXiv},
54+
doi = {10.31234/osf.io/ty8de}
55+
}
56+
57+
@Manual{PASS2024,
58+
author = {{NCSS LLC}},
59+
title = {PASS 2024: Power Analysis \& Sample Size},
60+
year = {2024},
61+
url = {https://www.ncss.com/software/pass/},
62+
note = {Accessed: 15 Oct 2024}
63+
}
64+
65+
@Manual{nQuery2024,
66+
author = {{Statsols}},
67+
title = {nQuery: Design Efficient, Informative and Adaptive Trials},
68+
year = {2024},
69+
url = {https://www.statsols.com},
70+
note = {Accessed: 15 Oct 2024}
71+
}
72+
73+
@Manual{CHMP2010,
74+
author = {{Committee for Medicinal Products for Human Use (CHMP)}},
75+
title = {Guideline on the Investigation of Bioequivalence},
76+
year = {2010},
77+
url = {https://www.ema.europa.eu/en/documents/scientific-guideline/guideline-investigation-bioequivalence-rev1_en.pdf}
78+
}

0 commit comments

Comments
 (0)