MHB Bayes' theorem problem, Struggling with this the whole night, .Thank you.

  • Thread starter Thread starter hildanhk
  • Start date Start date
  • Tags Tags
    Thank you Theorem
hildanhk
Messages
2
Reaction score
0
Two states of nature exist for a particular situation: a good economy and a poor economy. An economic study may be performed to obtain more information about which of these will actually occur in the coming year. The study may forecast either a good economy or a poor economy. Currently there is 60% chance that the economy will be good and a 40% chance that the economy will be poor. In the past, whenever the economy was good, the economic study predicted it would be good 80% of the time. (The other 20% of the time the prediction was wrong.) In the past, whenever the economy was poor, the economic study predicted it would be 90% of the time.(The other 10% of the time the prediction was wrong.)

a) Use Bayes' theorem and find the following:
P(good economy| prediction of good economy)
P(poor economy| prediction of good economy)
P(good economy| prediction of poor economy)
P(poor economy| prediction of poor economy)

b) Suppose the initial (prior) probability of a good economy is 70% (instead of 60%), and the probability of a poor economy is 30% (instead of 40%). Find the posterior probabilities in part a based on these new values.
 
Mathematics news on Phys.org
Hi hildanhk,

Can you show us what you have tried so our helpers can see where you are stuck and can then offer help?:)
 
I am try to use the formula and plug the numbers in. But I could not get the correct answers.
P(A|B)= P(B|A)P(A)/P(B|A)P(A)+P(B|A')P(A')

For example, I put
P(good economy| prediction of good economy)= 0.8*0.6/0.8*0.6+0.9*0.6= 0.51

But the answer should be 0.923
 
hildanhk said:
I am try to use the formula and plug the numbers in. But I could not get the correct answers.
P(A|B)= P(B|A)P(A)/P(B|A)P(A)+P(B|A')P(A')

For example, I put
P(good economy| prediction of good economy)= 0.8*0.6/0.8*0.6+0.9*0.6= 0.51

But the answer should be 0.923

Welcome to MHB, hildanhk! :)

You seem to have mixed up the last part (0.9 * 0.6).

EDIT: The phrasing is somewhat confusing.
We have P(predict good | good) = 80%.
The remainder is P(predict poor | good) = 20%
And from P(predict poor | poor) = 90%,
we get that P(predict good | poor) = 10%.

So it should be (edited):
$$P(B|A')\ P(A') = P(\text{predict good}|\text{poor})\ P(\text{poor}) = 0.1 \cdot 0.4$$

So you should have:
$$P(\text{good}|\text{predict good}) = \frac{0.8 \cdot 0.6}{0.8 \cdot 0.6 + 0.1 \cdot 0.4} \approx 0.923$$
 
Last edited:
I have updated my previous post, since I made a mistake with my interpretation of the wording in the problem statement.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Back
Top