op_fwer_surv {gsMAMS}R Documentation

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

Description

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

Usage

op_fwer_surv(
  m0,
  alpha,
  beta,
  p,
  frac,
  hr0,
  hr1,
  nsim,
  ta,
  tf,
  kappa,
  eta,
  seed
)

Arguments

m0

numeric Median survival time in control group.

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.

hr0

numeric Hazard ratio of ineffective treatment group vs control.

hr1

numeric Hazard ratio of effective treatment group vs control.

nsim

numeric Number of simulations.

ta

numeric Accrual time.

tf

numeric Follow-up time.

kappa

numeric Shape parameter (Kappa=1 for exponential distribution).

eta

numeric Rate of loss to follow-up.

seed

numeric Random seed number.

Value

A list of FWER, stage-wise type I error, stopping probability, probability of futility, average number of events happened per arm, average duration of trial.

Examples

op_fwer_surv(m0 = 20,
             alpha = 0.05,
             beta = 0.1,
             p = 4,
             frac = c(1 / 2, 1),
             hr0 = 1,
             hr1 = 0.75,
             nsim = 12,
             ta = 40,
             tf = 20,
             kappa = 1,
             eta = 0,
             seed = 12)

[Package gsMAMS version 0.7.2 Index]