I’m teaching a probability course and came upon a rather perplexing problem.
At an amusement park, there is a 90% chance of all rides working if it does not rain. If it rains there is a 20% chance that all rides are working. Tomorrow there is a 40% chance of rain. What is the probability that all rides are working tomorrow?
I am trying to work it as an AND or OR problem but the complexity is really throwing me off.
This is a particular form of the law of total probability. P(A) = P(A|B)P(B) + P(A|B[sup]c[/sup])P(B[sup]c[/sup]). P(B) = .4, P(A|B) = .2 and P(A|B[sup]c[/sup]) = .9, so P(A) = .62.
I don’t mean to be rude, but this is a really basic problem. Anybody who’s teaching a probability class ought to be able to handle this.
You’re right. Normally I would be able to handle a problem like this. Like I said to Brazil, my mind is full of static right now. I’m operating on very little sleep, battling a migraine, and dealing with a new baby. My brain is complete mush. The problem makes perfect sense to me now, though.
I knew the basics of how to solve the problem, but thought that adding up the two values I found was just too simple of a solution.
Man, I posted my solution, and it was the right answer, but I edited out because I assumed it had to be more complicated and I didn’t want to look like an idiot.
(Of course, there’s no proof of this…but I swear I got 0.62!)
That’s exactly why I thought my answer would have been incorrect, bouv.
It boils down to a simple application of the Addition and Multiplication Rules.
(Rain AND Rides Work) OR (No Rain AND Rides Work)
= (.4)(.2) + (.6)(.9) = .62 = 62%
Since any rain at all counts as rain for this problem, it is impossible for it to rain and not rain tomorrow. So the events are indeed mutually exclusive and there is no need to account for the probability of (Rain AND Rides Work) AND (No Rain AND Rides Work) which we’d normally have to consider with the Addition Rule if the scenarios were not mutually exclusive.
Without using any formulas, this problem can also be easily solved using a Venn diagram or a probability tree. For something this basic, no real need for formulas.
There has to be something wrong with this logic, but it appears to produce the right answer. Bear in mind I have no maths training beyond high school, and I wasn’t particularly good at it even then. But here we are:
(Edit to add: please treat this as a question, not a GQ answer)
The probability of all rides working lies on a range between 20% and 90%. That is a range of 70.
The probability of rain determines where on this range the answer lies. 40% of 70 is 28.
So we reduce our probability by 40% of 70 by subtracting 28 from 90, giving 62%.
Nope, this approach actually works. It’s a little harder to understand than the “right” way, and I can’t see how to generalize to more than two states (e.g., no rain, light rain and heavy rain), but it will give you the right answer.
If anyone wants to play along at home, Paul is calculating (P(A|B[sup]c[/sup]) - P(A|B))P(B[sup]c[/sup]) + P(A|B). Showing that this is equal to P(A) is a nice little exercise in basic probability.
Let W = all rides work, R = rains. From the given info, we know P(W and R) = P(W | R)*P(R) = .20 * .40 = .08.
Since we know P(W) = .62, the answer is P(R | W ) = .08/.62 = .1290. I still prefer to use pictures, but it’s hard to post pictures.
I guess you’d have to just iterate it, starting with a pair of states and then adding others in one by one.
I used to do something like this in school to figure out what different scores on a final would give for a final grade. For example, I’d have a 75 in a class, and be writing a final worth 40% of the class grade. If I can get a 90 on the final, I’ll move 40% of the way from 75 to 90, so 81.
I kind of reasoned that answer out. That’s why I was so sure there had to be a problem - because the likelihood of a flaw in my reasoning seemed high. Of course, I hove no idea what I was actually doing in probability terms. It was just the first way that occurred to me to solve the problem.
Kinda cool that I got it right, though. I wasn’t expecting that.