View source: R/op_power_cont.R
op_power_cont | R Documentation |
Computes power and other characteristics for group-sequential MAMS trial for continuous outcome.
op_power_cont(alpha, beta, p, frac, delta0, delta1, nsim, seed)
alpha |
numeric Type I error. |
beta |
numeric Type II error. |
p |
numeric Number of treatment arms. |
frac |
numeric Vector of fractions for information time at each look. |
delta0 |
numeric Standardized effect size in ineffective arm. |
delta1 |
numeric Standardized effect size in effective arm. |
nsim |
numeric Number of simulations. |
seed |
numeric Random seed number. |
A list of power, stage-wise probability of success, average sample size used per arm, stopping probability, probability of futility.
op_power_cont(alpha = 0.05,
beta = 0.1,
p = 4,
frac = c(1 / 5, 2 / 5, 3 / 5, 4 / 5, 1),
delta0 = 0.178,
delta1 = 0.545,
nsim = 12,
seed = 12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.