I just installed a home security system that is supposed to alert me on my smartphone if someone tries to break into my house. Unfortunately, the smartphone app doesn't seem to be compatible with iOS 10, so it doesn't work; fortunately the security system also sounds an audible alarm, and my upstairs neighbor John and my downstairs neighbor Mary will probably hear the alarm and call me if it goes off. They're a bit hard of hearing, though, so they might call me even if it doesn't go off or they may not hear it go off if it does. To make matters worse, the alarm may incorrectly go off for other reasons, like if there's a big storm outside. Suppose that on any given day, the probability of a burglary is 0.001 and the probability of a big storm is 0.002. If the alarm goes off, there's a 90% chance John will call me. There's a 5% chance he'll call me even if the alarm doesn't go off. Meanwhile, there's a 70% chance Mary will call me if the alarm goes off and a 1% chance she'll call if it doesn't. There's a 95% chance the alarm will go off if there's both a storm and a burglary, a 94% chance if there's a burglary but no storm, a 29% chance if there's a storm but no burglary, and a 0.1% chance if there's neither a burglary nor a storm.  Question: If both Mary and John call me, what's the probability that there's a storm? In other words, what is P(S=t | J=t, M=t)? You can again answer this using the Variable Elimination (VE) algorithm. This time it should be a little less work than in module 9.6 because we already have some evidence (both John and Mary call me). Recall the following slide on how to handle evidence: In other words, once you computed P ( S , J = t , M = t ) using VE, you can compute the conditional P ( S | J = t , M = t ) as:

A First Course in Probability (10th Edition)
10th Edition
ISBN:9780134753119
Author:Sheldon Ross
Publisher:Sheldon Ross
Chapter1: Combinatorial Analysis
Section: Chapter Questions
Problem 1.1P: a. How many different 7-place license plates are possible if the first 2 places are for letters and...
icon
Related questions
Topic Video
Question

I just installed a home security system that is supposed to alert me on my smartphone if someone tries to break into my house. Unfortunately, the smartphone app doesn't seem to be compatible with iOS 10, so it doesn't work; fortunately the security system also sounds an audible alarm, and my upstairs neighbor John and my downstairs neighbor Mary will probably hear the alarm and call me if it goes off. They're a bit hard of hearing, though, so they might call me even if it doesn't go off or they may not hear it go off if it does. To make matters worse, the alarm may incorrectly go off for other reasons, like if there's a big storm outside.

Suppose that on any given day, the probability of a burglary is 0.001 and the probability of a big storm is 0.002. If the alarm goes off, there's a 90% chance John will call me. There's a 5% chance he'll call me even if the alarm doesn't go off. Meanwhile, there's a 70% chance Mary will call me if the alarm goes off and a 1% chance she'll call if it doesn't. There's a 95% chance the alarm will go off if there's both a storm and a burglary, a 94% chance if there's a burglary but no storm, a 29% chance if there's a storm but no burglary, and a 0.1% chance if there's neither a burglary nor a storm. 

Question: If both Mary and John call me, what's the probability that there's a storm? In other words, what is P(S=t | J=t, M=t)?

You can again answer this using the Variable Elimination (VE) algorithm. This time it should be a little less work than in module 9.6 because we already have some evidence (both John and Mary call me). Recall the following slide on how to handle evidence:

In other words, once you computed P ( S , J = t , M = t ) using VE, you can compute the conditional P ( S | J = t , M = t ) as:

 

Handling evidence
• Suppose we want to compute P(Y | E=e)
- Set variables in E to their known values
-
- Eliminate all remaining variables except for Y, resulting in
P(Y, E=e)
- Then marginalize over Y to compute P(E=e), in order to
compute P(Y | E=e)
Transcribed Image Text:Handling evidence • Suppose we want to compute P(Y | E=e) - Set variables in E to their known values - - Eliminate all remaining variables except for Y, resulting in P(Y, E=e) - Then marginalize over Y to compute P(E=e), in order to compute P(Y | E=e)
P(B)
P(S)
S
0.001
0.002
B
S
P(A|B,S)
T
0.95
A
F
0.29
T
F
0.94
F F
0.001
A
P(J|A)
A
P(M|A)
T
0.9
0.7
F
0.05
F
0.01
MI
Transcribed Image Text:P(B) P(S) S 0.001 0.002 B S P(A|B,S) T 0.95 A F 0.29 T F 0.94 F F 0.001 A P(J|A) A P(M|A) T 0.9 0.7 F 0.05 F 0.01 MI
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Propositional Calculus
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, probability and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
A First Course in Probability (10th Edition)
A First Course in Probability (10th Edition)
Probability
ISBN:
9780134753119
Author:
Sheldon Ross
Publisher:
PEARSON
A First Course in Probability
A First Course in Probability
Probability
ISBN:
9780321794772
Author:
Sheldon Ross
Publisher:
PEARSON