Apologies in advance if this is considered an easy topic. I am absolutely mired and feel so defeated.
I am working with the following Bayesian Network:
I am being asked to compute the following:
P(H, ~B, L, ~F, ~C)
and
P(F|L)
I do not know much of where to start. I have reviewed the following resources:
- https://www.cs.princeton.edu/courses/archive/fall16/cos402/lectures/402-lec13_.pdf
- http://www.ee.columbia.edu/~vittorio/Lecture12.pdf
My attempts are below:
Calculating P(F|L)
I know that this is considered a Top Down approach, and thus need to perform the following:
- Rewrite the goal conditional probability of query variable Q in terms of Q and all of its parents (that are not evidence) given the evidence
- Re-express each joint probability back to the probability of Q given all of its parents
- Lookup values in the Bayesian Network
Therefore:
P(F|L) =
= P(F,L)/P(L)
= P(F,L,B)/P(L)+P(F,L,~B)/P(L) (Total Probability)
= P(F,B|L) + P(F, ~B|L)
= P(F|B,L)P(B|L) + P(F|~B, L)P(~B|L) (Condtionalized Chain Rule)
= P(F|B,L)P(B) + P(F|~B, L)P(~B) (Independence)
But I cannot see how that relates back to the graph. I also have no clue where to start for P(H, ~B, L, ~F, ~C)
Thank you in advance.