calc_ck: Calculate Critval c Using Method 1

View source: R/calc_ck.R

calc_ckR Documentation

Calculate Critval c Using Method 1

Description

Calculate Critval c Using Method 1

calculate critval c based on the boundaries at interim.

Usage

calc_ck(
  uk,
  lk,
  Info.i,
  Info.d,
  Info.max = NULL,
  ImaxAnticipated = FALSE,
  rho_alpha = 2,
  alpha = 0.025,
  bindingFutility = TRUE
)

Arguments

uk

upper bounds for all analyses up to and including current stage k

lk

lower bounds for all analyses up to and including current stage k

Info.i

Information for all analyses up to and including current stage k

Info.d

Observed information at decision analysis k

Info.max

Maximum information

ImaxAnticipated

set to TRUE if c should be calculated according to Eq 15 in HJ because study was stopped early due to Imax reached

rho_alpha

value of rho used for type I error spending function

alpha

one-sided alpha level to be used for the study

bindingFutility

whether the futility stopping rule is binding


paulowhite/DelayedGSD documentation built on Nov. 1, 2023, 5:36 p.m.