Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help me solve this problem. Thank you. 3. Gibbs Sampling Graphical models are often useful for modeling phenomena involving multiple variables. In this problem,

Please help me solve this problem. Thank you.

image text in transcribedimage text in transcribed
3. Gibbs Sampling Graphical models are often useful for modeling phenomena involving multiple variables. In this problem, you'll formulate a graphical model, then demonstrate how to sample from the posterior using Gibbs sampling. (a) Consider the following scenario: suppose the probability that a burglar breaks into your car is 111,, and the probability that an innocent passerby accidentally touches your car is m. Let Z, be a binary random variable that is 1 if there is a burglar, and 0 otherwise. Likewise, let Zz- be a binary random variable that is 1 if there is an innocent passerby, and 0 otherwise. Suppose Z1, and Zi are independent of each other. Let X be a binary random variable that is 1 if your car alarm goes off. The probability your car alarm goes off depends on Zb and Zi, and is known to be: Draw the graphical model depicting the direct relationships between 7a,, 75-, Zb, Zi, and X. (b) Suppose you know the parameters 7n, and 7\(i) Suppose we are running Gibbs sampling, and on each iteration we sample Zo first and then sample Zi. We observed X = 0, and the values of Zo and Zi from iteration t are z(t) = 0 and Z,") = 1. Derive the distribution used for the Gibbs sampling update of Z. . Your solution should be in terms of Tb, Ti, and constants. (ii) Now, suppose we draw Z. = 1 from the distribution derived in Part (b.i). Derive the distribution used for the Gibbs sampling update of Z.". Your solution should be in terms of Tb, Ti, and constants

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_2

Step: 3

blur-text-image_3

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

An Introduction to Measure Theoretic Probability

Authors: George G. Roussas

2nd edition

128000422, 978-0128000427

More Books

Students also viewed these Mathematics questions

Question

What ideas do you want to include and exclude?

Answered: 1 week ago