Conditional Probability and law of total probability

Click For Summary

Homework Help Overview

The discussion revolves around a problem involving conditional probability related to weather forecasting and the likelihood of carrying an umbrella based on the forecast. Participants are tasked with determining the probability of rain given a forecast and the probability of not having an umbrella when it rains.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the use of conditional probability and Bayes' theorem to approach the problem. There are attempts to create a probability tree to visualize the relationships between events, though some express uncertainty about how to draw one. Others suggest calculating probabilities based on a hypothetical scenario of 1000 days to clarify the relationships between forecasted rain and actual rain.

Discussion Status

Participants are actively engaging with the problem, exploring different methods to approach the calculations. Some have provided partial solutions and insights, while others are questioning the assumptions and the completeness of the information provided in the problem. There is no explicit consensus on the second part of the question, indicating ongoing exploration.

Contextual Notes

Participants note that the problem may lack sufficient information to determine unique solutions for the second part regarding the number of days carrying an umbrella. The discussion reflects on the potential variability in answers based on the assumptions made.

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