Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7.2.1 For the model discussed in Example 7.1.1, Let x_1, x_n to be independent Bernuolli variables with unknown parameter theta. We assume a uniform(0,1) prior

7.2.1 For the model discussed in Example 7.1.1, Let x_1, x_n to be independent Bernuolli variables with unknown parameter theta. We assume a uniform(0,1) prior over theta. If the data set turns out to be that all x_i's are 1, then what is the posterior distribution of theta? What is the posterior mean of theta*theta?

image text in transcribed
EXAMPLE 7.1.1 Bernoulli Modell Suppose that we observe a sample (x1, . . . , x") from the Bernoulli(9) distribution with 6 e [0, 1] unknown. For the prior, we take it to be equal to a Beta(a, 3) density (see Problem 2.4.16). Then the posterior of 9 is proportional to the likelihood n \"0;.- (1 _9)1x,- = ai (1 _ ariaf) i=1 times the prior 3-1 (a. m 6\"\" (I cop1 . This product is proportional to afl (1 _ 9)(lf)+l . We recognize this as the unnormalized density of a Beta(n.f + a, n (l i) + l?) dis- tribution. So in this example, we did not need to compute m(x1 , . . . , x") to obtain the posterior. As a specic case, suppose that we observe m? = 10 in a sample of n = 40 and a = = 1, i.e., we have a uniform prior one. Then the posterior oft9 is given by the Beta(11, 31) distribution. We plot the posterior density in Figure 7.1.3 as well as the PI'IOI'. 0.0 0.1 0.2 0.3 0.4 05 0.6 0.7 0.8 0.9 1.0 theta Figure 7.1.3: Prior (dashed line) and posterior densities (solid line) in Example 7.1.1. The spread of the posterior distribution gives us some idea of the precision of any probability statements we make about 9. Note how much information the data have added, as reected in the graphs of the prior and posterior densities

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Chance And Chaos

Authors: David Ruelle

1st Edition

069121395X, 9780691213958

More Books

Students also viewed these Mathematics questions

Question

List the characteristics of simulation.

Answered: 1 week ago

Question

1. To gain knowledge about the way information is stored in memory.

Answered: 1 week ago