Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. Consider the following Bayesian hierarchical model: in9 ~11 N(9,1), i=1,...,10, are ~ No.72). 7-2 N Inn Gammall, 1). The following data were observed: y

image text in transcribed
image text in transcribed
3. Consider the following Bayesian hierarchical model: in9 ~11\" N(9,1), i=1,...,10, are ~ No.72). 7-2 N Inn Gammall, 1). The following data were observed: y : {3.15, 0.97, 2.01, 0.38, 1.06, 1.60, 0.76, 1.03, 0.56, 2.83}. Use Gibbs sampling to sample from the posterior distribution of 9 (generate 100,000 samples and use 1,000 samples as burnin) and answer the following: 1. Plot the posterior density of 9. 2. Find the posterior mean of [9. 3. Find 95% equitailed credible interval of (9. Note: the density of a Int! Gamma.(a, b) is given by b\"/I'(a)$'a'le'b/$

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

Elementary Linear Algebra

Authors: Ron Larson

8th Edition

1305877020, 9781305877023

More Books

Students also viewed these Mathematics questions

Question

2. In what way can we say that method affects the result we get?

Answered: 1 week ago