Skip to content

Commit c4b35a3

Browse files
Edited for English style and clarity
1 parent a5279e7 commit c4b35a3

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

vignettes/sampleSize_parallel_3A3E.Rmd

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ doc.cache <- T #for cran; change to F
2323
```
2424

2525
# Introduction
26-
Similar to the example presented in [Bioequivalence Tests for Parallel Trial Designs: 2 Arms, 3 Endpoints](sampleSize_parallel_2A3E.html), where equivalence across multiple endpoints was assessed, we now extend the framework to trials involving two reference products. This scenario arises when regulators from different regions require comparisons with their locally sourced reference biosimilars.
26+
Similar to the example presented in [Bioequivalence Tests for Parallel Trial Designs: 2 Arms, 3 Endpoints](sampleSize_parallel_2A3E.html), where equivalence across multiple endpoints was assessed, this vignette extends the framework to trials involving two reference products. This scenario arises when regulators from different regions require comparisons with their locally sourced reference biosimilars.
2727

28-
In many studies, it is necessary to evaluate equivalence across multiple primary variables. For example, the European Medicines Agency (EMA) recommends demonstrating equivalence for both the Area Under the Curve (AUC) and the maximum concentration (Cmax) when assessing pharmacokinetic properties. However, in this case, we evaluate equivalence across three treatment arms, including a test biosimilar and two reference products, each sourced from a different regulatory region.
28+
In many studies, the aim is to evaluate equivalence across multiple primary variables. For example, the European Medicines Agency (EMA) recommends demonstrating equivalence for both the Area Under the Curve (AUC) and the maximum concentration (Cmax) when endpoints. In this scenario, we additionally evaluate equivalence across three treatment arms, including a test biosimilar and two reference products, each sourced from a different regulatory region.
2929

30-
This vignette demonstrates advanced techniques for calculating sample size in such trials, where both multiple endpoints and multiple reference products are considered. As an illustrative example, we use data from the phase-1 trial [NCT01922336](https://clinicaltrials.gov/study/NCT01922336#study-overview), which assessed pharmacokinetics following a single dose of SB2, its EU-sourced reference product (EU-INF), and its US-sourced reference product (US-INF) [@shin_randomized_2015].
30+
This vignette demonstrates advanced techniques for calculating sample size in such trials, in which multiple endpoints and multiple reference products are considered. As an illustrative example, we use data from the phase 1 trial [NCT01922336](https://clinicaltrials.gov/study/NCT01922336#study-overview), which assessed pharmacokinetic (PK) endpoints following a single dose of SB2, its EU-sourced reference product (EU-INF), and its US-sourced reference product (US-INF) [@shin_randomized_2015].
3131

3232
```{r inputdata, echo=FALSE}
3333
@@ -53,12 +53,12 @@ As in [this vignette](sampleSize_parallel_2A3E.html), the following inputs are r
5353
* Arms to be compared within each comparator (`list_comparator`),
5454
* Endpoints to be compared within each comparator (`list_y_comparator`).
5555

56-
In this example, we simultaneously compare each biosimilar:
56+
In this example, we simultaneously compare the trial drug (SB2) to each reference biosimilar:
5757

58-
* SB2 vs. EU Remicade
59-
* SB2 vs. US Remicade
58+
* SB2 vs. EU-INF
59+
* SB2 vs. US-INF
6060

61-
Below is the R code to define the required data:
61+
We define the required list objects:
6262

6363
```{r}
6464
# Mean values for each endpoint and arm
@@ -89,7 +89,7 @@ In this example, we aim to demonstrate:
8989
* Bioequivalence of SB2 vs. EU-INF for AUCinf and Cmax, and
9090
* Bioequivalence of SB2 vs. US-INF for AUClast and Cmax.
9191

92-
The comparisons can be specified as follows:
92+
The comparisons are specified as follows:
9393

9494
```{r}
9595
# Arms to be compared
@@ -107,7 +107,7 @@ list_y_comparator <- list(
107107

108108
For all endpoints, bioequivalence is established if the 90% confidence intervals for the ratios of the geometric means fall within the equivalence range of 80.00% to 125.00%.
109109

110-
Below is the R code to define the equivalence boundaries for each comparison:
110+
Below we define the equivalence boundaries for each comparison:
111111

112112
```{r}
113113
# Define comparators and equivalence boundaries
@@ -127,9 +127,9 @@ list_uequi.tol <- list(
127127
)
128128
```
129129

130-
Here, the `list_comparator` parameter specifies the arms being compared, while `list_lequi.tol` and `list_uequi.tol` define the lower and upper equivalence boundaries for the endpoints under consideration.
130+
Here, the `list_comparator` parameter specifies the arms being compared, while `list_lequi.tol` and `list_uequi.tol` define the lower and upper equivalence boundaries for the two endpoints.
131131

132-
To calculate the required sample size for testing equivalence under the specified conditions, we use the [sampleSize()](../reference/sampleSize.html) function from the SimTOST package. This function computes the total sample size needed to achieve the target power while ensuring equivalence criteria are met.
132+
To calculate the required sample size for testing equivalence under the specified conditions, we use the [sampleSize()](../reference/sampleSize.html) function. This function computes the total sample size needed to achieve the target power while ensuring equivalence criteria are met.
133133

134134
```{r}
135135
library(SimTOST)
@@ -151,22 +151,22 @@ library(SimTOST)
151151
seed = 1234)) # Random seed for reproducibility
152152
```
153153

154-
We find a total sample size of `r N_ss$response$n_total` patients (or `r N_ss$response$n_total/3` per arm) are required to demonstrate equivalence.
154+
A total sample size of `r N_ss$response$n_total` patients (or `r N_ss$response$n_total/3` per arm) is required to demonstrate equivalence.
155155

156156
# Simultaneous Testing of Independent Primary Endpoints
157157

158158
## Equivalence for At Least 2 of the 3 Endpoints with Bonferroni Adjustment
159159
In this example, we aim to establish equivalence for at least two out of three primary endpoints while accounting for multiplicity using the Bonferroni adjustment. The following assumptions are made:
160160

161-
* Equality of Variances: Variances are assumed to be equal across groups (`vareq = TRUE`).
162-
* Testing Parameter: The Ratio of Means (ROM) is used as the testing parameter (`ctype = "ROM"`).
163-
* Design: A parallel trial design is assumed (`dtype = "parallel"`).
164-
* Distribution: Endpoint data follows a log-normal distribution (`lognorm = TRUE`).
165-
* Correlation: Endpoints are assumed to be independent, with no correlation between them (default `rho = 0`).
166-
* Multiplicity Adjustment: The Bonferroni correction is applied to control for Type I error (`adjust = "bon"`).
167-
* Equivalence Criterion: Equivalence is required for at least two of the three endpoints (`k = 2`).
161+
* Equality of Variances: variances are assumed to be equal across groups (`vareq = TRUE`).
162+
* Testing Parameter: the Ratio of Means (ROM) is used as the testing parameter (`ctype = "ROM"`).
163+
* Design: a parallel trial design is assumed (`dtype = "parallel"`).
164+
* Distribution: endpoint data follows a log-normal distribution (`lognorm = TRUE`).
165+
* Correlation: endpoints are assumed to be independent, with no correlation between them (default `rho = 0`).
166+
* Multiplicity Adjustment: the Bonferroni correction is applied to control for Type I error (`adjust = "bon"`).
167+
* Equivalence Criterion: equivalence is required for at least two of the three endpoints (`k = 2`).
168168

169-
The comparisons and equivalence boundaries can be defined as follows:
169+
The comparisons and equivalence boundaries are defined as follows:
170170

171171
```{r}
172172
# Endpoints to be compared for each comparator
@@ -211,9 +211,9 @@ Finally, we calculate the required sample size:
211211
```
212212

213213
## Unequal Allocation Rates Across Arms
214-
In this example, we build upon the previous setting but introduce unequal allocation rates across the treatment arms. Specifically, we require that the number of patients in the new treatment arm is double the number in each of the reference arms.
214+
In this example, we build upon the previous scenario but introduce unequal allocation rates across treatment arms. Specifically, we require that the number of patients in the new treatment arm is double the number in each of the reference arms.
215215

216-
This can be achieved by specifying the treatment allocation rate parameter (`TAR`). The rates are provided as a vector, for example: `TAR = c(2, 1, 1)`. This ensures that for every two patients assigned to the new treatment arm, one patient is assigned to each reference arm.
216+
This can be achieved by specifying the treatment allocation rate parameter (`TAR`). Rates are provided as a vector, for example: `TAR = c(2, 1, 1)`. This ensures that for every two patients assigned to the new treatment arm, one patient is assigned to each reference arm.
217217

218218
```{r}
219219
(N_mp2 <- sampleSize(power = 0.9, # Target power
@@ -236,10 +236,10 @@ This can be achieved by specifying the treatment allocation rate parameter (`TAR
236236
seed = 1234)) # Random seed for reproducibility
237237
```
238238

239-
Results from the simulation indicate that `r N_mp2$response$n_SB2` patients are required for SB2 the active treatment arm (SB2), and `r N_mp2$response$n_EUINF` patients are required for each reference arm. The total sample size required is `r N_mp2$response$n_total`, which is larger compared to the trial with an equal allocation ratio, where the total sample size was `r N_mp$response$n_total`.
239+
Results indicate that `r N_mp2$response$n_SB2` patients are required for the active treatment arm (SB2), and `r N_mp2$response$n_EUINF` patients are required for each reference arm. The total sample size required is `r N_mp2$response$n_total`, which is larger compared to the trial with an equal allocation ratio, for which the total sample size was `r N_mp$response$n_total`.
240240

241-
## Accounting for Dropouts
242-
In the examples above, the sample size calculations assumed that all patients enrolled in the trial would complete it. However, in practice, a certain percentage of participants typically drop out, which can impact the required sample size. To account for this, we consider a 20% dropout rate across all treatment arms in this example.
241+
## Accounting for Participant Dropout
242+
In the examples above, the sample size calculations assumed that all enrolled patients complete the trial. However, in practice, a certain percentage of participants drop out, which can impact the required sample size. To account for this, we consider a 20% dropout rate across all treatment arms.
243243

244244
```{r}
245245
(N_mp3 <- sampleSize(power = 0.9, # Target power
@@ -263,6 +263,6 @@ In the examples above, the sample size calculations assumed that all patients en
263263
seed = 1234)) # Random seed for reproducibility
264264
```
265265

266-
Based on the output above, considering a 20% dropout rate, the total sample size required is `r N_mp3$response$n_total`.
266+
Considering a 20% dropout rate, the total sample size required is `r N_mp3$response$n_total`.
267267

268268
# References

0 commit comments

Comments
 (0)