Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2. Multivariate Gaussian. Suppose we have N i.i.d. observations X = {xi}, from a multivariate Gaussian distribution xi lu ~ N ( u, Z)

image text in transcribed
image text in transcribed
Problem 2. "Multivariate Gaussian." Suppose we have N i.i.d. observations X = {xi}, from a multivariate Gaussian distribution xi lu ~ N ( u, Z) with unknown mean parameter u and a known covariance matrix E. As prior infor- mation on the mean parameter we have u~ N(mo, So). (a) Derive the posterior distribution p(y|X) of the mean parameter y. (b) Compare the Bayesian estimate (posterior mean) to the maximum likelihood es- timate by generating N = 10 observations from the bivariate Gaussian For this you can use the Python function numpy.random.normal , making use of the fact that the elements of the bivariate random vectors are independent. In the Bayesian case, use the prior with mo = [0, 0]' and So = o o.1]. [0.1 0 ]. Report both estimates. Is the Bayesian estimate closer to the true value y = [0, 0]T

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_2

Step: 3

blur-text-image_3

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