Learn R Programming

GNGTools (version 1.0.0)

return.ss.ng.data.req.df: Get single sample normal-gamma interim treatment effect OC data.frame

Description

Get single sample normal-gamma interim treatment effect OC data.frame

Usage

return.ss.ng.data.req.df(
  mu.0.t = 0,
  n.0.t = 1e-04,
  alpha.0.t = 0.25,
  beta.0.t = 1,
  xbar.t = 0.5,
  s.t = 2,
  interim.n.t = 10,
  final.n.t = 40,
  Delta.lrv = 1.25,
  Delta.tv = 1.75,
  tau.tv = 0.1,
  tau.lrv = 0.8,
  tau.ng = 0.65,
  xbar_ng = NULL,
  xbar_go = NULL,
  go.thresh = 0.8,
  ng.thresh = 0.8,
  include_nogo = TRUE
)

Value

returns data.frame to assist with creating interim oc curve in single sample normal-gamma case

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

xbar.t

sample mean at interim

s.t

treatment standard deviation

interim.n.t

interim sample sizes

final.n.t

final sample size

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

xbar_ng

Leave NULL to compute or provide user value

xbar_go

Leave NULL to compute or provide user value

go.thresh

interim go threshold

ng.thresh

interim no-go threshold

include_nogo

logical

Examples

Run this code
return.ss.ng.data.req.df()

Run the code above in your browser using DataLab