Description Usage Arguments Value Author(s) References
This function finds Simon designs for a given set of design parameters. It returns not only the optimal and minimax design realisations, but all design realisations that could be considered "best" in terms of expected sample size under p=p0 (EssH0), expected sample size under p=p1 (Ess), maximum sample size (n) or any weighted combination of these three optimality criteria.
1 | findSimonDesigns(nmin, nmax, p0, p1, alpha, power, benefit = FALSE)
|
nmin |
Minimum permitted sample size. Should be a multiple of block size or number of stages. |
nmax |
Maximum permitted sample size. Should be a multiple of block size or number of stages. |
p0 |
Probability for which to control the type-I error-rate |
p1 |
Probability for which to control the power |
alpha |
Significance level |
power |
Required power (1-beta) |
benefit |
Allow the trial to end for a go decision and reject the null hypothesis at the interim analysis (i.e., the design of Mander and Thompson) |
A list of class "SCsinglearm_simon" containing two data frames. The first data frame, $input, has a single row and contains all the inputted values. The second data frame, $all.des, contains one row for each design realisation, and contains the details of each design, including sample size, stopping boundaries and operating characteristics. To see a diagram of any obtained design realisation, simply call the function drawDiagram with this output as the only argument.
Martin Law, martin.law@mrc-bsu.cam.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.