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

    for a different version of it.

    References listed on IDEAS

    as
    1. Kevin Kunzmann & Michael J. Grayling & Kim May Lee & David S. Robertson & Kaspar Rufibach & James M. S. Wason, 2021. "A Review of Bayesian Perspectives on Sample Size Derivation for Confirmatory Trials," The American Statistician, Taylor & Francis Journals, vol. 75(4), pages 424-432, October.
    2. Leonhard Held & Manuela Ott, 2016. "How the Maximal Evidence of -Values Against Point Null Hypotheses Depends on Sample Size," The American Statistician, Taylor & Francis Journals, vol. 70(4), pages 335-341, October.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Kelter, Riko, 2022. "Power analysis and type I and type II error rates of Bayesian nonparametric two-sample tests for location-shifts based on the Bayes factor under Cauchy priors," Computational Statistics & Data Analysis, Elsevier, vol. 165(C).
    2. Pathairat Pastpipatkul & Petchaluck Boonyakunakorn & Kanyaphon Phetsakda, 2020. "The Impact of Thailand’s Openness on Bilateral Trade between Thailand and Japan: Copula-Based Markov Switching Seemingly Unrelated Regression Model," Economies, MDPI, vol. 8(1), pages 1-13, January.
    3. Francesco Mariani & Fulvio De Santis & Stefania Gubbiotti, 2024. "The distribution of power-related random variables (and their use in clinical trials)," Statistical Papers, Springer, vol. 65(9), pages 5555-5574, December.
    4. Fulvio De Santis & Stefania Gubbiotti, 2024. "On the limit distribution of the power function induced by a design prior," Statistical Papers, Springer, vol. 65(4), pages 1927-1945, June.
    5. Sander Greenland, 2023. "Divergence versus decision P‐values: A distinction worth making in theory and keeping in practice: Or, how divergence P‐values measure evidence even when decision P‐values do not," Scandinavian Journal of Statistics, Danish Society for Theoretical Statistics;Finnish Statistical Society;Norwegian Statistical Association;Swedish Statistical Association, vol. 50(1), pages 54-88, March.
    6. Armando Turchetta & Erica E. M. Moodie & David A. Stephens & Sylvie D. Lambert, 2023. "Bayesian sample size calculations for comparing two strategies in SMART studies," Biometrics, The International Biometric Society, vol. 79(3), pages 2489-2502, September.
    7. Kline, Brendan, 2024. "Classical p-values and the Bayesian posterior probability that the hypothesis is approximately true," Journal of Econometrics, Elsevier, vol. 240(1).

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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.