Description Usage Arguments Value References See Also Examples
Calculates the operating characteristics of a two-stage boundary based on the R function oc.twostage.bdry.
1 | oc.gentwostage.bdry(pu, pa, r1, n1, r, n)
|
pu |
unacceptable response rate |
pa |
response rate that is desirable |
r1 |
first stage threshold to declare treatment undesirable |
n1 |
first stage sample size |
r |
overall threshold to declare treatment undesirable |
n |
total sample size |
oc.gentwostage.bdry returns the type I and II error rates as well as the probability of early temination and expected sample size under pu for a specific boundary.
Kim S and Wong WK. Phase II Two-Stage Single-Arm Clinical Trials for Testing Toxicity Levels. Commun Stat Appl Methods. 2019 Mar;26(2):163-173. https://www.ncbi.nlm.nih.gov/pubmed/31106162.
1 2 3 4 5 | # Optimal two-stage safety design with pu (p0) = 0.33 vs. pa (p1) = 0.20
oc.gentwostage.bdry(0.33, 0.20, 8, 26, 22, 85)
# Optimal two-stage efficacy design with pu (p0) = 0.67 vs. pa (p1) = 0.80
oc.gentwostage.bdry(0.67, 0.80, 18, 26, 63, 85)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.