curtailment: Finds Binary Outcome Designs Using Stochastic Curtailment

Finds single- and two-arm designs using stochastic curtailment, as described by Law et al. (2022) <doi:10.1080/10543406.2021.2009498> and Law et al. (2021) <doi:10.1002/pst.2067> respectively. Designs can be single-stage or multi-stage. Non-stochastic curtailment is possible as a special case. Desired error-rates, maximum sample size and lower and upper anticipated response rates are inputted and suitable designs are returned with operating characteristics. Stopping boundaries and visualisations are also available. The package can find designs using other approaches, for example designs by Simon (1989) <doi:10.1016/0197-2456(89)90015-9> and Mander and Thompson (2010) <doi:10.1016/j.cct.2010.07.008>. Other features: compare and visualise designs using a weighted sum of expected sample sizes under the null and alternative hypotheses and maximum sample size; visualise any binary outcome design.

Version: 0.2.6
Imports: ggplot2, gridExtra, ggthemes, data.table, pkgcond, stats
Published: 2023-10-25
DOI: 10.32614/CRAN.package.curtailment
Author: Martin Law ORCID iD [aut, cre]
Maintainer: Martin Law <martin.law at mrc-bsu.cam.ac.uk>
BugReports: https://github.com/martinlaw/curtailment/issues
License: GPL (≥ 3)
URL: https://github.com/martinlaw/curtailment
NeedsCompilation: no
Materials: README NEWS
CRAN checks: curtailment results

Documentation:

Reference manual: curtailment.pdf

Downloads:

Package source: curtailment_0.2.6.tar.gz
Windows binaries: r-devel: curtailment_0.2.6.zip, r-release: curtailment_0.2.6.zip, r-oldrel: curtailment_0.2.6.zip
macOS binaries: r-release (arm64): curtailment_0.2.6.tgz, r-oldrel (arm64): curtailment_0.2.6.tgz, r-release (x86_64): curtailment_0.2.6.tgz, r-oldrel (x86_64): curtailment_0.2.6.tgz
Old sources: curtailment archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=curtailment to link to this page.