Suppose that 1 1+e-(+2) Xu Bernoulli ( and a standard normal N(0, 1) prior is specified for u. In a trial, the value x= 1 is observed. (a) Show that the posterior for when X is observed to be r= 1 is ƒ(μ\x= 1) x (1 + e-(μ+2))-¹-²/2 on R.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
Suppose that
1
X\µ ~ Bernoulli
(1+e-(u+2)
and a standard normal N(0, 1) prior is specified for u. In a trial, the value
x = 1 is observed.
(a) Show that the posterior for u when X is observed to be r = 1 is
f(4x = 1) x (1+e¯(u+2)-le¬w²/2 on R.
This posterior distribution cannot be sampled from directly. Suppose that
the Metropolis-Hastings algorithm is to be used to simulate samples from
the target posterior density f(H|r = 1).
In order to simulate samples from the posterior distribution of parameter u,
consider the sequence of random variables u1, #2, - such that µt is the
variable for iteration t of the Metropolis-Hastings algorithm. Let be its
simulated value. Suppose that the proposal distribution for +1H = He
which has density denoted by q(H+1\44), is N(µ,2).
%3D
Transcribed Image Text:Suppose that 1 X\µ ~ Bernoulli (1+e-(u+2) and a standard normal N(0, 1) prior is specified for u. In a trial, the value x = 1 is observed. (a) Show that the posterior for u when X is observed to be r = 1 is f(4x = 1) x (1+e¯(u+2)-le¬w²/2 on R. This posterior distribution cannot be sampled from directly. Suppose that the Metropolis-Hastings algorithm is to be used to simulate samples from the target posterior density f(H|r = 1). In order to simulate samples from the posterior distribution of parameter u, consider the sequence of random variables u1, #2, - such that µt is the variable for iteration t of the Metropolis-Hastings algorithm. Let be its simulated value. Suppose that the proposal distribution for +1H = He which has density denoted by q(H+1\44), is N(µ,2). %3D
Expert Solution
steps

Step by step

Solved in 3 steps with 19 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman