Applying Bayes' theorem

贝叶斯公式的应用

How is Bayes used in diagnostic testing?

The prevalence is the prior; sensitivity and false-positive rate are conditional probabilities; the posterior often surprises people.

ApplicationKP000848

Sign in to read the whole lesson, with 1 exercise

Sign in / Sign up

Mastery goals

  • Can solve diagnostic-testing and similar problems with Bayes' theorem
  • Can explain how base rates affect posterior probabilities

Generalizing question (2) of Example 5 gives Bayes' formula.

Bayes' formula (optional, not examined): Let , , …, be pairwise mutually exclusive events with and , . Then for any event with ,

A₁A₂…AₙBΩ
The rectangle is the sample space , split by vertical lines into the pairwise mutually exclusive , , …, ; the circle is the event , which the lines cut into the pieces , , …, .

Bayes' formula was discovered by the English mathematician Thomas Bayes (–). It describes how two conditional probabilities are related.

Example 6

In digital communication, a signal is a sequence of the digits and . Because of random interference, a or that is sent may be wrongly received as or . When is sent, it is received as with probability and as with probability ; when is sent, it is received as with probability and as with probability . Assume that sending and sending are equally likely.

(1) Find the probabilities that the signal received is and that it is .

(2) (Optional) Given that the signal received is , find the probability that the signal sent was .

Analysis: Let "the signal sent is " and "the signal received is ". To make the problem easier, all the information in it can be shown in a picture, Figure 7.1-4.

0.90.950.10.05send 0 (A)receive 0 (B)send 1 (Ā)receive 1 (B̄)
Figure 7.1-4: the signals sent are on the left and the signals received are on the right. The number on each line is the probability of receiving the right-hand signal when the left-hand one is sent: , , , .

Solution: Let "the signal sent is " and "the signal received is ". Then "the signal sent is " and "the signal received is ". From the problem,

(1) ,

.

(2) .

Related points

All points in this topic

Cite this page: Applying Bayes' theorem · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP000848