Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2 [15 marks] Let Yi, Yz, .... Yn be independent and identically distributed (IID) random variables with common density function friA.B(yla, b) = ae-aby

image text in transcribed
Problem 2 [15 marks] Let Yi, Yz, .... Yn be independent and identically distributed (IID) random variables with common density function friA.B(yla, b) = ae-aby for y > 0. Sample data y1, . .., In are assumed to be observations of Yi, . .. . Yn. (a) Consider an exponential prior pA(a) = e-"I(a > 0). For a fixed b > 0, find the posterior distribution PA.......B(aly1, ....Un, b). Identify the name and parameter of this distribution. [3 marks] (b) For the posterior distribution in (a), for b = 0.5, n = 10. Zig, yi = 10, compute the posterior expectation and posterior variance of A. [3 marks] (c) Based on (b), construct a 95% Bayesian credible interval for A. How do you inter- pret this interval? Explain how is the interpretation different from the one for a 95% confidence interval constructed from a frequentest ML approach. [4 marks] (d) Now we assume A and B are both random variables. Consider priors pA(a) = e-"I(a > 0) and pa(b) o be I(b > 0). Use Gibbs sampling to get 95% credible intervals for A and B. Assume n = 10 and > > = 10. Provide code and steps to derive the posterior distributions required by your algorithm. [5 marks]

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

A First Course In Differential Equations With Modeling Applications

Authors: Dennis G Zill

11th Edition

1337515574, 9781337515573

More Books

Students also viewed these Mathematics questions

Question

Develop a preliminary focus for your research.

Answered: 1 week ago

Question

Case : Karl and June Monroe

Answered: 1 week ago

Question

Be straight in the back without blowing out the chest

Answered: 1 week ago

Question

Wear as little as possible

Answered: 1 week ago

Question

Be relaxed at the hips

Answered: 1 week ago