| des_gs_bern | R Documentation |
des_gs_bern() determines multi-stage group-sequential multi-arm
clinical trial designs assuming the primary outcome variable is Bernoulli
distributed. It computes required design components and returns information
on key operating characteristics.
des_gs_bern(
K = 2,
J = 2,
alpha = 0.025,
beta = 0.1,
pi0 = 0.3,
delta1 = 0.2,
delta0 = 0,
ratio = 1,
power = "marginal",
stopping = "simultaneous",
type = "variable",
fshape = "pocock",
eshape = "pocock",
ffix = -3,
efix = 3,
spacing = (1:J)/J,
integer = FALSE,
summary = FALSE
)
K |
A |
J |
A |
alpha |
A |
beta |
A |
pi0 |
A |
delta1 |
A |
delta0 |
A |
ratio |
A |
power |
A |
stopping |
A |
type |
A |
fshape |
A |
eshape |
A |
ffix |
A |
efix |
A |
spacing |
A |
integer |
A |
summary |
A |
A list, with additional class
"multiarm_des_gs_bern", containing the following elements:
A tibble in the slot $opchar summarising the
operating characteristics of the identified design.
A tibble in the slot $pmf_N summarising the
probability mass function of the random required sample size under key
scenarios.
A numeric vector in the slot $e
specifying e, the trial's
efficacy (upper) stopping boundaries.
A numeric vector in the slot $f
specifying f, the trial's
futility (lower) stopping boundaries.
A numeric in the slot $maxN specifying
max N, the trial's maximum required
sample size.
A numeric in the slot $n_factor, for internal use
in other functions.
A numeric in the slot $n1 specifying
n1, the total sample size
required in stage one of the trial.
A numeric in the slot $n10 specifying
n10, the sample size
required in the control arm in stage one of the trial.
Each of the input variables.
build_gs_bern, gui,
opchar_gs_bern, plot.multiarm_des_gs_bern,
sim_gs_bern.
# The design for the default parameters
des <- des_gs_bern()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.