View source: R/return.ss.bin.int.req.r
return.ss.bin.int.req | R Documentation |
Return single sample binary predictive probability
return.ss.bin.int.req( a.trt = 1, b.trt = 1, Delta.lrv = 0.2, Delta.tv = 0.35, tau.tv = 0.1, tau.lrv = 0.8, tau.ng = 0.65, interim.n.t = c(0:39), final.n.t = 40, p.success = 0.5, x.ng = NULL, x.go = NULL, go.thresh = 0.8, ng.thresh = 0.8 )
a.trt |
prior alpha parameter |
b.trt |
prior beta parameter |
Delta.lrv |
TPP Lower Reference Value aka Min TPP |
Delta.tv |
TPP Target Value aka Base TPP |
tau.tv |
threshold associated with Base TPP |
tau.lrv |
threshold associated with Min TPP |
tau.ng |
threshold associated with No-Go |
interim.n.t |
number of trials at interim |
final.n.t |
number of trials at final |
p.success |
probability of success |
x.ng |
responses for go; leave null for standard rule |
x.go |
responses for go; leave null for standard rule |
go.thresh |
go threshold for predictive probability at interim |
ng.thresh |
no-go threshold for predictive probability at interim |
Return single sample binary predictive probability
holdit <- return.ss.bin.int.req() head(holdit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.