∴Logic WikiA library of reasoningSearch concepts, fallacies, and cases/中文

Probability and conditional probability

概率与条件概率

A probability statement needs an event, conditioning information, and a model.

P(A∩B)=P(A)P(B∣A)P(A\cap B)=P(A)P(B\mid A)

The concept and its limits

Probabilities lie between 0 and 1. Probabilities of disjoint events add; overlapping events require subtracting their intersection. Joint probability is generally P(A)P(B∣A), equaling P(A)P(B) only under independence.

Conditioning changes the reference population. The share trained among winners differs from the share winning among trainees.

Working through an example

Of ten people, six drink tea, five coffee, and three both. Eight drink at least one. Adding six and five directly counts the overlap twice.

Define the event and denominator

A probability calculation begins with a specified selection mechanism, population, and event. Twenty percent might describe returns among all orders or among delayed orders. Applying the latter proportion to all orders changes the denominator. Counting favorable outcomes works directly only when outcomes are equally likely; otherwise their probabilities must be added.

The following data are invented for teaching. Of 100 orders, 40 were delayed and 20 were returned; 12 had both features. For one randomly selected order, the probability of a return is 20/100. Given a delay, it is 12/40. Given a return, the probability of delay is 12/20. These are three different questions.

Original data: a complete classification of orders
OrdersReturnedNot returnedTotal
Delayed122840
Not delayed85260
Total2080100

Section sources: HKU T01, §§2, 4, 5: probability rules and conditional probability ↗

Combining events

Inclusive “A or B” counts outcomes in which both occur, so the overlap must be subtracted. In the example, the probability of delay or return is 0.4 + 0.2 − 0.12 = 0.48. The conditioning event must have positive probability for the elementary ratio definition; division by zero is unavailable.

For “and,” multiply the probability of A by the probability of B conditional on A. Different event names do not justify multiplying unconditional probabilities. Incorrectly assuming independence here gives 0.4 × 0.2 = 0.08, rather than the actual intersection of 0.12.

P(A∪B)=P(A)+P(B)−P(A∩B),P(A∩B)=P(A)P(B∣A)P(A\cup B)=P(A)+P(B)-P(A\cap B),\qquad P(A\cap B)=P(A)P(B\mid A)

Independence versus mutual exclusion

Mutual exclusion means events cannot occur together. Independence means that learning one has occurred does not change the probability of the other. Two mutually exclusive events with positive probabilities are dependent: occurrence of one makes the conditional probability of the other zero.

On one fair die, a result of 1 and a result of 2 are mutually exclusive but dependent. An even result and a result no greater than 3 each have probability 1/2, but their intersection contains only 2 and has probability 1/6. They too are dependent. Independence needs justification, not an impression of unrelatedness.

Try different events

Write down the events and denominator before calculating. Use the stated random mechanism; these models are not measurements of a real population.

Independent exercise 1

Choose an integer uniformly from 1 through 12. A means a multiple of 3; B means even. Find P(A or B), and decide whether A and B are independent.

Show answer and reasoning

A has 4 outcomes, B has 6, and their intersection contains 6 and 12. The union has probability (4 + 6 − 2)/12 = 2/3. The intersection probability, 1/6, equals (1/3) × (1/2), so these events are independent in this model, but not mutually exclusive.

Independent exercise 2

A bag contains 3 red balls and 2 blue balls. Draw two randomly without replacement. What is the probability both are red?

Show answer and reasoning

The first draw is red with probability 3/5. After a red draw, 2 of the 4 remaining balls are red, so the conditional probability is 2/4. Their product is 3/10. Squaring 3/5 ignores the change caused by sampling without replacement.

Check your understanding

Question: Are mutually exclusive events independent? Answer: Usually not; one occurring rules out the other.

References

  1. Critical thinking web ↗
    Joe Lau and Jonathan Chan · Critical Thinking Web · Selected sections
    Fallacies and scientific-method tutorials; statistics T01 §§2, 4–5 and T15 Bayesian confirmation
    Version, terms, and access scope