Bayes theorem is a theorem in probability and statistics, named after the Reverend Thomas Bayes, that helps in determining the probability of an event that is based on some event that has already occurred. Bayes theorem has many applications such as bayesian interference, in the healthcare sector - to determine the chances of developing health problems with an increase in age and many others. Here, we will aim at understanding the use of the Bayes theorem in determining the probability of events, its statement, formula, and derivation with the help of examples.
Bayes theorem, in simple words, determines the conditional probability of an event A given that event B has already occurred. Bayes theorem is also known as the Bayes Rule or Bayes Law. It is a method to determine the probability of an event based on the occurrences of prior events. It is used to calculate conditional probability. Bayes theorem calculates the probability based on the hypothesis. Now, let us state the theorem and its proof. Bayes theorem states that the conditional probability of an event A, given the occurrence of another event B, is equal to the product of the likelihood of B, given A and the probability of A. It is given as:
The statement of Bayes Theorem is as follows: Let E1,E2,E3,...,En be a set of events associated with a sample space S, where all events E1,E2,E3,...,En have non-zero probability of occurrence and they form a partition of S. Let A be any event which occurs with E1 or E2 or E3... or En then according to Bayes Theorem,
To prove the Bayes Theorem, we will use the total probability and conditional probability formulas. The total probability of an event A is calculated when not enough data is known about event A, then we use other events related to event A to determine its probability. Conditional probability is the probability of event A given that other related events have already occurred.
(Ei), be is a partition of the sample space S. Let A be an event that occurred. Let us express A in terms of (Ei).
A = A ∩ S
= A ∩ (E1,E2,E3,...,En)
A = (A ∩E1) ∪ (A ∩E1) ∪ (A ∩E1)....∪ ( A ∩E1)
P(A) = P[(A ∩ E1) ∪ (A ∩E1) ∪ (A ∩E1)....∪ ( A ∩E1)]
We know that when A and B are disjoint sets, then P(A∪B) = P(A) + P(B)
Thus here, P(A) = P(A ∩E1) +P(A ∩E1)+ P(A ∩E1).....P(A ∩En)
According to the multiplication theorem of a dependent event, we have
P(A) = P(E). P(A/E1) + P(E). P(A/E2) + P(E). P(A/E3)......+ P(A/En)
Thus total probability of P(A) = P(Ei)P(A|Ei),i=1,2,3,...,n --- (1)
Recalling the conditional probability, we get
Using the formula for conditional probability of P(A|Ei), we have
P(Ei∩A)=P(A|Ei)P(Ei) --- (3)
Substituting equations (1) and (3) in equation (2), we get
Hence, Bayes Theorem is proved.
Bayes theorem formula exists for events and random variables. Bayes Theorem formulas are derived from the definition of conditional probability. It can be derived for events A and B, as well as continuous random variables X and Y. Let us first see the formula for events.
Bayes Theorem Formula for Events
The formula for events derived from the definition of conditional probability is:
Derivation:
According to the definition of conditional probability,
and we know that
P(A∩B)=P(B∩A)=P(B|A)P(A) , which implies,
Hence, the Bayes theorem formula for events is derived.
The formula for continuous random variables X and Y derived from the definition of the conditional probability of continuous variables is:
Derivation:
According to the definition of conditional density or conditional probability of continuous random variables, we know that
and which implies,
Hence, the Bayes Theorem formula for random continuous variables is derived.
As we have studied about Bayes theorem in detail, let us understand the meanings of a few terms related to the concept which have been used in the Bayes theorem formula and derivation:
185 videos|124 docs|75 tests
|
|
Explore Courses for SAT exam
|