IDEAS home Printed from https://ideas.repec.org/a/spr/stabio/v17y2025i2d10.1007_s12561-024-09425-w.html
   My bibliography  Save this article

The Calibrated Bayesian Hypothesis Test for Directional Hypotheses of the Odds Ratio in $$2\times 2$$ 2 × 2 Contingency Tables

Author

Listed:
  • Riko Kelter

    (University of Siegen)

Abstract

The $$\chi ^{2}$$ χ 2 test is among the most widely used statistical hypothesis tests in medical research. Often, the statistical analysis deals with the test of row-column independence in a $$2\times 2$$ 2 × 2 contingency table, and the statistical parameter of interest is the odds ratio. A novel Bayesian analogue to the frequentist $$\chi ^{2}$$ χ 2 test is introduced. The test is based on a Dirichlet-multinomial model under a joint sampling scheme and works with balanced and unbalanced randomization. The test focusses on the quantity of interest in a variety of medical research, the odds ratio in a $$2\times 2$$ 2 × 2 contingency table. A computational implementation of the test is developed and R code is provided to apply the test. To meet the demands of regulatory agencies, a calibration of the Bayesian test is introduced which allows to calibrate the false-positive rate and power. The latter provides a Bayes-frequentist compromise which ensures control over the long-term error rates of the test. Illustrative examples using clinical trial data and simulations show how to use the test in practice. In contrast to existing Bayesian tests for $$2\times 2$$ 2 × 2 tables, calibration of the acceptance threshold for the hypothesis of interest allows to achieve a bound on the false-positive rate and minimum power for a prespecified odds ratio of interest. The novel Bayesian test provides an attractive choice for Bayesian biostatisticians who face the demands of regulatory agencies which usually require formal control over false-positive errors and power under the alternative. As such, it constitutes an easy-to-apply addition to the arsenal of already existing Bayesian tests.

Suggested Citation

  • Riko Kelter, 2025. "The Calibrated Bayesian Hypothesis Test for Directional Hypotheses of the Odds Ratio in $$2\times 2$$ 2 × 2 Contingency Tables," Statistics in Biosciences, Springer;International Chinese Statistical Association, vol. 17(2), pages 410-441, July.
  • Handle: RePEc:spr:stabio:v:17:y:2025:i:2:d:10.1007_s12561-024-09425-w
    DOI: 10.1007/s12561-024-09425-w
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s12561-024-09425-w
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s12561-024-09425-w?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:stabio:v:17:y:2025:i:2:d:10.1007_s12561-024-09425-w. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.