02.03.2013 Views

Downloadable - About University

Downloadable - About University

Downloadable - About University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

218 Revising judgments in the light of new information<br />

Events<br />

0.7<br />

Component isOK<br />

Component is defective<br />

New information<br />

Prior probabilities Conditional probabilities<br />

0.8<br />

Component passes test<br />

Component failstest<br />

0.2<br />

0.3 0.1<br />

Component passes test<br />

Component fails test<br />

0.9<br />

Joint probabilities<br />

0.7 × 0.2 = 0.14<br />

0.3 × 0.9 = 0.27<br />

p(component fails test) = 0.41<br />

Figure 8.2 – Applying Bayes’ theorem to the components problem<br />

that a component will fail the test given that it is ‘OK’ is 0.2 (i.e.<br />

p(fails test|‘OK’) = 0.2). Given that our component did fail the test, we<br />

are not interested in the branches labeled ‘component passes test’ and in<br />

future diagrams we will exclude irrelevant branches.<br />

We now calculate the probability of a component failing the test. First<br />

we determine the probability that a component will be ‘OK’ and will<br />

fail the test. This is, of course, a joint probability and can be found by<br />

applying the multiplication rule:<br />

p(OK and fails test) = 0.7 × 0.2 = 0.14<br />

Next we determine the probability that a component will be defective<br />

and will fail the test:<br />

p(defective and fails test) = 0.3 × 0.9 = 0.27<br />

Now a component can fail the test either if it is ‘OK’ or if it is defective,<br />

so we add the two joint probabilities to obtain:<br />

p(fails test) = 0.14 + 0.27 = 0.41<br />

The posterior probability is then found by dividing the appropriate<br />

joint probability by this figure. Since we want to determine the posterior

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!