



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Your answers must be concise and clear. Explain sufficiently that we can
easily determine what you understand. We will give more points for a brief
interesting discussion with no answer than for a bluffing answer.
Note that even though not explicitly stated, any part of the whole system may or may not work as described at any time.
The following Boolean variables are used in this problem set:
MA Whether the enemy launched a missile attack.
AD Whether the system detected a missile attack.
MIM Whether the missile interceptor missile is launched.
C Whether there are any casualties in either nation.
A Whether the alarm is sounded.
MOD Whether the Minister of Defense is notified.
RM Whether a return missile is launched.
In this problem you are allowed to draw the Bayesian networks by hand. (You still have to type the answers for the rest of the homework.)
(a) Use the ordering RM, AD, MIM, C, MA, A, MOD to build a Bayesian network.
¬ø
RM
¬ø
AD
¬ø
MIM
¬ø
C
¬ø
MA
¬ø
A
¬ø
MOD
XyX
XyXX
(b) How many parameters are needed to represent the conditional prob-
abilities in 1a? 1 + 2 + 2 + 8 + 4 + 2 + 4 = 23.
(c) The network in 1a may not be optimal. Give a Bayesian network so that the minimal number of parameters are needed to represent the conditional probabilities.
¬ø
RM
¬ø
AD
¬ø
MIM
¬ø
C
¬ø
MA
¬ø
A
¬ø
MOD
XyX
XyXX
μ¥
μ¥
μ¥
μ¥
μ¥
compute the following probabilities and show your work. Round your
results to three digits after the decimal point if necessary.
(a)
P (d|a) =
B
P (d, B|a)
B
P (d|B, a)P (B|a)
B
P (d|B)P (B|a)
(b)
P (¬d ∧ e|¬c)
=
B
P (¬d, e, B|¬c)
B
P (¬d, e|B, ¬c)P (B|¬c)
B
P (¬d|B, ¬c)P (e|B, ¬c)
A
P (B, A|¬c)
B
P (¬d|B)P (e|B, ¬c)
A
P (B|A, ¬c)P (A|¬c)
B
P (¬d|B)P (e|B, ¬c)
A
(c)
P (e|a)
=
B,C
P (e, B, C|a)
B,C
P (e|B, C, a)P (B, C|a)
B,C
P (e|B, C)P (B|a)P (C|a)
B,C
P (e|B, C)P (B|a)P (C)
(d)
P (c|b ∧ ¬e) =
P (c, ¬e|b) P (¬e|b)
P (¬e|b, c)P (c|b) ∑ C P^ (¬e, C|b)
=
P (¬e|b, c)P (c) ∑ C P^ (¬e|b, C)P^ (C|b)
=
P (¬e|b, c)P (c) ∑ C P^ (¬e|b, C)P^ (C)
=
(e)
P (a ∧ c|e)
P (a, c, e) P (e)
P (e|a, c)P (a, c) ∑ B,C P^ (e, B, C)
=
∑^ B^ P^ (e, B|a, c))^ P^ (a)P^ (c) B,C P^ (e|B, C)P^ (B, C)
=
∑^ B^ P^ (e|B, a, c)P^ (B|a, c))^ P^ (a)P^ (c) B,C P^ (e|B, C)^