get.ts.bin.trt.oc.df: Get two-sample binary treatment OC data.frame

View source: R/get.ts.bin.trt.oc.df.r

get.ts.bin.trt.oc.dfR Documentation

Get two-sample binary treatment OC data.frame

Description

Get two-sample binary treatment OC data.frame

Usage

get.ts.bin.trt.oc.df(
  a.con = 1,
  b.con = 1,
  dcurve.con = 0.12,
  a.trt = 1,
  b.trt = 1,
  TE.OC.N = 80,
  Aratio = 2,
  TE.OC.Delta.LB = 0,
  TE.OC.Delta.UB = 1 - 0.12,
  Delta.tv = 0.35,
  Delta.lrv = 0.2,
  tau.tv = 0.01,
  tau.lrv = 0.8,
  tau.ng = 0.65
)

Arguments

a.con

prior alpha parameter for control group

b.con

prior beta parameter for control group

dcurve.con

Response rate for control group

a.trt

prior alpha parameter for treatment group

b.trt

prior beta parameter for treatment group

TE.OC.N

total sample size for OC

Aratio

Randomization ratio

TE.OC.Delta.LB

Lower bound for OC curve

TE.OC.Delta.UB

Upper bound for OC curve

Delta.tv

TPP Target Value aka Base TPP

Delta.lrv

TPP Lower Reference Value aka Min TPP

tau.tv

threshold associated with Base TPP

tau.lrv

threshold associated with Min TPP

tau.ng

threshold associated with No-Go

Value

A data.frame is returned that allows for creation of treatment effect operating characteristics curve

References

Sverdlov O, Ryeznik Y, Wu S. Exact Bayesian Inference Comparing Binomial Proportions, With Application to Proof-of-Concept Clinical Trials. Therapeutic Innovation & Regulatory Science. 2015;49(1):163-174. doi:10.1177/2168479014547420

Examples


my.ts.bin.trt.oc.df <- get.ts.bin.trt.oc.df()
head(my.ts.bin.trt.oc.df)


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