What is the probability that there is a burglary given John and Mary calls?

  • Context: Comp Sci 
  • Thread starter Thread starter shivajikobardan
  • Start date Start date
  • Tags Tags
    Probability
Click For Summary
SUMMARY

The discussion centers on calculating the probability of a burglary given calls from John and Mary, utilizing Bayes' Theorem. Participants analyze the dependencies between events, specifically P(J | M & A) and P(M | J & A), to derive probabilities. The conclusion suggests that if J and M are independent given A, then the probability P(B | J & M) can be calculated as 0.665, which lies between the extremes of 0.72 and 0.28 mentioned in the tutorial video. The discussion emphasizes the importance of understanding conditional probabilities and dependencies in Bayesian analysis.

PREREQUISITES
  • Bayes' Theorem
  • Conditional Probability
  • Independence of Events
  • Probability Notation and Terminology
NEXT STEPS
  • Study advanced applications of Bayes' Theorem in real-world scenarios.
  • Explore the concept of conditional independence in probability theory.
  • Learn how to construct and interpret probability tables for complex events.
  • Investigate the implications of dependencies in Bayesian networks.
USEFUL FOR

Students of probability theory, data scientists, statisticians, and anyone interested in applying Bayesian methods to real-world problems.

shivajikobardan
Messages
637
Reaction score
54
Homework Statement
What is the probability that there is a burglary given John and Mary calls?
Relevant Equations
bayes theorem maybe.
XB1ryNeDwmGy8LIVpTYDJbSZa4LMkwRc3Zuey3o7rpl7IZtteo.png

this is the question



Here is a tutorial video but his steps are very confusing to me. I personally know bayes theorem and have already studied probability and got good marks in it(It may not be a metric for being quality in it given that it is nepal we are talking about.)
https://courses.engr.illinois.edu/ece448/sp2020/slides/lec15.pdf
here is the slide I'm referring to. The answer seems 0.72 or 0.28 according to video.

My attempt-:
I try finding P(B/(J,M)) but I don't get a way to find it. Burglary is independent of anything else. IDK how to find this value.
 
Physics news on Phys.org
Try breaking it into parts, eg:

P(B | J & M) = P(B | A) x P(A | J & M)
Then use Bayes' Theorem to work out P(B | A) and P(A | J & M).

Note that the question gives you P(A | B & E), P(A | B & ~E), P(~B & E), P(~B & ~E)
[left-side table, ~ means NOT]
plus P(B), P(E) and since you said they're independent, you have P(B & E) = P(B)P(E)
[top two values]
plus P(J | A), P(J | ~A), P(M | A), P(M | ~A)
[bottom of slide]

You are going to need the value for P(J & M) which means you need to know whether J and M are independent ( in which case we'll have P(J & M) = P(J) P(M) ). Do they tell you that?

You are also going to need the value for P(J & M | A) which means you need to know whether J|A and M|A are independent ( in which case we'll have P(J & M | A) = P(J | A) P(M | A) ). Do they tell you that?
 
  • Like
Likes   Reactions: sysprog
andrewkirk said:
Try breaking it into parts, eg:

P(B | J & M) = P(B | A) x P(A | J & M)
Then use Bayes' Theorem to work out P(B | A) and P(A | J & M).

Note that the question gives you P(A | B & E), P(A | B & ~E), P(~B & E), P(~B & ~E)
[left-side table, ~ means NOT]
plus P(B), P(E) and since you said they're independent, you have P(B & E) = P(B)P(E)
[top two values]
plus P(J | A), P(J | ~A), P(M | A), P(M | ~A)
[bottom of slide]
..
andrewkirk said:
You are going to need the value for P(J & M) which means you need to know whether J and M are independent ( in which case we'll have P(J & M) = P(J) P(M) ). Do they tell you that?
Yes J and M are independent to each other.
andrewkirk said:
You are also going to need the value for P(J & M | A) which means you need to know whether J|A and M|A are independent ( in which case we'll have P(J & M | A) = P(J | A) P(M | A) ). Do they tell you that?
J is dependent on A and so is M.
 
shivajikobardan said:
J is dependent on A and so is M.
Yes we know that, but that's not enough, as it still leaves different possibilities. We need to know P(J | M&A) and P(M | J & A).
Consider the following two cases:

Case 1:
A & M =>J (If the alarm goes off and Mary calls then John always calls too)
P(J | M & A) = 1
So P(J & M | A) = P(J&M&A) / P(A) = P(J | M&A) P(M&A) /P(A) = P(M&A) / P(A) = P(M|A)P(A)/P(A) = P(M|A) = 0.7

Case 2:
A & ~M => J (If alarm goes off and Mary doesn't call then John does call)
P(J | A & ~M) = 1

So P(J & ~M & A) = P(J | A & ~M) P(A & ~M) = P(J | A & ~M) P(~M | A) P(A) = 1 x (1 - 0.7) P(A) = 0.3 P(A)
So P(J & M & A) = P(J & A) - P(J & ~M & A) = P(J | A) P(A) - 0.3P(A) = 0.95 P(A) - 0.3 P(A) = 0.65 P(A)
So P(J & M | A) = 0.65 P(A) / P(A) = 0.65.

So these different dependencies give us different results.

If they don't give you any information about those dependencies, I expect they intended - but forgot to say - that the events M | A and J | A are independent, so that P(J & M | A) = P(J | A) P(M | A) = 0.95 x 0.7 = 0.665. Note how that is between the values from the above two cases.
 

Similar threads

  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 4 ·
Replies
4
Views
10K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K