Implements Goldilocks adaptive trial designs for time-to-event and fixed-time binary endpoints. Outcomes are generated with a piecewise exponential model, with conjugate Gamma priors used for predictive imputation. Final analyses may use log-rank or Cox tests, Bayesian piecewise-exponential inference, frequentist risk differences, or Bayesian beta-binomial inference. The method closely follows Broglio and colleagues <doi:10.1080/10543406.2014.888569> and supports simulation of design operating characteristics.
| Version: | 0.6.0 |
| Depends: | R (≥ 4.1.0), survival |
| Imports: | dplyr, parallel, pbmcapply, PWEALL, Rcpp, rlang, stats |
| LinkingTo: | BH, Rcpp |
| Suggests: | bench, covr, DiagrammeR, testthat (≥ 3.0.0), knitr, rmarkdown |
| Published: | 2026-07-29 |
| DOI: | 10.32614/CRAN.package.goldilocks |
| Author: | Graeme L. Hickey |
| Maintainer: | Graeme L. Hickey <graemeleehickey at gmail.com> |
| BugReports: | https://github.com/graemeleehickey/goldilocks/issues |
| License: | GPL-3 |
| URL: | https://graemeleehickey.github.io/goldilocks/, https://github.com/graemeleehickey/goldilocks, https://CRAN.R-project.org/package=goldilocks |
| NeedsCompilation: | yes |
| Language: | en-US |
| Materials: | README, NEWS |
| CRAN checks: | goldilocks results |
| Package source: | goldilocks_0.6.0.tar.gz |
| Windows binaries: | r-devel: goldilocks_0.6.0.zip, r-release: goldilocks_0.6.0.zip, r-oldrel: goldilocks_0.6.0.zip |
| macOS binaries: | r-release (arm64): goldilocks_0.6.0.tgz, r-oldrel (arm64): goldilocks_0.6.0.tgz, r-release (x86_64): goldilocks_0.6.0.tgz, r-oldrel (x86_64): goldilocks_0.6.0.tgz |
| Old sources: | goldilocks archive |
Please use the canonical form https://CRAN.R-project.org/package=goldilocks to link to this page.