powered by
Get single sample normal-gamma treament OC data.frame
get.ss.ng.trt.oc.df( mu.0.t = 0, n.0.t = 10, alpha.0.t = 0.25, beta.0.t = 1, s.t = 2, n.t = 40, from.here = 0, to.here = 4, length.out = 1000, Delta.tv = 1.75, Delta.lrv = 1, tau.tv = 0.1, tau.lrv = 0.8, tau.ng = 0.65 )
Returns a data.frame ready to create a treatment effect OC curve
prior mean
prior effective sample size
prior alpha parameter
prior beta parameter
sample sd for treatment group
sample size for treatment group
treatment effect lower bound
treatment effect upper bound
number of points used to span (from.here, to.here)
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
Greg Cicconetti
my.ss.ng.trt.oc.df <- get.ss.ng.trt.oc.df() head(my.ss.ng.trt.oc.df)
Run the code above in your browser using DataLab