Description Usage Arguments Details Value Author(s) Examples
adjust Zhong's 2-/3-stage design for over-/under-running
1 |
n1 |
sample size at stage 1. |
r1 |
inefficacy boundary at stage 1. |
s1 |
efficacy boundary at stage 1. if no early stopping for efficacy, |
n2 |
sample size at stage 2. |
alpha1 |
left-side overall type I error. |
alpha2 |
right-side overall type I error. |
beta |
type II error. |
pc |
a numeric vector of response rate. should be a vector with length 1 or 2. |
pe |
alternative hypothesis. |
... |
not used argument. |
To be added
An object of class "opt.design" is a list containing:
bdry |
rejection regions |
error |
true type 1/2 errors |
n |
sample size at each stage |
complete |
complete list of feasible designs |
alpha1 |
input; left-side type 1 error |
alpha2 |
input; right-side type 1 error |
beta |
input; type 2 error |
pc |
input; a vector of response rate. |
pe |
input; a vector of alternative response rate |
sf |
input; the alpha-spending function used |
stage |
input; two- or three- stage design is used |
Wenchuan Guo <wguo1017@gmail.com>, Jianan Hui <jiananhuistat@gmail.com>
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.