Skip to content

Commit 71c7d72

Browse files
Edited for English style: sampleSize_crossover.Rmd
1 parent ee58b8b commit 71c7d72

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

vignettes/sampleSize_crossover.Rmd

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

2525

26-
In the examples below, we illustrate the use of `SimTOST` for 2x2 cross-over trials. As a first step, we load the package.
26+
In the example below, we illustrate the use of `SimTOST` for 2x2 cross-over trials. As a first step, we load the package.
2727

2828
```{r, echo = T, message=F}
2929
library(SimTOST)
3030
```
3131

3232
# Bioequivalence Tests for AUC and Cmax
33-
In the first example, we consider Example 1 from the PASS Sample Size Software [Chapter 351](https://www.ncss.com/wp-content/themes/ncss/pdf/Procedures/PASS/Bioequivalence_Tests_for_AUC_and_Cmax_in_a_2x2_Cross-Over_Design-Log-Normal_Data.pdf). We aim to estimate the sample size required to demonstrate bioequivalence between a test and reference product for two pharmacokinetic parameters: the area under the curve (AUC) and the maximum concentration (Cmax). We assume a 2x2 cross-over design. The true ratio of the test to the reference product is assumed to be 1.02 for AUC and 1.03 for Cmax. Based on previous experiments, it is assumed that the standard deviation for $\log(AUC)$ = 0.25 and the standard deviation for $\log(Cmax = 0.3)$. The equivalence limits for the means ratio are set at 0.80 and 1.25.
33+
We consider Example 1 from the PASS Sample Size Software [Chapter 351](https://www.ncss.com/wp-content/themes/ncss/pdf/Procedures/PASS/Bioequivalence_Tests_for_AUC_and_Cmax_in_a_2x2_Cross-Over_Design-Log-Normal_Data.pdf). We aim to estimate the sample size required to demonstrate bioequivalence between a test and reference product for two pharmacokinetic parameters: the area under the curve (AUC) and the maximum concentration (Cmax). We assume a 2x2 cross-over design. The true ratio of the test to the reference product is assumed to be 1.02 for AUC and 1.03 for Cmax. Based on previous studies, it is assumed that the standard deviation for $\log(AUC)$ = 0.25 and the standard deviation for $\log(Cmax = 0.3)$. The equivalence limits for the ratio of means are set at 0.80 and 1.25.
3434

35-
The significance level is set to 5\%, and the sample size is calculated to achieve 80\% power. Additionally, the correlation between AUC and Cmax is assumed to be 0.25. A difference-of-means test on the log scale is employed to determine bioequivalence. In the PASS software, this scenario yielded a total sample size of $n=37$ patients. In **SimTOST**, we can estimate the sample size using the [sampleSize()](../reference/sampleSize.html) function.
35+
The significance level is set to 5\%, and the sample size is calculated to achieve 80\% power. Additionally, the correlation between AUC and Cmax is assumed to be 0.25. A difference-of-means test on the log scale is employed to determine bioequivalence. Using PASS software, this scenario yielded a total sample size of $n=37$ patients. In **SimTOST**, we can estimate the sample size using the [sampleSize()](../reference/sampleSize.html) function.
3636

3737
```{r, eval = TRUE}
3838
mu_r <- c(AUC = log(1.00), Cmax = log(1.00))
@@ -52,11 +52,5 @@ ss <- sampleSize(power = 0.8, alpha = 0.05,
5252
adjust = "no", ncores = 1, nsim = 10000, seed = 1234)
5353
ss
5454
```
55-
The total sample size is `r ss$response$n_total` subjects.
55+
The total sample size required is `r ss$response$n_total` subjects.
5656

57-
58-
59-
60-
61-
62-
# References

0 commit comments

Comments
 (0)