basket-package {basket}R Documentation

Basket Trial Analysis


The R basket package provides for the designs and analysis of basket trials for multi-source exchangeability models (MEM) <> allowing arms to "share" power with similar arms in a trial. The package is intended to perform the exact or MCMC computation of the operating characteristics of different scenarios. Calculations derived from these analyses include the posterior probabilities, HPD boundaries, effective sample sizes (ESS), mean and median estimations can be calculated with this package using the MEM method. Along with providing "basketwise" analyses, the package includes similar calculations for "clusterwise" analyses where a cluster a set of similar baskets. In addition plotting tools are provided to visualize basket and cluster density as well as their exchangeability. The package includes the following main functions:


Vemurafenib in multiple nonmelanoma cancers with braf v600 mutations Hyman DM, Puzanov I, Subbiah V, Faris JE, Chau I, Blay JY, Wolf J, Raje NS, Diamond EL, Hollebecque A, et al. New England Journal of Medicine 2015; 373(8):726–736. <https://doi:10.1056/NEJMoa1502309>

Bayesian basket trial design with exchangeability monitoring BP Hobbs, R Landin Statistics in medicine 37 (25), 3557-357. <>

Statistical challenges posed by uncontrolled master protocols: sensitivity analysis of the vemurafenib study BP Hobbs, MJ Kane, DS Hong, R Landin Annals of Oncology 29 (12), 2296-2301. <doi:10.1093/annonc/mdy457>

Bayesian hierarchical modeling based on multisource exchangeability AM Kaizer, JS Koopmeiners, BP Hobbs Biostatistics 19 (2), 169-184. <>

[Package basket version 0.10.11 Index]