Description
1 Question 1: D-Separation
You are given several graphical models below, and each graphical model is associated with an independence (or conditional independence) assertion. Please specify if the assertion is true or false.
Please write your answer for each subpart in one row.
1) Assertion: It is guaranteed that I is independent of G given H,E,C
2) Assertion: It is guaranteed that A is independent of I given B,D
1
3) Assertion: It is guaranteed that K is independent of H given A,L
4) Assertion: It is guaranteed that L is independent of K given A,C,J
5) Assertion: It is guaranteed that F is independent of H given A,I
6) Assertion: It is guaranteed that C is independent of L given K.
2 Question 2: Variable Elimination
Consider the graphical model shown below, where all variables have binary domains. We are given the query P(F| + c). Assume that we run variable elimination with the following ordering: B,D,E,A.
After introducing evidence, we have the following factors:
P(A), P(B), P(+c | A,B), P(D | +c), P(E | +c,D), P(F | A,+c,B,E)
Step 1: After joining on B and summing out over B, we have generated a new factor f1 over the following variables and/or evidence (note B is not included after summing out over B):
A B +c D E F
x x x x
After this step, the remaining factors are:
P(A) P(B) P(+c|A,B) P(D|+c) P(E|+c,D) P(F|A,+c,B,E) f1
x x x x
Step 2: After joining on D and summing out over D, we have generated a new factor f2 over the following variables and/or evidence (note D is not included after summing out over D):
Sample answer:
AB + cDEF
After this step, the remaining factors are:
Sample answer:
P(A)P(B)P(+c | A,B)P(D | +c)P(E | +c,D)P(F | A,+c,B,E)f1f2
Step 3: After joining on E and summing out over E, we have generated a new factor f3 over the following variables and/or evidence (note E is not included after summing out over E): Sample answer:
AB + cDEF
After this step, the remaining factors are:
Sample answer:
P(A)P(B)P(+c | A,B)P(D | +c)P(E | +c,D)P(F | A,+c,B,E)f1f2f3
Step 4: After joining on A and summing out over A, we have generated a new factor f4 over the following variables and/or evidence (note A is not included after summing out over A): Sample answer:
AB + cDEF
After this step, the remaining factors are:
Sample answer:
P(A)P(B)P(+c | A,B)P(D | +c)P(E | +c,D)P(F | A,+c,B,E)f1f2f3f4
Reminder: The final factor (or the product of final factors if there are more than one) is guaranteed to be equal to selected joint P(F,+c). To answer the original query, we need to renormalize to obtain P(F|+c).
Reviews
There are no reviews yet.