Other packages > Find by keyword >

BayesCTDesign  

Two Arm Bayesian Clinical Trial Design with and Without Historical Control Data
View on CRAN: Click here


Download and install BayesCTDesign package within the R console
Install from CRAN:
install.packages("BayesCTDesign")

Install from Github:
library("remotes")
install_github("cran/BayesCTDesign")

Install by package version:
library("remotes")
install_version("BayesCTDesign", "0.6.1")



Attach the package and use:
library("BayesCTDesign")
Maintained by
Barry Eggleston
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2018-08-14
Latest Update: 2021-11-30
Description:
A set of functions to help clinical trial researchers calculate power and sample size for two-arm Bayesian randomized clinical trials that do or do not incorporate historical control data. At some point during the design process, a clinical trial researcher who is designing a basic two-arm Bayesian randomized clinical trial needs to make decisions about power and sample size within the context of hypothesized treatment effects. Through simulation, the simple_sim() function will estimate power and other user specified clinical trial characteristics at user specified sample sizes given user defined scenarios about treatment effect,control group characteristics, and outcome. If the clinical trial researcher has access to historical control data, then the researcher can design a two-arm Bayesian randomized clinical trial that incorporates the historical data. In such a case, the researcher needs to work through the potential consequences of historical and randomized control differences on trial characteristics, in addition to working through issues regarding power in the context of sample size, treatment effect size, and outcome. If a researcher designs a clinical trial that will incorporate historical control data, the researcher needs the randomized controls to be from the same population as the historical controls. What if this is not the case when the designed trial is implemented? During the design phase, the researcher needs to investigate the negative effects of possible historic/randomized control differences on power, type one error, and other trial characteristics. Using this information, the researcher should design the trial to mitigate these negative effects. Through simulation, the historic_sim() function will estimate power and other user specified clinical trial characteristics at user specified sample sizes given user defined scenarios about historical and randomized control differences as well as treatment effects and outcomes. The results from historic_sim() and simple_sim() can be printed with print_table() and graphed with plot_table() methods. Outcomes considered are Gaussian, Poisson, Bernoulli, Lognormal, Weibull, and Piecewise Exponential. The methods are described in Eggleston et al. (2021) .
How to cite:
Barry Eggleston (2018). BayesCTDesign: Two Arm Bayesian Clinical Trial Design with and Without Historical Control Data. R package version 0.6.1, https://cran.r-project.org/web/packages/BayesCTDesign. Accessed 06 Mar. 2026.
Previous versions and publish date:
0.5.0 (2018-08-14 14:00), 0.6.0 (2019-08-02 15:50)
Other packages that cited BayesCTDesign R package
View BayesCTDesign citation profile
Other R packages that BayesCTDesign depends, imports, suggests or enhances
Complete documentation for BayesCTDesign
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

mlr3viz  
Visualizations for 'mlr3'
Visualization package of the 'mlr3' ecosystem. It features plots for mlr3 objects such as tasks, le ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
DatabionicSwarm  
Swarm Intelligence for Self-Organized Clustering
Algorithms implementing populations of agents that interact with one another and sense their environ ...
Download / Learn more Package Citations See dependency  
solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
EMVS  
The Expectation-Maximization Approach to Bayesian Variable Selection
An efficient expectation-maximization algorithm for fitting Bayesian spike-and-slab regularization p ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA