design_ord {gsMAMS} | R Documentation |
Design the clinical trial for ordinal outcome
Description
This function generates the design parameters of a clinical trial for ordinal outcome.
Usage
design_ord(alpha, beta, k, prob, or0, or, frac)
Arguments
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. |
Value
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.
Examples
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))
[Package gsMAMS version 0.7.2 Index]