We will use the Minitab macro BinoMixP, or function binomixp in R, to nd the posterior distribution

Question:

We will use the Minitab macro BinoMixP, or function binomixp in R, to nd the posterior distribution of π given an observation y from the binomial(n,π) distribution when we use a mixture prior for π. Suppose our prior experience leads us to believe a beta(7, 13) prior would be appropriate. However we have a nagging suspicion that our experience was under different circumstances, so our prior belief may be quite incorrect and we need a fallback position. We decide to use a mixture prior where g0(π) is the beta(7, 13) and g1(π) is the beta(1, 1) distribution, and the prior probability P(I = 0) = :95. Suppose we take a random sample of n = 100 and observe y = 76 successes.


image text in transcribed

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Introduction To Bayesian Statistics

ISBN: 9781118091562

3rd Edition

Authors: William M. Bolstad, James M. Curran

Question Posted: