Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Simple Metropolis: Normal Precision Gamma. Suppose X : 2 was observed from the population distributed as N (0, FE) and one wishes to estimate

image text in transcribed
1. Simple Metropolis: Normal Precision Gamma. Suppose X : 2 was observed from the population distributed as N (0, FE) and one wishes to estimate the parameter (9. (Here (9 is the reciprocal of the variance 02 and is called the precision para-meter). Suppose the analyst believes that the prior on (9 is Qc(l/2, 1). Using Metropolis algorithm3 approximate the posterior distribution and the Bayes' esti- mator of (9. As the proposal distributiom use gamma Gabon? (9) with parameters a, (3 selected to ensure eicacy of the sampling (this may require some experimenting). (a) Describe the posterior distribution of (9 using the Bayes' estimator and the 97% l-ll'D credible set. (b) Create two plots: one for the posterior density of (9 and one trace plot. For the trace plot, the Xaxis should be the iteration, and the Yaxis should be the observed value of the chain at that iteration. (c) Report the acceptance rate of your proposal distribution. That is, what is the prob- ability that the proposal was accepted when you ran the Metropolis algorithm

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

Trigonometry

Authors: Ron Larson

9th Edition

128560718X, 9781285607184

More Books

Students also viewed these Mathematics questions

Question

8. What are the costs of collecting the information?

Answered: 1 week ago

Question

1. Build trust and share information with others.

Answered: 1 week ago