get.ts.ng.ssize.oc.df: Get two sample normal-gamma sample size OC data.frame

View source: R/get.ts.ng.ssize.oc.df.r

get.ts.ng.ssize.oc.dfR Documentation

Get two sample normal-gamma sample size OC data.frame

Description

Get two sample normal-gamma sample size OC data.frame

Usage

get.ts.ng.ssize.oc.df(
  mu.0.c = 0,
  n.0.c = 1e-04,
  alpha.0.c = 0.25,
  beta.0.c = 1,
  s.c = 4,
  group.c = "Control",
  mu.0.t = 0,
  n.0.t = 1e-04,
  alpha.0.t = 0.25,
  beta.0.t = 1,
  s.t = 4,
  group.t = "Treatment",
  ARatio = 1,
  SS.OC.N.LB = 20,
  SS.OC.N.UB = 200,
  Delta.tv = 1.5,
  Delta.lrv = 1,
  Delta.user = 1.4,
  tau.tv = 0,
  tau.lrv = 0.8,
  tau.ng = 0.75,
  npoints = 1,
  n.MC = 500,
  seed = 1234,
  goparallel = FALSE,
  cl = cl
)

Arguments

mu.0.c

prior mean for control group

n.0.c

prior effective sample size for control group

alpha.0.c

prior alpha parameter for control group

beta.0.c

prior beta parameter for control group

s.c

sample sd for control group

group.c

group label for control group

mu.0.t

prior mean for treatment group

n.0.t

prior effective sample size for treatment group

alpha.0.t

prior alpha parameter for treatment group

beta.0.t

prior beta parameter for treatment group

s.t

sample sd for treatment group

group.t

group label for treatment group

ARatio

randomization ratio

SS.OC.N.LB

lower bound for OC curve

SS.OC.N.UB

Upper bound for OC Curve

Delta.tv

Base TPP

Delta.lrv

Min TPP

Delta.user

User's delta

tau.tv

threshold associated with Base TPP

tau.lrv

threshold associated with Min TPP

tau.ng

threshold associated with No-Go

npoints

number of points

n.MC

n for MC sampling

seed

random seed

goparallel

logical to use parallel programming

cl

cluster

N

Total sample size

Value

A data.frame is returned

Examples


my.ts.ng.ssize.oc.df <- get.ts.ng.ssize.oc.df()
my.ts.ng.ssize.oc.df


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