Learn R Programming

GNGTools (version 1.0.0)

get.ts.ng.studyend.GNG: Get two-sample normal gamma study end GNG

Description

Get two-sample normal gamma study end GNG

Usage

get.ts.ng.studyend.GNG(
  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 = 1.5,
  s.c = 4,
  n.c = 40,
  xbar.t = 26,
  s.t = 4,
  n.t = 40,
  Delta.lrv = 1,
  Delta.tv = 1.5,
  tau.ng = 0.65,
  tau.lrv = 0.8,
  tau.tv = 0.1,
  n.MC = 1000
)

Value

A list is returned holding what is needed of data to achieve Go/No-Go

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

xbar.c

sample mean for control group

s.c

sample sd for control group

n.c

sample size for control group

xbar.t

sample mean for treatment group

s.t

sample sd for treatment group

n.t

sample size of treatment group

Delta.lrv

Min TPP

Delta.tv

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

Author

Greg Cicconetti

Examples

Run this code
my.ts.ng.studyend.GNG <- get.ts.ng.studyend.GNG()
my.ts.ng.studyend.GNG

Run the code above in your browser using DataLab