Skip to content

Commit b0b2e7b

Browse files
Edited further
1 parent 4557a87 commit b0b2e7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vignettes/sampleSize_parallel_2A3E.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ N_ss$response
165165

166166
Incorporating the correlations between endpoints in sample size calculations for continuous-valued co-primary endpoints offers significant advantages [@sozu_sample_2015]. Adding more endpoints typically reduces power if such correlations are not accounted for. However, by including positive correlations in the calculations, power can be increased, and the required sample sizes may consequently be reduced.
167167

168-
For this analysis, we proceed with the same values used previously but now assume that a correlation exists between endpoints. Specifically, we set $\rho = 0.6$, assuming a common correlation across all endpoints.
168+
For this scenario, we proceed with the same values used previously but now assume that a correlation exists between endpoints. Specifically, we set $\rho = 0.6$, assuming a common correlation across all endpoints.
169169

170170
If correlations differ between endpoints, they can be specified individually using a correlation matrix (`cor_mat`), allowing for greater flexibility in the analysis.
171171

@@ -189,8 +189,8 @@ If correlations differ between endpoints, they can be specified individually usi
189189

190190
The required total sample size for this example is `r N_mult_corr$response$n_total`. This is `r N_ss$response$n_total - N_mult_corr$response$n_total` fewer patients than the scenario in which endpoints are assumed to be uncorrelated.
191191

192-
# Simultaneous Testing of Correlated Co-Primary Endpoints
193-
Imagine that we are interested in demonstrating equivalence for at least $k=1$ of the $m=3$ co-primary endpoints. Unlike the previous cases, in which equivalence was required for all endpoints, this scenario requires an adjustment for multiplicity (Bonferroni correction) to control the family-wise error rate.
192+
# Simultaneous Testing of Correlated Primary Endpoints
193+
Imagine that we are interested in demonstrating equivalence for at least $k=1$ of the $m=3$ primary endpoints. Unlike the previous scenarios, in which equivalence was required for all endpoints, this scenario requires an adjustment for multiplicity (Bonferroni correction) to control the family-wise error rate.
194194

195195
```{r}
196196
(N_mp_bon <- sampleSize(

0 commit comments

Comments
 (0)