Skip to Content
Bayesian Statistics: An Introduction, 4th Edition
book

Bayesian Statistics: An Introduction, 4th Edition

by Peter M. Lee
September 2012
Intermediate to advanced
486 pages
10h 41m
English
Wiley
Content preview from Bayesian Statistics: An Introduction, 4th Edition

5.6 Comparison of two proportions; the $2\times 2$ table

5.6.1 Methods based on the log-odds ratio

In this section, we are concerned with another two sample problem, but this time one arising from the binomial rather than the normal distribution. Suppose

Unnumbered Display Equation

and that we are interested in the relationship between π and ρ. Another way of describing this situation is in terms of a 2 × 2 table (sometimes called a 2 × 2 contingency table)

Unnumbered Display Equation

We shall suppose that the priors for π and ρ are such that  and  , independently of one another. It follows that the posteriors are also beta distributions, and more precisely if

Unnumbered Display Equation

then

Unnumbered Display Equation

We recall from Section 3.1 on the binomial distribution that if

Unnumbered Display Equation

then  , so that

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Bayesian Data Analysis, Third Edition, 3rd Edition

Bayesian Data Analysis, Third Edition, 3rd Edition

Andrew Gelman, John B. Carlin, Hal S. Stern, David B. Dunson, Aki Vehtari, Donald B. Rubin
Introduction to Probability

Introduction to Probability

Joseph K. Blitzstein, Jessica Hwang

Publisher Resources

ISBN: 9781118359778Purchase book