Package: bhmbasket 1.1.0

Stephan Wojciekowski

bhmbasket: Bayesian Hierarchical Models for Basket Trials

Provides functions for the evaluation of basket trial designs with binary endpoints. Operating characteristics of a basket trial design are assessed by simulating trial data according to scenarios, analyzing the data with Bayesian hierarchical models (BHMs), and assessing decision probabilities on stratum and trial-level based on Go / No-go decision making. The package is build for high flexibility regarding decision rules, number of interim analyses, number of strata, and recruitment. The BHMs proposed by Berry et al. (2013) <doi:10.1177/1740774513497539> and Neuenschwander et al. (2016) <doi:10.1002/pst.1730>, as well as a model that combines both approaches are implemented. Functions are provided to implement Bayesian decision rules as for example proposed by Fisch et al. (2015) <doi:10.1177/2168479014533970>. In addition, posterior point estimates (mean/median) and credible intervals for response rates and some model parameters can be calculated. For simulated trial data, bias and mean squared errors of posterior point estimates for response rates can be provided.

Authors:Stephan Wojciekowski [aut, cre], Tathagata Chattopadhyay [aut]

bhmbasket_1.1.0.tar.gz
bhmbasket_1.1.0.zip(r-4.7)bhmbasket_1.1.0.zip(r-4.6)bhmbasket_1.1.0.zip(r-4.5)
bhmbasket_1.1.0.tgz(r-4.6-any)bhmbasket_1.1.0.tgz(r-4.5-any)
bhmbasket_1.1.0.tar.gz(r-4.7-any)bhmbasket_1.1.0.tar.gz(r-4.6-any)
bhmbasket_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
bhmbasket/json (API)

# Install 'bhmbasket' in R:
install.packages('bhmbasket', repos = c('https://boehringer-ingelheim.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/boehringer-ingelheim/bhmbasket/issues

Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

jagscpp

6.22 score 1 stars 3 packages 31 scripts 619 downloads 25 exports 11 dependencies

Last updated from:d9d79abcc8. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK164
source / vignettesOK235
linux-release-x86_64OK176
macos-release-arm64OK132
macos-oldrel-arm64OK128
windows-develOK138
windows-releaseOK131
windows-oldrelOK114
wasm-releaseOK134

Exports:combinePriorParameterscontinueRecruitmentcreateTrialgetAverageNSubjectsgetEstimatesgetGoDecisionsgetGoProbabilitiesgetMuVargetPriorParametersinvLogitloadAnalysesloadScenarioslogitnegateGoDecisionsperformAnalysessaveAnalysessaveScenariosscaleRoundListsetPriorParametersBerrysetPriorParametersExNexsetPriorParametersExNexAdjsetPriorParametersPooledsetPriorParametersStratifiedsetPriorParametersStratifiedMixsimulateScenarios

Dependencies:backportscheckmatecodacodetoolsdigestdoRNGforeachiteratorslatticerjagsrngtools

Running bhmbasket on HPC
Setup of the parallel backend | Running some bhmbasket code on HPC

Last update: 2022-02-14
Started: 2022-01-07

Reproducing Parts of Neuenschwander et al. (2016)
Analysis of a Basket Trial's Outcome | Creating the trial | Running the model | Getting the estimates | Assessing the Operating Characteristics of a Basket Trial Design | Simulating the scenarios | Running the model | Estimating the biases and MSEs | Estimating the cohort-wise go probabilities | References

Last update: 2022-01-07
Started: 2021-09-28

Readme and manuals

Help Manual

Help pageTopics
combinePriorParameterscombinePriorParameters
continueRecruitmentcontinueRecruitment
createTrialcreateTrial
getAverageNSubjectsgetAverageNSubjects
getEstimatesgetEstimates
getGoDecisionsgetGoDecisions
getGoProbabilitiesgetGoProbabilities
getMuVargetMuVar
getPriorParametersgetPriorParameters
invLogitinvLogit
loadAnalysesloadAnalyses
loadScenariosloadScenarios
logitlogit
negateGoDecisionsnegateGoDecisions
performAnalysesperformAnalyses
saveAnalysessaveAnalyses
saveScenariossaveScenarios
scaleRoundListscaleRoundList
setPriorParametersBerrysetPriorParametersBerry
setPriorParametersExNexsetPriorParametersExNex
setPriorParametersExNexAdjsetPriorParametersExNexAdj
setPriorParametersPooledsetPriorParametersPooled
setPriorParametersStratifiedsetPriorParametersStratified
setPriorParametersStratifiedMixsetPriorParametersStratifiedMix
simulateScenariossimulateScenarios