‹ Class 12 · Ch 13
Probability · Principle 11 of 12

Before and after the evidence

Hypotheses Eᵢ; priori P(Eᵢ); a posteriori P(Eᵢ|A).

Stuck? Ask Guru

NCERT: 13.5 Bayes' Theorem

Think

A positive test

Example 18: 0.1% of a population have HIV. The test detects 90% of cases, and wrongly shows positive for 1% of people without HIV. A person tests positive.

How likely is it that this person has HIV?

What this lesson covers

The idea

In Bayes' theorem the events Eᵢ are hypotheses, P(Eᵢ) is the priori probability of Eᵢ, and P(Eᵢ|A) is its a posteriori probability after A is observed.

A positive test

Example 18: 0.1% of a population have HIV. The test detects 90% of cases, and wrongly shows positive for 1% of people without HIV. A person tests positive.

How likely is it that this person has HIV?

  • less than 10%
  • about 90%
  • about 99%

Priori and posteriori

Find P(A), switch on “given A” and tap E’s piece. Then change the priori probability.

Hypotheses, priori and posteriori probabilities

In Bayes’ theorem the events E₁, …, Eₙ are the hypotheses. P(Eᵢ) is the priori probability of Eᵢ: before A is observed. P(Eᵢ|A) is the a posteriori probability of Eᵢ: after A is observed.

Exactly one of the hypotheses happens. Bayes’ theorem updates the priori probability to the posteriori one.

Example 18: P(E) = 0.001 is the priori probability; P(E|A) = 0.0009/0.01089 = 90/1089 ≈ 0.083 is the posteriori probability.

Notes

Hypotheses E₁, …, Eₙ. Priori: P(Eᵢ), before. A posteriori: P(Eᵢ|A), after A is observed.

Check yourself

In Example 18, the probability 0.001 that a person has HIV is the …

In Bayes’ theorem, the events E₁, E₂, …, Eₙ are called …

Exercise 13.3, Q5: a test detects a disease 99% of the time and gives a false positive for 0.5% of healthy people. 0.1% of people have the disease. Find P(disease | positive). (Decimals are fine.)

Answer: 22/133

0.00099/(0.00099 + 0.004995) = 0.00099/0.005985 = 22/133 ≈ 0.165.

  • a posteriori probability. That is P(E|A), after the test result.
  • priori probability — correct. Yes! It is known before the test.
  • hypothesis. The hypothesis is the event E itself, not its probability.
  • hypotheses — correct. Yes! One of them is the true cause of A.
  • posteriori events. Posteriori describes P(Eᵢ|A), a probability.
  • independent events. They form a partition, so they are mutually exclusive.