Get two sample normal-gamma sample size OC data.frame
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
)
A data.frame is returned
prior mean for control group
prior effective sample size for control group
prior alpha parameter for control group
prior beta parameter for control group
sample sd for control group
group label for control group
prior mean for treatment group
prior effective sample size for treatment group
prior alpha parameter for treatment group
prior beta parameter for treatment group
sample sd for treatment group
group label for treatment group
randomization ratio
lower bound for OC curve
Upper bound for OC Curve
Base TPP
Min TPP
User's delta
threshold associated with Base TPP
threshold associated with Min TPP
threshold associated with No-Go
number of points
n for MC sampling
random seed
logical to use parallel programming
cluster
Total sample size
# \donttest{
my.ts.ng.ssize.oc.df <- get.ts.ng.ssize.oc.df()
my.ts.ng.ssize.oc.df
# }
Run the code above in your browser using DataLab