Description Usage Arguments Value References Examples
View source: R/sargent2stage_pval.R
This function calculates the p-value for a 2-stage PhII single arm Sargent design In the case of Sargent's 2-stage design, stage-wise ordering means that outcomes observed in the second stage of the trial are more extreme than outcomes observed in the first stage of the trial.
1 | sargent2stage_pval(n1, n2 = NULL, r1, k, p0)
|
n1 |
total number of patients in stage1 |
n2 |
total number of patients in stage2 |
r1 |
critical value for the first stage |
k |
overall observed responses (must be larger than r1) |
p0 |
true success probability under H0 |
p-value
Simon R. Optimal two-Stage Designs for Phase II Clinical Trials.
Control Clin Trials. 1989;10:1-10; Koyama T and Chen H (2008): Proper inference from Simon's two-stage designs.
Statistics in Medicine, 27(16):3145-3154.
1 | sargent2stage_pval(n1=15, n2=10, r1=1, k=6, p0=0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.