Learn R Programming

GNGTools (version 1.0.0)

get.ss.ng.trt.int.oc.df: Get single sample normal-gamma interim operating characteristic data.frame

Description

Get single sample normal-gamma interim operating characteristic data.frame

Usage

get.ss.ng.trt.int.oc.df(
  mu.0.t = 0,
  n.0.t = 1e-04,
  alpha.0.t = 0.25,
  beta.0.t = 1,
  Delta.lrv = 1.25,
  Delta.tv = 1.75,
  Delta.OC.LB = -5,
  Delta.OC.UB = 5,
  npoints = 10,
  n.MC = 1000,
  s.t = 2,
  tau.tv = 0.1,
  tau.lrv = 0.8,
  tau.ng = 0.65,
  interim.n.t = c(10, 20, 30),
  final.n.t = 40,
  go.thresh = 0.8,
  ng.thresh = 0.8,
  include_nogo = TRUE
)

Value

A data.frame is returned.

Arguments

mu.0.t

prior mean

n.0.t

prior effective sample size

alpha.0.t

prior alpha parameter

beta.0.t

prior beta parameter

Delta.lrv

TPP Lower Reference Value aka Min TPP

Delta.tv

TPP Target Value aka Base TPP

Delta.OC.LB

OC Lower bound

Delta.OC.UB

OC Uppder bound

npoints

number of points to span

n.MC

number of trials at each point

s.t

standard deviation

tau.tv

threshold associated with Base TPP

tau.lrv

threshold associated with Min TPP

tau.ng

threshold associated with No-Go

interim.n.t

interim sample sizes

final.n.t

final sample size

go.thresh

interim go threshold

ng.thresh

interim no-go threshold

include_nogo

logical

Examples

Run this code
holdit <- get.ss.ng.trt.int.oc.df(n.MC=100, npoints=3)
head(holdit)

Run the code above in your browser using DataLab