- #1
zzmanzz
- 54
- 0
Moved from a technical forum, so homework template missing
Hi,
I'm not sure whether my understanding of this question is correct:
An app predicts rain tomorrow. Recently, it has rained only 73 days each year. When it actually rains, the app correctly forecasts rain 70% of the time. When it does not rain, it incorrectly forecasts rain 30% of the time. What is the probability that it will rain tomorrow?
Hint : P(H|D) = P(H) * P (D|H) / P(D)
What I'm mainly confused about is the wording of the question. But here is my attempt:
I set:
H = rain,
D = app predicts rain
then solve for P(D)?
P(H|D) = .3
P(D|H) = .7
P(H) = .2
P(D) = predicts rain (rain tom)
P(D) = (.25 * .7 ) / .3
P(D) = .58
The probability that it will rain tomorrow is .58?
Thanks
I'm not sure whether my understanding of this question is correct:
An app predicts rain tomorrow. Recently, it has rained only 73 days each year. When it actually rains, the app correctly forecasts rain 70% of the time. When it does not rain, it incorrectly forecasts rain 30% of the time. What is the probability that it will rain tomorrow?
Hint : P(H|D) = P(H) * P (D|H) / P(D)
What I'm mainly confused about is the wording of the question. But here is my attempt:
I set:
H = rain,
D = app predicts rain
then solve for P(D)?
P(H|D) = .3
P(D|H) = .7
P(H) = .2
P(D) = predicts rain (rain tom)
P(D) = (.25 * .7 ) / .3
P(D) = .58
The probability that it will rain tomorrow is .58?
Thanks