Learn R Programming

GNGTools (version 1.0.0)

get.ss.ng.studyend.GNG: Get single sample normal-gamma study-end GNG

Description

Get single sample normal-gamma study end GNG

Usage

get.ss.ng.studyend.GNG(
  mu.0.t = 0,
  alpha.0.t = 0.25,
  beta.0.t = 1,
  n.0.t = 10,
  xbar.t = 1.97,
  s.t = 2,
  n.t = 20,
  Delta.lrv = 1.25,
  Delta.tv = 1.75,
  tau.tv = 0.1,
  tau.lrv = 0.8,
  tau.ng = 0.65
)

Value

returns a list of data.frames holding what is needed from data for study-end Go/No-Go

Arguments

mu.0.t

prior mean for treatment group

alpha.0.t

prior alpha parameter for treatment group

beta.0.t

prior beta parameter for treatment group

n.0.t

prior effective sample size for treatment group

xbar.t

sample mean for treatment group

s.t

sample sd for treatment group

n.t

sample size for treatment group

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

Examples

Run this code
my.ss.mg.studyend.GNG <- get.ss.ng.studyend.GNG(mu.0.t = 0, alpha.0.t=.25, beta.0.t = 1,
n.0.t = 10, xbar.t = 1.97, s.t = 2, n.t = 20, Delta.lrv = 1.25, Delta.tv = 1.75,
tau.tv=.1, tau.lrv=.8, tau.ng=.65)
my.ss.mg.studyend.GNG

Run the code above in your browser using DataLab