St · Statistics & Probability

Given That It Rains, What Is the Probability You Have No Umbrella?

Published By the 9to5Science editorial team

At a glance

  1. 1. Identify the condition

    The condition is that it rains, so rainy days form the group you consider.

  2. 2. Count matching cases

    Within that group, count the days when you also do not have an umbrella.

  3. 3. Divide the counts

    Divide rainy days without an umbrella by all rainy days.

  4. 4. Check the information

    If the counts or equivalent probabilities are missing, the probability cannot be determined.

Advertisement

The phrase “given that it rains” makes this a conditional probability: you are asking about umbrella status only among occasions when it rains. The probability is not determined by the wording alone; you need data about rain and whether you have your umbrella.

Let RR mean “it rains” and NN mean “you do not have your umbrella.” Then the quantity is P(N∣R)P(N\mid R), read “the probability of no umbrella given rain.”

The conditional-probability formula

For events NN and RR, provided P(R)>0P(R)>0,

P(N∣R)=P(N∩R)P(R).P(N\mid R)=\frac{P(N\cap R)}{P(R)}.

Here, N∩RN\cap R means both things happen: it rains and you do not have your umbrella. The denominator is the probability of rain, because rain is the condition that narrows the set of cases you are considering.

If you have counts rather than probabilities, use the equivalent form:

P(N∣R)=number of rainy occasions with no umbrellanumber of rainy occasions.P(N\mid R)=\frac{\text{number of rainy occasions with no umbrella}}{\text{number of rainy occasions}}.

The answer is a proportion between 0 and 1, or that proportion multiplied by 100 to express it as a percentage.

Worked example

Suppose you review 100 days and record the weather and whether you have an umbrella. The results are:

Have umbrellaNo umbrellaTotal
Rain301040
No rain204060
Total5050100

There were 40 rainy days. On 10 of those days, you did not have an umbrella. Therefore,

P(N∣R)=1040=0.25.P(N\mid R)=\frac{10}{40}=0.25.

So, in this example, the probability that you lack your umbrella given that it rains is 25%. Notice that the calculation uses only the rainy row of the table. The 40 days without rain do not belong in the denominator.

What information is needed?

The question does not provide counts, probabilities, or a model for how rain and umbrella use are related. Consequently, it does not have one numerical answer without additional information. For example, someone who checks the forecast and carries an umbrella may have a different probability from someone who rarely carries one.

You can calculate the answer if you know either:

  • counts for the relevant cases, such as the number of rainy occasions and the number of those occasions with no umbrella; or
  • the probabilities P(N∩R)P(N\cap R) and P(R)P(R).

If you know only the overall chance of having no umbrella, P(N)P(N), that is generally not enough. You also need to know how umbrella status is related to rain.

If the information is given in another form

Sometimes the data provide the reverse conditional probability, P(R∣N)P(R\mid N), along with other probabilities. That is not the same as P(N∣R)P(N\mid R): the first asks how often it rains when you lack an umbrella, while the second asks how often you lack an umbrella when it rains.

If you know P(R∣N)P(R\mid N), P(N)P(N), and P(R)P(R), Bayes’ rule gives

P(N∣R)=P(R∣N)P(N)P(R).P(N\mid R)=\frac{P(R\mid N)P(N)}{P(R)}.

For instance, suppose P(R∣N)=0.4P(R\mid N)=0.4, P(N)=0.2P(N)=0.2, and P(R)=0.25P(R)=0.25. Then

P(N∣R)=0.4×0.20.25=0.32.P(N\mid R)=\frac{0.4\times 0.2}{0.25}=0.32.

Under those assumed values, the conditional probability is 32%. This calculation is valid only when the supplied probabilities describe the same population and time period.

If you are told that having an umbrella and rain are independent, then P(N∣R)=P(N)P(N\mid R)=P(N). Independence is an extra assumption, not something implied by the question. In real situations it may be implausible because people often decide whether to carry an umbrella based on the forecast.

Common mistakes

  • Using the wrong denominator: Divide by the number of rainy occasions, not by all occasions.
  • Reversing the condition: P(N∣R)P(N\mid R) and P(R∣N)P(R\mid N) answer different questions.
  • Using P(N)P(N) alone: The overall probability of no umbrella does not determine the probability among rainy occasions unless you also have relevant information, such as independence.
  • Assuming a number from the wording: No numerical value can be calculated until counts or suitable probabilities are provided.

When you have a two-way table, find the row or column matching the condition first. Then divide the count in that group that also satisfies the event of interest by the total count in the group.

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.