Bayes' theorem

Explanation

For a defective part, the probability that it comes from machine A is its share of the defects: .

the cause
the observed effect

Examples

Example 1: simple

A class has 26 students. 11 study English, and 6 study both English and German. A student who studies English is chosen. What is the probability that this student also studies German? Give a fraction.

  1. We restrict to the 11 students of English: 6 of them also study German.

Answer:

Example 2: simple

A fair coin is tossed 3 times. What is the probability of exactly 1 head? Give a fraction.

  1. , .

Answer:

Example 3: medium

Machine A makes 20% of all parts and machine the rest. Defective parts are 2% of machine A' output and 5% of machine '. What percentage of all parts are defective? Give the answer in %.

  1. .
  2. .

Answer: 4.4%

Example 4: harder

1% of a population have a disease. A test is positive for 90% of the sick and for 10% of the healthy. A randomly chosen person tests positive. What is the probability that the person is sick? Give a fraction.

  1. , .
  2. .

Answer: