twostg | R Documentation |
Calculates the operating characteristics of single arm, two-stage phase II designs.
twostg(n1, n2, p1, r1, r2)
n1 |
Number of cases accrued in the first stage |
n2 |
Number of additional cases accrued in the second stage |
p1 |
Response probability |
r1 |
max number responses in first stage where drug would still be declared ineffective |
r2 |
max number of total responses for drug to be declared ineffective |
In the first stage, n1
cases are accrued and the study is stopped if
r1
or fewer responses are observed. If more than r1
responses
are observed then an additional n2
cases are accrued. The drug or
regimen will be declared ineffective if r2
or fewer total responses
are observed, and worth further study if more than r2
responses are
observed. Subjects are assumed to be independent with a common response
probability p1
.
twostg
returns a list of class twostg
, with components
inputs |
a vector containing the input values |
prob.inactive |
a
vector giving the total probability of |
print.twostg
prints a summary of the input data and the probability
of being declared ineffective overall and at the first stage.
pickwin
, rp21
, simon
,
bin1samp
twostg(14, 18, 0.1, 1, 4)
twostg(14, 18, 0.3, 1, 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.