Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a model with Likelihood function L ( , , ) = P ( d , , ) = i = 1 n P (

Consider a model with Likelihood function

L(,,)=P(d,,)=i=1nP(dii,)P(i)

P(dii,)2ie(di)2

P(i,)=e(1+i)

and prior distributions

P()1

P()=e

with fixed . The goal is now to sample from the posterior distribution P(,,d) using a Metropolis-Hastings algorithm in which parameter gets updated in-turn using symmetric proposal kernels. Note that ,>0 .

Indicate for each of the following statements if it is true or false.

a) The Hasting ration for an update ii is

hi=min(1,iie(ii)[+(di)2])

b) The normal distribution iN(0,2) is a possible choice for a symmetric proposoanl kernel .

c) The R function

q <- function(x,d){return(abs(x + runif(1)*d - d/2));} 

constitues a valid proposal kernel q(i) .

d) The log-Hastings ration for an update is

log(h)=min(0,i[(di)2(di)2]

e) If the acceptance rate of the parameter is around 45%, the variance of the proposal kernel q() should be decreased.

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

College Algebra

Authors: Mark Dugopolski

5th Edition

0321899822, 9780321899828

More Books

Students also viewed these Mathematics questions

Question

1. To generate a discussion on the concept of roles

Answered: 1 week ago

Question

6. What information processes operate in communication situations?

Answered: 1 week ago