- #1
wonderingchicken
- 244
- 10
From https://corporatefinanceinstitute.com/resources/data-science/bayes-theorem/#:~:text=Formula for Bayes' Theorem&text=P(A|B) –,given event A has occurred
Example of Bayes’ Theorem
Imagine you are a financial analyst at an investment bank. According to your research of publicly-traded companies, 60% of the companies that increased their share price by more than 5% in the last three years replaced their CEOs during the period.
At the same time, only 35% of the companies that did not increase their share price by more than 5% in the same period replaced their CEOs. Knowing that the probability that the stock prices grow by more than 5% is 4%, find the probability that the shares of a company that fires its CEO will increase by more than 5%.
Before finding the probabilities, you must first define the notation of the probabilities.
P(A) – the probability that the stock price increases by 5%
P(B) – the probability that the CEO is replaced
P(A|B) – the probability of the stock price increases by 5% given that the CEO has been replaced
P(B|A) – the probability of the CEO replacement given the stock price has increased by 5%.
Using the Bayes’ theorem, we can find the required probability:
Sample Calculation
P(A l B) = 0.60 x 0.04/0.60 x 0.04 + 0.35 x (1 - 0.04) = 0.067 or 6.67%
Thus, the probability that the shares of a company that replaces its CEO will grow by more than 5% is 6.67%.
Sorry but notice the bold numbers, how did (1 - 0.04) appear there? I can't find 1 mentioned in the question? English is not my native language.
Example of Bayes’ Theorem
Imagine you are a financial analyst at an investment bank. According to your research of publicly-traded companies, 60% of the companies that increased their share price by more than 5% in the last three years replaced their CEOs during the period.
At the same time, only 35% of the companies that did not increase their share price by more than 5% in the same period replaced their CEOs. Knowing that the probability that the stock prices grow by more than 5% is 4%, find the probability that the shares of a company that fires its CEO will increase by more than 5%.
Before finding the probabilities, you must first define the notation of the probabilities.
P(A) – the probability that the stock price increases by 5%
P(B) – the probability that the CEO is replaced
P(A|B) – the probability of the stock price increases by 5% given that the CEO has been replaced
P(B|A) – the probability of the CEO replacement given the stock price has increased by 5%.
Using the Bayes’ theorem, we can find the required probability:
Sample Calculation
P(A l B) = 0.60 x 0.04/0.60 x 0.04 + 0.35 x (1 - 0.04) = 0.067 or 6.67%
Thus, the probability that the shares of a company that replaces its CEO will grow by more than 5% is 6.67%.
Sorry but notice the bold numbers, how did (1 - 0.04) appear there? I can't find 1 mentioned in the question? English is not my native language.
Last edited: