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

  • Context: MHB 
  • Thread starter Thread starter hildanhk
  • Start date Start date
  • Tags Tags
    Thank you Theorem
Click For Summary

Discussion Overview

The discussion revolves around applying Bayes' theorem to a problem involving probabilities related to economic forecasts. Participants are attempting to calculate posterior probabilities based on given prior probabilities and predictive accuracies of an economic study.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant presents a scenario with two states of nature (good economy and poor economy) and provides initial probabilities and predictive accuracies for an economic study.
  • Another participant requests clarification on the original poster's attempts to solve the problem, asking for details on what they have tried.
  • The original poster shares their calculations using Bayes' theorem but indicates they are not arriving at the expected results.
  • A later reply identifies a potential error in the original poster's calculations, specifically in the interpretation of the probabilities related to predictions of good and poor economies.
  • The same participant provides a corrected formula and calculation, suggesting that the original poster should arrive at approximately 0.923 for the probability of a good economy given a prediction of good economy.
  • The original poster acknowledges a mistake in their interpretation of the problem statement and updates their previous post accordingly.

Areas of Agreement / Disagreement

The discussion includes some agreement on the application of Bayes' theorem, but there is no consensus on the original poster's calculations until the corrections are acknowledged. The original poster's initial interpretation and calculations are contested.

Contextual Notes

Participants express uncertainty regarding the correct application of the formula and the interpretation of the problem statement. There are unresolved aspects related to the initial calculations and the correct understanding of the probabilities involved.

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.
 
Physics 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.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 38 ·
2
Replies
38
Views
10K
Replies
13
Views
4K