You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vignettes/sampleSize_parallel_3A1E.Rmd
+64-1Lines changed: 64 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,70 @@ AUCinf_1comp <- sampleSize(
101
101
AUCinf_1comp
102
102
```
103
103
104
-
Based on the table, the required sample size for this trial setting is `r AUCinf_1comp$response$n_total` or `r AUCinf_1comp$response$n_SB2`for each arm.
104
+
Results from the simulations indicate that the required sample size for this trial setting is `r AUCinf_1comp$response$n_total` or `r AUCinf_1comp$response$n_SB2`for each arm.
105
105
106
106
107
+
# Sample Size Calculation for AUCinf: Equivalence to US Remicade and EU Remicade
108
+
109
+
In this section, we calculate the sample size required to demonstrate equivalence with both the European reference product (RemEU) and the US reference product (RemUS). This scenario involves a more complex comparison, as we must simultaneously establish equivalence with two distinct reference arms.
* The function [sampleSize()](../reference/sampleSize.html) adjusts the alpha level for multiple comparisons within a single comparator (e.g., comparisons involving only RemEU or RemUSA).
123
+
* Current Limitation: The function does not yet account for alpha adjustments between comparators when simultaneously comparing SB2 with both reference products (RemEU and RemUSA). Thus, the null hypothesis is rejected if any ratio of means (ROM) falls outside the equivalence boundaries. Future program updates aim to address this limitation and include proper alpha adjustments for comparisons between comparators.
124
+
125
+
## Implementation Details
126
+
127
+
We proceed similarly to the initial example, modifying the `list_comparator` to include multiple comparators. In this case, the list contains two elements specifying the simultaneous comparison between SB2 vs. RemEU and SB2 vs. RemUSA. This approach ensures that the equivalence assessment accounts for both reference products.
We then pass these values into the [sampleSize()](../reference/sampleSize.html) function to calculate the required sample size for multiple comparisons.
Based on the output table, the required total sample size for this trial setting is `r AUCinf_2comp$response$n_total`. Notably, an additional `r AUCinf_2comp$response$n_SB2 - AUCinf_1comp$response$n_SB2` patients per arm are required to achieve equivalence with both reference products (RemEU and RemUSA), compared to the scenario where equivalence is required with only one reference arm (`r AUCinf_1comp$response$n_SB2`).
161
+
162
+
This demonstrates the added complexity and sample size requirements when multiple comparators are involved in an equivalence trial.
163
+
164
+
The package includes the [plot()](../reference/plot.simss.html) function, which is designed to visualize the relationship between sample size (x-axis) and achieved power (y-axis) for all combinations of outcomes and comparators. In this example, we will use the [plot()](../reference/plot.simss.html) function to generate a plot for the `AUCinf_2comp` object.
0 commit comments