Package: goldilocks 1.1.0
goldilocks: Adaptive Trial Designs for Survival and Binary Endpoints
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, Cox, or restricted mean survival time tests, Bayesian piecewise-exponential inference, frequentist risk differences, or Bayesian beta-binomial inference. The method closely follows Broglio and colleagues (2014) <doi:10.1080/10543406.2014.888569> and supports simulation of design operating characteristics. Complete trial paths can be simulated once and reused to calibrate stopping rules and final success thresholds without repeating predictive imputation or model fitting. Prespecified changes in endpoint timing use separate follow-up data cuts for success and futility prediction, with reusable simulation paths for schedule calibration.
Authors:
goldilocks_1.1.0.tar.gz
goldilocks_1.1.0.zip(r-4.7-x86_64)goldilocks_1.1.0.zip(r-4.7-arm64)goldilocks_1.1.0.zip(r-4.6-x86_64)goldilocks_1.1.0.zip(r-4.6-arm64)goldilocks_1.1.0.zip(r-4.5-x86_64)
goldilocks_1.1.0.tgz(r-4.6-x86_64)goldilocks_1.1.0.tgz(r-4.6-arm64)goldilocks_1.1.0.tgz(r-4.5-x86_64)goldilocks_1.1.0.tgz(r-4.5-arm64)
goldilocks_1.1.0.tar.gz(r-4.7-arm64)goldilocks_1.1.0.tar.gz(r-4.7-x86_64)goldilocks_1.1.0.tar.gz(r-4.6-arm64)goldilocks_1.1.0.tar.gz(r-4.6-x86_64)
goldilocks_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
goldilocks/json (API)
| # Install 'goldilocks' in R: |
| install.packages('goldilocks', repos = c('https://graemeleehickey.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/graemeleehickey/goldilocks/issues
Pkgdown/docs site:https://graemeleehickey.github.io
adaptivebayesianbayesian-statisticsclinical-trialsstatisticscpp
Last updated from:6ec8dcfcf9. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 219 | ||
| linux-devel-x86_64 | OK | 220 | ||
| source / vignettes | OK | 1104 | ||
| linux-release-arm64 | OK | 222 | ||
| linux-release-x86_64 | OK | 231 | ||
| macos-release-arm64 | OK | 235 | ||
| macos-release-x86_64 | OK | 457 | ||
| macos-oldrel-arm64 | OK | 190 | ||
| macos-oldrel-x86_64 | OK | 477 | ||
| windows-devel-arm64 | OK | 360 | ||
| windows-devel-x86_64 | OK | 235 | ||
| windows-release-arm64 | OK | 322 | ||
| windows-release-x86_64 | OK | 182 | ||
| windows-oldrel-x86_64 | OK | 219 | ||
| wasm-release | OK | 124 |
Exports:apply_horizon_rulesapply_stopping_rulesenrollmentevaluate_interimplot_enrollmentplot_sim_decisionsplot_sim_ocsplot_sim_stoppingplot_trial_traceppweprob_to_hazprop_to_hazpwe_imputepwe_simrandomizationsim_comp_datasim_horizon_pathssim_horizon_trialssim_trialsim_trial_datasim_trial_pathssim_trialssummarise_calendar_timesummarise_simssummarise_trial_tracesurvival_adapt
Dependencies:BHclidplyrgenericsgluelatticelifecyclemagrittrMatrixpbmcapplypillarpkgconfigPWEALLR6Rcpprlangsurvivaltibbletidyselectutf8vctrswithr
Last update: 2026-11-11
Started: 2026-07-05
Last update: 2026-11-11
Started: 2026-08-19
Last update: 2026-11-11
Started: 2026-08-31
Last update: 2026-11-11
Started: 2026-07-05
Last update: 2026-11-11
Started: 2026-06-10
Last update: 2026-11-11
Started: 2026-11-03
Last update: 2026-11-11
Started: 2026-09-04
Last update: 2026-11-11
Started: 2026-07-10
Last update: 2026-11-11
Started: 2026-11-10
Last update: 2026-11-11
Started: 2026-09-08
Last update: 2026-11-11
Started: 2026-06-10
Last update: 2026-11-11
Started: 2026-06-09
Last update: 2026-11-11
Started: 2026-06-16
Last update: 2026-11-11
Started: 2026-09-04
Last update: 2026-11-11
Started: 2026-11-09
Last update: 2026-11-11
Started: 2026-09-05
Last update: 2026-11-11
Started: 2026-07-12
Last update: 2026-11-10
Started: 2026-11-09
