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

View source: R/get.ss.ng.studyend.GNG.r

get.ss.ng.studyend.GNGR Documentation

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
)

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

Value

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

Examples

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

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