Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

PSet 20: Bayesian Networks

(videos: Inference and Example Inference (BBN-VE-example)

Imagine you live in San Diego in a nice bungalow, with two friendly neighbors John and Mary, who live on either side. You all live in an OK neighborhood, but you’ve installed an alarm system just in case. Now, sometimes there are burglaries, and those set off alarms with certain probabilities, but you also live in earthquake country, and sometimes there are earthquakes, which can also set off alarms. If your alarm is going off, your neighbor John might call you with a certain probability, and your neighbor Mary might call you with a certain probability.

  1. Draw the Bayesian network for this scenario.
     
     
     
     
     
     
     
     
     
     

  2. Given the following probabilities, what is the probability of there having been an earthquake, given that Mary calls and John does not call?

P(B←t)P(B←f)
0.0010.999
P(E←t)P(E←f)
0.0020.998
BEP(A←t | B,E)P(A←f | B,E)
tt0.950.05
tf0.940.06
ft0.290.71
ff0.0010.999
AP(J←t | A)P(J←f | A)
t0.90.1
f0.050.95
AP(M←t | A)P(M←f | A)
t0.70.3
f0.010.99

 


3. Did the probability of an earthquake (given Mary called) increase because of her call? Or did it go down? Yes or No? And then explain in two sentences why -- use the variables and the dependencies in the network to explain it.