We will use the Minitab macro BinoBP or R function binobp to nd the posterior distribution of

Question:

We will use the Minitab macro BinoBP or R function binobp to nd the posterior distribution of the binomial probability π when the observation distribution of YΙπ is binomial(n,π) and we have a beta(a, b) prior for π. The beta family of priors is the conjugate family for binomial observations. That means that if we start with one member of the family as the prior distribution, we will get another member of the family as the posterior distribution. It is especially easy, for when we start with a beta(a, b) prior, we get a beta(a', b') posterior where a' = a + y and b' = b + n – y.
Suppose we have 15 independent trials and each trial results in one of two possible outcomes, success or failure. The probability of success remains constant for each trial. In that case, Y Ιπ is binomial(n = 15, π). Suppose that we observed y = 6 successes. Let us start with a beta(1,1) prior.

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: