Learn R Programming

GNGTools (version 1.0.0)

get.ss.ng.trt.oc.df: Get single sample normal-gamma treament OC data.frame

Description

Get single sample normal-gamma treament OC data.frame

Usage

get.ss.ng.trt.oc.df(
  mu.0.t = 0,
  n.0.t = 10,
  alpha.0.t = 0.25,
  beta.0.t = 1,
  s.t = 2,
  n.t = 40,
  from.here = 0,
  to.here = 4,
  length.out = 1000,
  Delta.tv = 1.75,
  Delta.lrv = 1,
  tau.tv = 0.1,
  tau.lrv = 0.8,
  tau.ng = 0.65
)

Value

Returns a data.frame ready to create a treatment effect OC curve

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

s.t

sample sd for treatment group

n.t

sample size for treatment group

from.here

treatment effect lower bound

to.here

treatment effect upper bound

length.out

number of points used to span (from.here, to.here)

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

Author

Greg Cicconetti

Examples

Run this code
my.ss.ng.trt.oc.df <- get.ss.ng.trt.oc.df()
head(my.ss.ng.trt.oc.df)

Run the code above in your browser using DataLab