baymedr: an R package and web application for the calculation of Bayes factors for superiority, equivalence, and non-inferiority designs

Research output: Contribution to journalArticleAcademicpeer-review

3 Citations (Scopus)
62 Downloads (Pure)

Abstract

Background: Clinical trials often seek to determine the superiority, equivalence, or non-inferiority of an experimental condition (e.g., a new drug) compared to a control condition (e.g., a placebo or an already existing drug). The use of frequentist statistical methods to analyze data for these types of designs is ubiquitous even though they have several limitations. Bayesian inference remedies many of these shortcomings and allows for intuitive interpretations, but are currently difficult to implement for the applied researcher. Results: We outline the frequentist conceptualization of superiority, equivalence, and non-inferiority designs and discuss its disadvantages. Subsequently, we explain how Bayes factors can be used to compare the relative plausibility of competing hypotheses. We present baymedr, an R package and web application, that provides user-friendly tools for the computation of Bayes factors for superiority, equivalence, and non-inferiority designs. Instructions on how to use baymedr are provided and an example illustrates how existing results can be reanalyzed with baymedr. Conclusions: Our baymedr R package and web application enable researchers to conduct Bayesian superiority, equivalence, and non-inferiority tests. baymedr is characterized by a user-friendly implementation, making it convenient for researchers who are not statistical experts. Using baymedr, it is possible to calculate Bayes factors based on raw data and summary statistics.

Original languageEnglish
Article number279
Number of pages14
JournalBMC Medical Research Methodology
Volume23
Issue number1
DOIs
Publication statusPublished - 24-Nov-2023

Keywords

  • Bayes factor
  • baymedr
  • Equivalence
  • Non-inferiority
  • Superiority

Fingerprint

Dive into the research topics of 'baymedr: an R package and web application for the calculation of Bayes factors for superiority, equivalence, and non-inferiority designs'. Together they form a unique fingerprint.

Cite this