return.ts.ng.studyend.GNG.hm.df: Return two-sample normal-gamma study end GNG heatmap...

View source: R/return.ts.ng.studyend.GNG.hm.df.r

return.ts.ng.studyend.GNG.hm.dfR Documentation

Return two-sample normal-gamma study end GNG heatmap data.frame

Description

Return two-sample normal-gamma study end GNG heatmap data.frame

Usage

return.ts.ng.studyend.GNG.hm.df(
  mu.0.c = 0,
  alpha.0.c = 0.25,
  beta.0.c = 1,
  n.0.c = 1,
  mu.0.t = 0,
  alpha.0.t = 0.25,
  beta.0.t = 1,
  n.0.t = 1,
  xbar.c.low = -1,
  xbar.c.high = 1,
  s.c = 4,
  n.c = 40,
  s.t = 4,
  n.t = 40,
  npoints = 15,
  Delta.lrv = 1,
  Delta.tv = 1.5,
  tau.ng = 0.65,
  tau.lrv = 0.8,
  tau.tv = 0.1,
  n.MC = 1000,
  x_ng = NULL,
  x_go = NULL
)

Arguments

mu.0.c

prior mean for control group

alpha.0.c

prior alpha parameter for control group

beta.0.c

prior beta parameter for control group

n.0.c

prior effective sample size parameter for control group

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 parameter for treatment group

xbar.c.low

lower bound for control group sample mean grid

xbar.c.high

upper bound for control group sample mean grid

s.c

control standard deviation assumed

n.c

control sample size

s.t

treatment standard deviation assumed

n.t

treatment sample size

npoints

number of points to use in simulation

Delta.lrv

TPP Lower Reference Value aka Min TPP

Delta.tv

TPP Target Value aka Base TPP

tau.ng

threshold associated with No-Go

tau.lrv

threshold associated with Min TPP

tau.tv

threshold associated with Base TPP

n.MC

n for MC sampling

x_ng

xbar needed for no-go; leave null for standard rule

x_go

xbar needed for go; leave null for standard rule

Value

A data.frame is returned

Author(s)

Greg Cicconetti

Examples


my.ts.ng.studyend.GNG.hm.df <- return.ts.ng.studyend.GNG.hm.df()
head(my.ts.ng.studyend.GNG.hm.df)


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