View source: R/calculate_MDE.R
calculate_MDE | R Documentation |
Calculate the minimal detectable effect (Hazard Ratio) given an observed number of events for a binary variable (based on Schoenfeld's formula)
calculate_MDE(number_of_events, alpha = 0.05, v = 0.5)
number_of_events |
Number of events |
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.