What is the 'Bayes' Theorem'

Bayes' theorem, named after 18th-century British mathematician Thomas Bayes, is a mathematical formula for determining conditional probability. The theorem provides a way to revise existing predictions or theories given new or additional evidence. In finance, Bayes' theorem can be used to rate the risk of lending money to potential borrowers.

The formula is as follows:

Bayes' theorem is also called Bayes' Rule or Bayes' Law.

BREAKING DOWN 'Bayes' Theorem'

Applications of the theorem are widespread and not limited to the financial realm. As an 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 gives the probability of an event based on information that is or may be related to that event. The formula can be used to see how the probability of an event occurring is affected by new information, supposing the new information is true. For example, say a single card is drawn from a complete deck of 52 cards. The probability that the card is a king is 4 divided by 52, which equals 1/13 or approximately 7.69%. Remember that there are 4 kings in the deck. Now, suppose it is revealed that the selected card is a face card. The probability the selected card is a king, given it is a face card, is 4 divided by 12, or approximately 33.3%, as there are 12 face cards in a deck.

Deriving Bayes' Theorem Formula

Bayes' theorem follows simply from the axioms of conditional probability. Conditional probability is the probability of an event given that another event occurred. For example, a simple probability question may be "What is the probability of Amazon.com, Inc., (AMZN) stock price falling?" Conditional probability takes this question a step further by asking "What is the probability of AMZN stock price falling given that the Dow Jones Industrial Average (DJIA) index fell earlier?"

The conditional probability of A given that B has happened can be expressed as:

P(A|B) = P(A and B) / P(B) = P(A∩B) / P(B)

If A is AMZN price falls and B is DJIA is already down, then the conditional probability expression reads as "the probability that AMZN drops given a DJIA decline is equal to the probability that AMZN price declines and DJIA declines over the probability of a decrease in the DJIA index.

then, P(A|B) = [P(A) x P(B|A)] / P(B).

Where P(A) and P(B) are the probabilities of A and B without regard to each other.

P(B|A) is the probability that B will occur given A is true.

Finally, P(A|B) is the conditional probability of A occurring given B is true.

The formula explains the relationship between the probability of the hypothesis before getting the evidence P(A) and the probability of the hypothesis after getting the evidence P(A|B), given a hypothesis A and evidence B.

As another example, imagine there is a drug test that is 98% accurate, meaning 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 see whether 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, it is actually much more likely the person is not a user of the drug.

  1. Prior Probability

    A prior probability, in Bayesian statistical inference, is the ...
  2. Compound Probability

    Compound probability is a mathematical term relating to the likeliness ...
  3. Fisher's Separation Theorem

    The Fisher's separation theorem is a theory that holds that a ...
  4. Dutch Book Theorem

    Dutch Book Theorem is a type of probability theory that postulates ...
  5. Arrow's Impossibility Theorem

    Arrow's impossibility theorem is a social-choice paradox illustrating ...
  6. Central Limit Theorem - CLT

    The central limit theorem states that when one aggregates samples ...
Related Articles
  1. Investing

    Financial Forecasting: The Bayesian Method

    This method can help refine probability estimates using an intuitive process.
  2. Investing

    Scenario Analysis Provides Glimpse Of Portfolio Potential

    This statistical method estimates how far a stock might fall in a worst-case scenario.
  3. Investing

    Redefining Investor Risk

    Changing the way you think about time and risk can change the way you invest.
  4. Insights

    How Pharmaceutical Companies Price Their Drugs

    Learn more about how pharmaceutical companies price drugs, why prices are often very high and why it can be difficult to settle on a suitable price.
  5. Financial Advisor

    Commitment to Impact: Total Impact | Philadelphia

    2018 Total Impact conference in Philadelphia, PA.
  6. Personal Finance

    The Fed's Interest Rate Rise & Your Credit Cards

    The U.S. Federal Reserve recently raised the lending rate from 0% to 0.25% – the first time since 2006. How does that affect your credit card payments?
  7. Personal Finance

    How Many Credit Cards Should You Have?

    National stats indicate most consumers have three or more cards - are you one of them?
  8. Investing

    Hypothesis testing in finance: Concept and examples

    When you're indecisive about an investment, the best way to keep a cool head might be test various hypotheses using the most relevant statistics.
  9. Personal Finance

    These Credit Cards Offer Extended Warranties

    Credit cards with extended warranties mean you get one automatically.
  10. Trading

    How to Trade Dow Jones Future Contracts

    Learn about the Dow Jones Index futures contracts available and obtain step-by-step instruction on how to trade the stock index futures.
  1. What Is the Average Price-To-Book Ratio for a Bank?

    Learn what the average price to book (P/B) ratio is in the banking industry and how the corporate stock evaluation metric ... Read Answer >>
  2. What is considered a good price to book ratio?

    Discover what is considered to be a good price-to-book ratio value, and learn the factors to consider when interpreting this ... Read Answer >>
  3. Does a High Price-To-Book Ratio Correlate to ROE?

    Learn the correlation between price-to-book (P/B) ratio and return on equity (ROE), and why it can be helpful to use the ... Read Answer >>
Trading Center