design_ord | R Documentation |
This function generates the design parameters of a clinical trial for ordinal outcome.
design_ord(alpha, beta, k, prob, or0, or, frac)
alpha |
numeric Type I error. |
beta |
numeric Type II error. |
k |
numeric Number of treatment arms. |
prob |
numeric Probability of ordinal outcomes in control group. |
or0 |
numeric Odds ratio of ineffective treatment group vs control. |
or |
numeric Odds ratio of effective treatment group vs control. |
frac |
numeric Vector of fractions for information time at each look. |
List of cumulative sample size for each stage of treatment and control groups along with maximum total sample size of the trial. It also provides efficacy and futility boundaries of the trial.
design_ord(alpha = 0.05,
beta = 0.1,
k = 4,
prob = c(0.075, 0.182, 0.319, 0.243, 0.015, 0.166),
or = 3.06,
or0 = 1.32,
frac = c(1 / 2, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.