Professional Documents
Culture Documents
Problem 2
Conditional Independence. Consider the following belief network for another medical diagnosis exam-
ple, where B=Bronchitis, S=Smoker, C=Cough, X=Positive X-ray and L=Lung cancer Suppose that
the prior for a patient being a smoker is 0.25, and the prior for the patient having bronchitis (during
winter in Melbourne!) is 0.05.
S
L B
X C
List the pairs of nodes that are conditionally independent in the following situations: (a) There is no
evidence for any of the nodes.
(b) The cancer node is set to true (and there is no other evidence).
1
(c) The smoker node is set to true (and there is no other evidence).
(d) The cough node is set to true (and there is no other evidence).
Problem 3
Variable ordering. (a) What variable ordering(s) would have been used to produce the above network
using the network construction algorithm described in lectures (Lecture 2, slide 10)?
(b) Given di
erent variable orderings, what network structure would result from this algorithm?
A B
(b) Try to come up with a real-world scenario that might be modelled with such a network struc-
ture.</li>
Solution. (a) The following sets of nodes DO d-separate X & Y: fg, fAg, fCg, fA,Cg, fA,B,Cg.
The rest do not: fBg,fA,Bg,fC,Bg.
(b) X = friend has cold virus A = you get cold C = weather is cold B = you cough Y = you have
lung cancer.