Assignment 01 Math Kishan
Assignment 01 Math Kishan
Theorem
Assignment 01
Submitted by:-
Name - Kishan jaiswal
Branch - CSE(AI) Btech 3rd sem
Roll no- 300012721019
UTD-CSVTU BHILAI
Bayes' Theorem: What It Is, the
Formula, and Examples
What Is Bayes' Theorem?
Bayes' Theorem, named after 18th-century British mathematician
Thomas Bayes, is a mathematical formula for determining
conditional probability. Conditional probability is the likelihood of
an outcome occurring, based on a previous outcome having occurred
in similar circumstances. Bayes' theorem provides a way to revise
existing predictions or theories (update probabilities) given new or
additional evidence.
n finance, Bayes' Theorem can be used to rate the risk of lending
money to potential borrowers. The theorem is also called Bayes'
Rule or Bayes' Law and is the foundation of the field of Bayesian
statistics.
• KEY TAKEAWAYS
• Bayes' Theorem allows you to update the predicted probabilities of
an event by incorporating new information.
• Bayes' Theorem was named after 18th-century mathematician
Thomas Bayes.
• It is often employed in finance in calculating or updating risk
evaluation.
• The theorem has become a useful element in the implementation of
machine learning.
• The theorem was unused for two centuries because of the high
volume of calculation capacity required to execute its transactions.
Understanding Bayes' Theorem
Applications of Bayes' Theorem are widespread and not
limited to the financial realm. For example, Bayes' theorem
can be used to determine the accuracy of medical test results
by taking into consideration how likely any given person is to
have a disease and the general accuracy of the test. Bayes'
theorem relies on incorporating prior probability
distributions in order to generate posterior probabilities.
The fact that these two expressions are equal leads to Bayes' theorem, which is written as:
if, P(AMZN and DJIA) = P(AMZN) x P(DJIA|AMZN) = P(DJIA) x P(AMZN|DJIA)
then, P(AMZN|DJIA) = [P(AMZN) x P(DJIA|AMZN)] / P(DJIA).
Where P(AMZN) and P(DJIA) are the probabilities of Amazon and the Dow Jones falling,
without regard to each other.
The formula explains the relationship between the probability of the hypothesis before
seeing the evidence that P(AMZN), and
the probability of the hypothesis after getting the evidence P(AMZN|DJIA), given a
hypothesis for Amazon given evidence in the Dow.
Numerical Example of Bayes' Theorem
As a numerical example, imagine there is a drug test that is 98% accurate, meaning that
98% of the time, it shows a true positive result for someone using the drug, and 98% of the
time, it shows a true negative result for nonusers of the drug.
Next, assume 0.5% of people use the drug. If a person selected at random tests positive for
the drug, the following calculation can be made to determine the probability the person is
actually a user of the drug.
(0.98 x 0.005) / [(0.98 x 0.005) + ((1 - 0.98) x (1 - 0.005))] = 0.0049 / (0.0049 + 0.0199)
= 19.76%
Bayes' Theorem shows that even if a person tested positive in this scenario, there is a
roughly 80% chance the person does not take the drug.
• What Is the History of Bayes' Theorem?
• The theorem was discovered among the papers of the English Presbyterian minister and
mathematician Thomas Bayes and published posthumously by being read to the
Royal Society in 1763. Long ignored in favor of Boolean calculations, Bayes' Theorem has
recently become more popular due to increased calculation capacity for performing its
complex calculations.
• These advances have led to an increase in applications using Bayes' theorem. It is now
applied to a wide variety of probability calculations, including financial calculations,
genetics, drug use, and disease control.
• What Does Bayes' Theorem State?
• Bayes' Theorem states that the conditional probability of an event, based on the
occurrence of another event, is equal to the likelihood of the second event given the first
event multiplied by the probability of the first event.
• What Is Calculated in Bayes' Theorem?
• Bayes' Theorem calculates the conditional probability of an event, based on the values of
specific related known probabilities.
• What Is a Bayes' Theorem Calculator?
• A Bayes’ Theorem Calculator figures the probability of an event A conditional
on another event B, given the prior probabilities of A and B, and the
probability of B conditional on A. It calculates conditional probabilities based
on known probabilities.
• How Is Bayes' Theorem Used in Machine Learning?
• Bayes Theorem provides a useful method for thinking about the relationship
between a data set and a probability. In other words, the theorem says that
the probability of a given hypothesis being true based on specific observed
data can be stated as finding the probability of observing the data given the
hypothesis multiplied by the probability of the hypothesis being true
regardless of the data, divided by the probability of observing the data
regardless of the hypothesis.
Thankyou