CRAN/E | curtailment

curtailment

Finds Binary Outcome Designs Using Stochastic Curtailment

Installation

About

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.

github.com/martinlaw/curtailment
Bug report File report

Key Metrics

Version 0.2.6
Published 2023-10-25 177 days ago
Needs compilation? no
License GPL (≥ 3)
CRAN checks curtailment results

Downloads

Yesterday 21 0%
Last 7 days 49 -11%
Last 30 days 267 -3%
Last 90 days 1.037 +4%
Last 365 days 3.657 +5%

Maintainer

Maintainer

Martin Law

martin.law@mrc-bsu.cam.ac.uk

Authors

Martin Law

aut / cre

Material

README
NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

curtailment archive

Imports

ggplot2
gridExtra
ggthemes
data.table
pkgcond
stats