cancerp cancer p test pos no cancerp no cancer 08

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: test pos.) = P (test pos.) P (test pos. | cancer)P (cancer) = P (test pos. | cancer)P (cancer) + P (test pos. | no cancer)P (no cancer) 0.8 · 0.01 0.08 = = 0.0776. 0.8 · 0.01 + 0.096 · 0.99 0.08 + 0.9504 Debugging with Probabilities Consider the following program segment: if B then while B1 do S else while B2 do S Assume that P (B = true ) = p, P (B1 = true ) = 2/5, and P (B2 = true ) = 3/5. S prints the message ’good day’ in each iteration. Past evaluations have shown that the probability for exactly two ’good day’ messages is 3/25. Use a tree diagram to determ...
View Full Document

This homework help was uploaded on 03/11/2014 for the course STAT 330 taught by Professor Staff during the Spring '08 term at Iowa State.

Ask a homework question - tutors are online