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_crossover.Rmd
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: "Bioequivalence Tests in a 2x2 Cross-Over Design"
2
+
title: "Bioequivalence Tests for 2x2 Cross-Over Trial Designs with Log-Normal Data"
3
3
author: "Thomas Debray"
4
4
date: "`r format(Sys.time(), '%B %d, %Y')`"
5
5
output:
@@ -8,7 +8,7 @@ output:
8
8
fig_width: 9
9
9
fig_height: 6
10
10
vignette: >
11
-
%\VignetteIndexEntry{Bioequivalence Tests in a 2x2 Cross-Over Design}
11
+
%\VignetteIndexEntry{Bioequivalence Tests for 2x2 Cross-Over Trial Designs with Log-Normal Data}
12
12
%\VignetteEngine{knitr::rmarkdown}
13
13
%\VignetteEncoding{UTF-8}
14
14
bibliography: 'references.bib'
@@ -29,7 +29,7 @@ In the examples below, we illustrate the use of `SimTOST` for 2x2 cross-over tri
29
29
library(SimTOST)
30
30
```
31
31
32
-
# Bioequivalence Tests for AUC and Cmax (Log-Normal Data)
32
+
# Bioequivalence Tests for AUC and Cmax
33
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.
34
34
35
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.
Copy file name to clipboardExpand all lines: vignettes/sampleSize_parallel.Rmd
+9-10Lines changed: 9 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: "Bioequivalence Tests in a Parallel Trial Design"
2
+
title: "Bioequivalence Tests for Parallel Trial Designs with Log-Normal Data"
3
3
author: "Thomas Debray"
4
4
date: "`r format(Sys.time(), '%B %d, %Y')`"
5
5
output:
@@ -8,7 +8,7 @@ output:
8
8
fig_width: 9
9
9
fig_height: 6
10
10
vignette: >
11
-
%\VignetteIndexEntry{Bioequivalence Tests in a Parallel Trial Design}
11
+
%\VignetteIndexEntry{Bioequivalence Tests for Parallel Trial Designs with Log-Normal Data}
12
12
%\VignetteEngine{knitr::rmarkdown}
13
13
%\VignetteEncoding{UTF-8}
14
14
bibliography: 'references.bib'
@@ -22,8 +22,7 @@ options(rmarkdown.html_vignette.check_title = FALSE) #title of doc does not matc
22
22
doc.cache <- T #for cran; change to F
23
23
```
24
24
25
-
26
-
In the examples below, we demonstrate the use of **SimTOST** for parallel trial designs. To begin, we first load the package.
25
+
In the following examples, we demonstrate the use of **SimTOST** for parallel trial designs with data assumed to follow a normal distribution on the log scale. We start by loading the package.
27
26
28
27
```{r, echo = T, message=F}
29
28
library(SimTOST)
@@ -78,7 +77,7 @@ In the first approach, we calculate the required sample size for 80% power using
78
77
79
78
```{r, eval = TRUE}
80
79
ssMielke <- sampleSize_Mielke(power = 0.8, Nmax = 1000, m = 5, k = 5, rho = 0.8,
81
-
sigma = 0.3, true.diff = log(1.05),
80
+
sigma = 0.3, true.diff = log(1.05),
82
81
equi.tol = log(1.25), design = "parallel",
83
82
alpha = 0.05, adjust = "no", seed = 1234,
84
83
nsim = 10000)
@@ -90,11 +89,11 @@ For 80\% power, `r ssMielke["SS"]` subjects per sequence (`r ssMielke["SS"] * 2`
90
89
Alternatively, the sample size calculation can be performed using the [sampleSize()](../reference/sampleSize.html) function. This method assumes that effect sizes are normally distributed on the log scale and uses a difference-of-means test (`ctype = "DOM"`) with user-specified values for `mu_list`, `sigma_list`, and the correlation `rho`.
0 commit comments