Get two-sample normal-gamma MC-based data.frame
get.ts.ng.mc.df(
mu.0.c = 0,
n.0.c = 10,
alpha.0.c = 0.25 * 4,
beta.0.c = 1 * 4,
xbar.c = seq(-3, 3, length.out = 20),
s.c = 3,
n.c = 25,
group.c = "Control",
mu.0.t = 0,
n.0.t = 10,
alpha.0.t = 0.25 * 4,
beta.0.t = 1 * 4,
xbar.t = seq(0, 6, length.out = 20),
s.t = 2,
n.t = 25,
group.t = "Treatment",
Delta.tv = 1.75,
Delta.lrv = 1.5,
tau.tv = 0.1,
tau.lrv = 0.8,
tau.ng = 0,
n.MC = 1000,
seed = 1234,
expand = TRUE
)
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 mean for control group
sample sd for control group
sample size 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 mean for treatment group
sample sd for treatment group
sample size for treatment group
group label for treatment group
TPP Target Value aka Base TPP
TPP Lower Reference Value aka Min TPP
threshold associated with Base TPP
threshold associated with Min TPP
threshold associated with No-Go
number of MC sampling
random seed
logical; if true expand.grid is employed; else data.frame is employed. Former provides all combinations
my.ts.ng.mc.df <- get.ts.ng.mc.df()
my.ts.ng.mc.df
Run the code above in your browser using DataLab