A C++ program to calculate sample sizes for cost-effectiveness trials in a Bayesian framework
Related Experiment Video
Updated: May 14, 2026

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
Shah-Jalal Sarker1, Anne Whitehead, Iftekhar Khan
1Centre for Experimental Cancer Medicine, Barts Cancer Institute, Queen Mary, University of London, UK. s.sarker@qmul.ac.uk
Abstract:
Cost-Effectiveness Analysis (CEA) has become an increasingly important component of clinical trials. However, formal sample size calculations for such studies are not common. One of the reasons for this might be due to the absence of readily available computer software to perform complex calculations, particularly in a Bayesian setting. In this paper, a C++ program (using NAG library functions/subroutines) is presented to estimate the sample sizes for cost-effectiveness clinical trials in a Bayesian framework. The program can equally be used to calculate sample sizes for efficacy trials. The Bayesian approach to sample size calculation is based on that of O'Hagan and Stevens (A. O'Hagan, J.W. Stevens, Bayesian assessment of sample size for clinical trials of cost-effectiveness, Medical Decision Making 21 (2001) 219-230). With this program, the user can calculate sample sizes for various thresholds of willingness to pay and under various assumptions of the correlations between cost and effects. Under some prior, the program produces frequentist sample size as well. The program runs under windows environment and running time is very short.
More Related Videos
08:36The Adjuvant Efficacy of Angong Niuhuang Pill in the Treatment of Viral Encephalitis: A Meta-Analysis of Randomized Controlled Trials
Published on: April 19, 2024
16:23Automated, Quantitative Cognitive/Behavioral Screening of Mice: For Genetics, Pharmacology, Animal Cognition and Undergraduate Instruction
Published on: February 26, 2014
Related Concept Videos
Sample Size Calculation
The sample size for the given experiment or sampling effort is fundamental to any study design. Sample size decides the number of...
Statistical Software for Data Analysis and Clinical Trials
Statistical Methods for Analyzing Epidemiological Data
Biostatistics: Overview
Discrete variables are...
One-Way ANOVA: Equal Sample Sizes
Different sample means can result in different values for the variance estimate: variance between samples. This is because the variance between samples is calculated as the product of the sample size and the variance between the...
Study Design in Statistics
Does aspirin reduce the risk of heart attacks? Is one brand of fertilizer more effective at growing roses than another? Is fatigue as dangerous to a driver as the influence of alcohol? Questions like these are answered using randomized experiments with proper...