Learn R Programming

GNGTools (version 1.0.0)

get.ts.bin.ssize.oc.df: Get two-sample binary sample size OC data.frame

Description

Get two-sample binary sample size OC data.frame

Usage

get.ts.bin.ssize.oc.df(
  a.con = 1,
  b.con = 1,
  a.trt = 1,
  b.trt = 1,
  dcurve.con = 0.12,
  Aratio = 2,
  SS.OC.N.LB = 40,
  SS.OC.N.UB = 160,
  Delta.lrv = 0.2,
  Delta.tv = 0.25,
  SS.OC.Delta = 0.25,
  tau.tv = 0.1,
  tau.lrv = 0.8,
  tau.ng = 0.65,
  npoints = 3
)

Value

returns a data.frame ready to create two-sample binary sample size operating characteristics curve

Arguments

a.con

prior alpha parameter for control group

b.con

prior beta parameter for control group

a.trt

prior alpha parameter for treatment group

b.trt

prior beta parameter for treatment group

dcurve.con

underlying rate for control group

Aratio

randomization ratio

SS.OC.N.LB

lower bound for sample size

SS.OC.N.UB

upper bound for sample size

Delta.lrv

TPP Lower Reference Value aka Min TPP

Delta.tv

TPP Target Value aka Base TPP

SS.OC.Delta

user's treatment effect

tau.tv

threshold associated with Base TPP

tau.lrv

threshold associated with Min TPP

tau.ng

threshold associated with No-Go

npoints

number of points

Author

Greg Cicconetti

Examples

Run this code
# \donttest{
my.ts.bin.ssize.oc.df <- get.ts.bin.ssize.oc.df()
# }

Run the code above in your browser using DataLab