simon | R Documentation |
For studies with binary endpoints, searches for two-stage sampling designs that minimize the expected number of subjects under the null, subject to various constraints.
simon(
p0,
pa,
n1max = 0,
ntmax = 1e+05,
alpha = 0.1,
beta = 0.1,
del = 1,
minimax = FALSE
)
p0 |
Null hypothesis response probability |
pa |
Alternative hypothesis response probability |
n1max |
The maximum number of subjects entered during the first stage.
Ignored if |
ntmax |
The maximum total number of subjects. |
alpha |
Type I error rate |
beta |
Type II error rate |
del |
Searches for designs where the expected number of subjects under
the null is within |
minimax |
If |
For two-stage phase II designs for studies with binary endpoints, searches
over possible two-stage sampling designs to find those that minimize the
expected \# of subjects, subject to specified constraints. If the only
constraints are the type I and type II errors of the tests, then the designs
are the optimal designs of Simon (1989). If a positive value of
n1max
is specified, then only designs with <= n1max
subjects
in the first stage are considered. Also, only designs with <= ntmax
total subjects are considered. Setting ntmax
to a large value (as in
the default), effectively allows the search to consider all possible
designs.
If minimax=TRUE
, then the minimax designs of Simon (1989), which
minimize the maximum sample size, are considered. As there are typically
multiple designs with the same minimum max sample size, the program still
selects among the designs in this class based on the the expected sample
size under the null.
Designs which optimize one particular criterion sometimes have other
undesirable properties. By specifying a value of del > 0
, alternate
designs meeting the criteria that have expected sample sizes under the null
within del
of the optimal design will also be retained.
Returns a list with components
designs |
A matrix with a row
giving a summary of each design meeting the criteria. The columns are
|
call |
The call to |
description |
A text string giving a brief description of the columns
in |
Simon R (1989). Optimal two-stage designs for phase II clinical trials. Controlled Clinical Trials 10:1-10.
twostg
; bin1samp
; pickwin
;
rp21
simon(0.05, 0.20)
simon(0.05, 0.20, minimax = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.