# binom.design: The design function for Simon (admissible) two-stage design In ph2mult: Phase II Clinical Trial Design for Multinomial Endpoints

## Description

Search criterion to find the Optimal, Minimax, Admissible and Maximized power design stopping boundary and corresponding sample size

## Usage

 ```1 2``` ```binom.design(type = c("minimax","optimal","maxpower","admissible"), p0, p1, signif.level=0.05, power.level=0.85, nmax=100, plot.out = FALSE) ```

## Arguments

 `type` the output types of design, choose from "minimax","optimal","admissible" and "maxpower" `p0` undesirable response rate. `p1` desirable response rate for treatment efficacy. `signif.level` threshold for the probability of declaring drug desirable under p0. `power.level` threshold for the probability of declaring drug desirable under p1. `nmax` maximum total sample size `plot.out` logical; if FALSE (default), do not output plot, otherwise, output a plot for design selection.

## Value

 `boundset` the boundaries set: r_1 and n_1 for first stage r and n for second stage

## References

Simon, R. (1989). Optimal two-stage designs for phase II clinical trials. Controlled clinical trials 10(1), 1-10.

Jung, S. H., Lee, T., Kim, K., & George, S. L. (2004). Admissible two-stage designs for phase II cancer clinical trials. Statistics in medicine 23(4), 561-569.

## Examples

 ```1 2``` ```binom.design(type = "admissible", p0 = 0.15, p1 = 0.3, signif.level = 0.05, power.level = 0.9, plot.out = TRUE) ```

### Example output

```             r1 n1  r  n   EN.p0.   PET.p0.      error     power
Optimal       5 30 17 82 45.05006 0.7105757 0.04609244 0.9007424
Admissible    5 31 16 76 45.28032 0.6826597 0.04694758 0.9037415
Admissible.1  6 36 15 70 45.86191 0.7099439 0.04654875 0.9000510
Minimax       6 42 14 64 51.80052 0.5545216 0.04845876 0.9002785
```

ph2mult documentation built on May 2, 2019, 1:46 p.m.