SkillAgentSearch skills...

BCEA

Bayesian Cost Effectiveness Analysis. Given the results of a Bayesian model (possibly based on MCMC) in the form of simulations from the posterior distributions of suitable variables of costs and clinical benefits for two or more interventions, produces a health economic evaluation. Compares one of the interventions (the "reference") to the others ("comparators"). Produces many summary and plots to analyse the results

Install / Use

/learn @giabaio/BCEA
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

BCEA: Bayesian cost-effectiveness analysis <img src="man/figures/logo.png" align="right" />

Build
Status R-CMD-check CRAN_Status_Badge CRAN_Download_Badge CRAN_Download_Badge CodeFactor DOI

Perform Bayesian Cost-Effectiveness Analysis in R.

:rocket: This is the development version of the R package BCEA (currently on version 2.4.84). The stable version is now release 2.4.83, on CRAN.

Contents

Overview

Given the results of a Bayesian model (possibly based on MCMC) in the form of simulations from the posterior distributions of suitable variables of costs and clinical benefits for two or more interventions, produces a health economic evaluation. Compares one of the interventions (the “reference”) to the others (“comparators”).

Features

Main features of BCEA include:

  • Cost-effectiveness analysis plots, such as CE planes and CEAC
  • Summary statistics and tables
  • EVPPI calculations and plots

Installation

Install the released version from CRAN with

install.packages("BCEA")

The development version (in this repo, which can be updated more quickly and more often than the stable one) can be installed from r-universe.dev, using the following command

install.packages(
  'BCEA', 
  repos = c('https://giabaio.r-universe.dev', 'https://cloud.r-project.org')
)

Alternatively, you can intall the development version using remotes, with the following command.

install.packages("remotes")
remotes::install_github("giabaio/BCEA")

NB: On Windows machines, you need to install a few dependencies, including Rtools first, e.g. by running

pkgs <- c("MASS", "Rtools", "remotes")
repos <- "https://cran.rstudio.com"
install.packages(pkgs, repos = repos, dependencies = "Depends")

before installing the package using remotes.

Articles

Examples of using specific functions and their different arguments are given in these articles:

Further details

The pkgdown site is here. More details on BCEA are available in our book Bayesian Cost-Effectiveness Analysis with the R Package BCEA (published in the UseR! Springer series). Also, details about the package, including some references and links to a pdf presentation and some posts on my own blog) are given here.

License

License: GPL
v3

Contributing

Please submit contributions through Pull Requests, following the contributing guidelines. To report issues and/or seek support, please file a new ticket in the issue tracker.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

View on GitHub
GitHub Stars53
CategoryDevelopment
Updated28d ago
Forks17

Languages

R

Security Score

100/100

Audited on Feb 27, 2026

No findings