op_power_cont {gsMAMS} | R Documentation |
Provides operating characteristics of group sequential MAMS trial for continuous outcome
Description
Computes power and other characteristics for group-sequential MAMS trial for continuous outcome.
Usage
op_power_cont(alpha, beta, p, frac, delta0, delta1, nsim, seed)
Arguments
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. |
Value
A list of power, stage-wise probability of success, average sample size used per arm, stopping probability, probability of futility.
Examples
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)
[Package gsMAMS version 0.7.2 Index]