| simon_pr | R Documentation |
Probabilities of frail
(i.e., early termination) and success (to reject H_0)
of one Simon's two-stage design, at given true response rate(s).
simon_pr(prob, object, ...)
## S3 method for class 'ph2simon'
simon_pr(prob, object, ...)
## S3 method for class 'ph2simon4'
simon_pr(
prob,
object,
r1 = object@r1,
n1 = object@n1,
r = object@r,
n = object@n,
...
)
prob |
double scalar or vector,
true response rate(s) |
object |
a ph2simon or ph2simon4 object |
... |
parameters of function |
r1, n1, r, n |
(optional) integer scalars, see ph2simon4. |
Function simon_pr() returns simon_pr object.
frailnumeric scalar or vector,
probabilities of frail (i.e., early termination)
at given true response rate(s) p.
rejectnumeric scalar or vector,
probabilities of success (to reject H_0)
at given true response rate(s) p.
eNnumeric scalar or vector,
expected sample size(s) \textrm{E}(n)
at given true response rate(s) p.
probdouble scalar or vector, true response rate(s) p
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.