op_fwer_cont {gsMAMS}R Documentation

Provides operating characteristics of group sequential MAMS trial for continuous outcome under null hypothesis

Description

Computes FWER and other characteristics for group-sequential MAMS trial for continuous outcome.

Usage

op_fwer_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 FWER, stage-wise type I error, average sample size used per arm, stopping probability, probability of futility.

Examples

op_fwer_cont(alpha=0.05, beta=0.1, p=2, frac=c(0.5, 1), delta0=0.178, delta1=0.545, nsim=15,seed=1)

[Package gsMAMS version 0.7.2 Index]