Conditional Probability and law of total probability

Click For Summary
SUMMARY

The discussion centers on calculating conditional probabilities related to weather forecasts and umbrella usage. Given a 40% chance of rain, a forecast predicts rain with an 80% accuracy when it rains and a 10% false positive rate when it does not. The first part of the solution involves using Bayes' theorem to find P(R | FR), which is calculated as P(FR | R)P(R)/(P(FR | R)P(R)+P(FR | R^c)P(R^c)). The second part requires analyzing umbrella usage based on the provided probabilities and constructing a probability table to derive the likelihood of not having an umbrella when it rains.

PREREQUISITES
  • Understanding of conditional probability
  • Familiarity with Bayes' theorem
  • Ability to construct and interpret probability trees
  • Basic knowledge of probability tables
NEXT STEPS
  • Learn how to construct and utilize probability trees for complex probability problems
  • Study advanced applications of Bayes' theorem in real-world scenarios
  • Explore the law of total probability and its implications in statistical analysis
  • Practice solving conditional probability problems with varying conditions and outcomes
USEFUL FOR

Students studying probability theory, statisticians, data analysts, and anyone interested in understanding the applications of conditional probability in real-world situations.

HaLAA
Messages
85
Reaction score
0

Homework Statement


It rains in a city with a chance of 0.4. The weather forecast is not always accurate. When there will be a rain the next day, the forecast predicts the rain with probability 0.8; When there is no rain, the forecast falsely predicts a rain with probability 0.1. You take your umbrella every time rain is forecast, and you take your umbrella 25% of the times when rain is not forecast. Find the chance that it actually rains given that the forecast predicts rain. Given that it rains, what is the probability that you do not have your umbrella?

Homework Equations


Conditional probability

The Attempt at a Solution


Let R be the event about rain tomorrow, FR be the event about weather forecast predicts will rain tomorrow and U about I bring my umbrella.

I got the first part, P(R | FR) = P(FR | R)P(R)/(P(FR | R)P(R)+P(FR | R^c)P(R^c))

But I don't know how to do the second part.
 
Physics news on Phys.org
HaLAA said:

Homework Statement


It rains in a city with a chance of 0.4. The weather forecast is not always accurate. When there will be a rain the next day, the forecast predicts the rain with probability 0.8; When there is no rain, the forecast falsely predicts a rain with probability 0.1. You take your umbrella every time rain is forecast, and you take your umbrella 25% of the times when rain is not forecast. Find the chance that it actually rains given that the forecast predicts rain. Given that it rains, what is the probability that you do not have your umbrella?

Homework Equations


Conditional probability

The Attempt at a Solution


Let R be the event about rain tomorrow, FR be the event about weather forecast predicts will rain tomorrow and U about I bring my umbrella.

I got the first part, P(R | FR) = P(FR | R)P(R)/(P(FR | R)P(R)+P(FR | R^c)P(R^c))

But I don't know how to do the second part.
For these problems I always use a probability tree. Its especially useful when it gets complicated by a third variable.
 
PeroK said:
For these problems I always use a probability tree. Its especially useful when it gets complicated by a third variable.
I don't see how to draw probability tree.
 
HaLAA said:
I don't see how to draw probability tree.
Is that something you've never been taught?
 
PeroK said:
Is that something you've never been taught?
I never learn how to draw a tree
 
HaLAA said:
I never learn how to draw a tree
Ok. I suggest you work out the 4 probabilities: FR+R, FR+NR, FNR+R, FNR+NR and see whether that gives you any ideas.
 
HaLAA said:

Homework Statement


It rains in a city with a chance of 0.4. The weather forecast is not always accurate. When there will be a rain the next day, the forecast predicts the rain with probability 0.8; When there is no rain, the forecast falsely predicts a rain with probability 0.1. You take your umbrella every time rain is forecast, and you take your umbrella 25% of the times when rain is not forecast. Find the chance that it actually rains given that the forecast predicts rain. Given that it rains, what is the probability that you do not have your umbrella?

Homework Equations


Conditional probability

The Attempt at a Solution


Let R be the event about rain tomorrow, FR be the event about weather forecast predicts will rain tomorrow and U about I bring my umbrella.

I got the first part, P(R | FR) = P(FR | R)P(R)/(P(FR | R)P(R)+P(FR | R^c)P(R^c))

But I don't know how to do the second part.

Consider, say, 1000 identical days. The given data implies that in 400 of those days it will rain (R), while 600 of those days will have no rain (N).

In the 400 rainy days, forecasted rain (FR) occurred on 80/% × 400 = 320 days, and forecasted no rain (FN) on 400-320 = 80 days.

In the 600 non-rainy days, forecasted rain occurred on 0.1 × 600 = 60 days and forecasted no-rain on 600-60 = 540 days.

To summarize:
$$\begin{array}{c|cc|c}
& \text{R} & \text{N} & \text{Total}\\ \hline
\text{FR} & 320 & 60 & 380 \\
\text{FN} & 80 & 540 & 620 \\ \hline
\text{Total} & 400 & 600 & 1000
\end{array}
$$
From this table you can easily read off the solution to part 1, and you should get the same result as you do from using Bayes.

To do the second part, look carefully at the stated assumptions about U (the number of umbrella days) in the different cells of the table. Do you think that enough information was given in the problem to allow you to fill in the precise U-amounts in both cells of row FN? Does the second part have a unique solution, or are a variety of answers possible while respecting the precise wording given in the problem? Is there a most plausible solution?

After doing part 2 using the above tabular method, it might be fun to translate all that back into Bayesian language.
 
Last edited:

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
8K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
1
Views
12K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
5K