return.ss.bin.int.req: Return single sample binary predictive probability

View source: R/return.ss.bin.int.req.r

return.ss.bin.int.reqR Documentation

Return single sample binary predictive probability

Description

Return single sample binary predictive probability

Usage

return.ss.bin.int.req(
  a.trt = 1,
  b.trt = 1,
  Delta.lrv = 0.2,
  Delta.tv = 0.35,
  tau.tv = 0.1,
  tau.lrv = 0.8,
  tau.ng = 0.65,
  interim.n.t = c(0:39),
  final.n.t = 40,
  p.success = 0.5,
  x.ng = NULL,
  x.go = NULL,
  go.thresh = 0.8,
  ng.thresh = 0.8
)

Arguments

a.trt

prior alpha parameter

b.trt

prior beta parameter

Delta.lrv

TPP Lower Reference Value aka Min TPP

Delta.tv

TPP Target Value aka Base TPP

tau.tv

threshold associated with Base TPP

tau.lrv

threshold associated with Min TPP

tau.ng

threshold associated with No-Go

interim.n.t

number of trials at interim

final.n.t

number of trials at final

p.success

probability of success

x.ng

responses for go; leave null for standard rule

x.go

responses for go; leave null for standard rule

go.thresh

go threshold for predictive probability at interim

ng.thresh

no-go threshold for predictive probability at interim

Value

Return single sample binary predictive probability

Examples

holdit <- return.ss.bin.int.req()
head(holdit)

GNGTools documentation built on Dec. 16, 2022, 5:09 p.m.