3. Consider the normal linear regression model y = r3+e where e is normally distributed as N(e0, o²I) and 3 with a prior distribution N(30, A) and o? with a prior distribution of IG(o (a,b). (a)...


3. Consider the normal linear regression model<br>y = r3+e<br>where e is normally distributed as N(e0, o²I) and 3 with a prior distribution N(30, A) and<br>o? with a prior distribution of IG(o (a,b).<br>(a) Determine the posterior density<br>p(3, 0ly)<br>which is not a standard distribution.<br>(b) Knowing the full conditionals, p(3ly, o2) (Normal) and p(a13, u) (Inverse Gamma);<br>sample p(3, oly) using Gibbs method for the values of z 1, y = 0.4, a = 4, 6 = 2, n = 1<br>and A = 0.1 generate 30000 points for (3, a2) pair and compare their 2-D histogram with<br>the analytical plot of p(3,0 ly) to check for their similarity.<br>

Extracted text: 3. Consider the normal linear regression model y = r3+e where e is normally distributed as N(e0, o²I) and 3 with a prior distribution N(30, A) and o? with a prior distribution of IG(o (a,b). (a) Determine the posterior density p(3, 0ly) which is not a standard distribution. (b) Knowing the full conditionals, p(3ly, o2) (Normal) and p(a13, u) (Inverse Gamma); sample p(3, oly) using Gibbs method for the values of z 1, y = 0.4, a = 4, 6 = 2, n = 1 and A = 0.1 generate 30000 points for (3, a2) pair and compare their 2-D histogram with the analytical plot of p(3,0 ly) to check for their similarity.

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here