Description Usage Arguments Details Value Examples
Determines two-stage Gehan single-arm clinical trial designs for a single binary primary endpoint.
1 2 3 |
pi1 |
The (desirable) response probability used in computing the first stage sample size. |
beta1 |
The desired maximal type-II error-rate for stage one. |
gamma |
The desired standard error for the estimate of the response probability by the end of stage two. |
alpha_pi_hat |
The confidence level to use in the formula for computing the interim estimated of the response rate. |
method |
Should be either "A" or "B", signifying the method used for computing the interim response rate. |
f |
Should be either "G", "L", or "EL", signifying the function used for determining the second stage sample sizes. |
alpha |
The confidence level to use in the formula for computing the second stage sample sizes. |
pi0 |
The null response rate. Only used when |
find_D |
A logical variable indicating whether an optimal discrete conditional error function should be found. |
summary |
A logical variable indicating a summary of the function's progress should be printed to the console. |
des_gehan()
supports the determination of two-stage Gehan
single-arm clinical trial designs for a single binary primary endpoint.
A list of class "sa_des_gehan"
containing the following
elements
A list in the slot $des
containing details of the identified
optimal design.
A tibble in the slot $feasible
, consisting of the
identified designs which met the required operating characteristics.
Each of the input variables as specified.
1 2 | # The default design
gehan <- des_gehan()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.