Bayesian tests of two proportions: A tutorial with R and JASP
Author(s) / Creator(s)
Hoffmann, Tabea
Hofman, Abe
Wagenmakers, Eric-Jan
Abstract / Description
The need for a comparison between two proportions (sometimes called an A/B test) often arises in business, psychology, and the analysis of clinical trial data. Here we discuss two Bayesian A/B tests that allow users to monitor the uncertainty about a difference in two proportions as data accumulate over time. We emphasize the advantage of assigning a dependent prior distribution to the proportions (i.e., assigning a prior to the log odds ratio). This dependent-prior approach has been implemented in the open-source statistical software programs R and JASP. Several examples demonstrate how JASP can be used to apply this Bayesian test and interpret the results.
Keyword(s)
Bayes factor Bayesian estimation contingency tables log odds ratioPersistent Identifier
Date of first publication
2022-12-23
Journal title
Methodology
Volume
18
Issue
4
Page numbers
239–277
Publisher
PsychOpen GOLD
Publication status
publishedVersion
Review status
peerReviewed
Is version of
Citation
Hoffmann, T., Hofman, A., & Wagenmakers, E.-J. (2022). Bayesian tests of two proportions: A tutorial with R and JASP. Methodology, 18(4), 239-277. https://doi.org/10.5964/meth.9263
-
meth.v18i4.9263.pdfAdobe PDF - 4.4MBMD5: a508ab56a4200d75be1d0c5e8fd9ca66
-
There are no other versions of this object.
-
Author(s) / Creator(s)Hoffmann, Tabea
-
Author(s) / Creator(s)Hofman, Abe
-
Author(s) / Creator(s)Wagenmakers, Eric-Jan
-
PsychArchives acquisition timestamp2023-01-23T14:06:47Z
-
Made available on2023-01-23T14:06:47Z
-
Date of first publication2022-12-23
-
Abstract / DescriptionThe need for a comparison between two proportions (sometimes called an A/B test) often arises in business, psychology, and the analysis of clinical trial data. Here we discuss two Bayesian A/B tests that allow users to monitor the uncertainty about a difference in two proportions as data accumulate over time. We emphasize the advantage of assigning a dependent prior distribution to the proportions (i.e., assigning a prior to the log odds ratio). This dependent-prior approach has been implemented in the open-source statistical software programs R and JASP. Several examples demonstrate how JASP can be used to apply this Bayesian test and interpret the results.en_US
-
Publication statuspublishedVersion
-
Review statuspeerReviewed
-
CitationHoffmann, T., Hofman, A., & Wagenmakers, E.-J. (2022). Bayesian tests of two proportions: A tutorial with R and JASP. Methodology, 18(4), 239-277. https://doi.org/10.5964/meth.9263en_US
-
ISSN1614-2241
-
Persistent Identifierhttps://hdl.handle.net/20.500.12034/7988
-
Persistent Identifierhttps://doi.org/10.23668/psycharchives.12447
-
Language of contenteng
-
PublisherPsychOpen GOLD
-
Is version ofhttps://doi.org/10.5964/meth.9263
-
Is related tohttps://osf.io/anvg2
-
Keyword(s)Bayes factoren_US
-
Keyword(s)Bayesian estimationen_US
-
Keyword(s)contingency tablesen_US
-
Keyword(s)log odds ratioen_US
-
Dewey Decimal Classification number(s)150
-
TitleBayesian tests of two proportions: A tutorial with R and JASPen_US
-
DRO typearticle
-
Issue4
-
Journal titleMethodology
-
Page numbers239–277
-
Volume18
-
Visible tag(s)Version of Recorden_US