View source: R/calculate_MDE_WinRatio.R
calculate_MDE_WinRatio | R Documentation |
Calculate the minimal detectable effect (Win Ratio) given the total sample size (Yu and Ganju, Statistics in Medicine 2021)
calculate_MDE_WinRatio(sample_size, P_tie, alpha = 0.05, v = 0.5)
sample_size |
Total Sample Size |
P_tie |
Proportion of ties |
alpha |
1-sided alpha (Type I error) |
v |
Proportion of treatment allocation (default is 1:1) |
Minimal detectable effect
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.