- Bayes theorem is basically defined as calculating the given probability when we know certain other probabilities.
- Bayes theorem can be written as:
We have already studied conditional probability in the article ”Probability”.
Let’s recall this before we move on to Bayes theorem.
Conditional probability is when the probability of one event, given that the second event has already occured. It is defined as:
In order to find we use the bayes theorem which is defined as calculating the given probability when we know certain other probabilities. It’s formula is:
To simplify, it can be written as:
Now, that we have defined the bayes formula, in order to plug in the values, we require the total probability, which can be written as:
It can also be written as:
Thus the bayes theorem can finally be written as:
In a more simplified form it can be written as:
Q. There is a bag of balls which has 7 red balls and 11 green balls.
a) Draw a tree diagram that shows the following information:
If two balls are drawn one after the other, without replacement.
b) Find the probability
c) P(Different coloured ball)
d) Find the probability that the second ball is green.
e) Given that the second ball is green. Find the probability that first ball is red.
What are the following probabilities:
a) It is an early delivery:
b) The delivery is from Smith:
c) The delivery was late, find the probability that it was delivered by Smith:
d) It was delivered by Jones, find the probability that it was on time:
Q. Suppose through a medical data we know that flu causes fever in 80% of cases and approximately every 1 in 10,000 have flu at a given time and approximately every 1 out of 50 people are suffering from fever.
Given that a patient has fever, find the probability that she has flu?
From the information given above we can figure out that following probabilities:
Using the Bayes theorem we can say:
- J.S Abdey statistics 1