hmwk_10 - (b if you are tested and the result is negative...

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

View Full Document Right Arrow Icon
Discrete Structures Oct 24 2011 Assignment 10: Due at beginning of class Monday, Nov 7 Prof. Hopcroft *******Note: this homework is subject to the style guide on the website. Points will be deducted for homeworks not following the guidelines.******** *******Please print out and staple the grade sheet to the back of your homework!****** 1. An event is a subset of a sample space. Given two events A and B derive the formula for calculating the probability of the event A given that the event B occurs. 2. Events A and B are independent if P ( A B ) = P ( A ) P ( B ) . Prove that if A and B are independent events, the occurrence of B does not change the probability of A. Show P ( A | B ) = P ( A ) 3. Suppose 4% of individuals that are tested for the flu actually have the flu. Furthermore, suppose that the test responds positively to 97% of individuals with the flu and responds positive to 3% who do not have the flu. What is the probability that (a) if you are tested and the result is positive what is the probability that you actually have the flu?
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (b) if you are tested and the result is negative what is the probability that you actually have the flu? 4. In Bayes Rule there are three parameters: how rare the disease is, how accurate the test is, and how inaccurate for false positives. Explore how accurate the test needs to be as a function of how rare the disease is. Present your results in an informative way. 5. You are given two graphs, G 1 and G 2 . Graph G 1 is such that, each node has a distinct degree. In other words, no two nodes in G 1 have the same degree. Write out an algorithm to test whether or not G 1 and G 2 are isomorphic. Thought Problem: No need to hand in. A family of hash functions H = { h |{ , 1 ,...,p-1 } → { , 1 ,...,p-1 }} is k-universal if for all X = { x 1 ,x 2 ,...x k } and Y = { y 1 ,y 2 ,...y k } the sets X and Y are independent. Think of an example of a 1-universal but not 2-universal family, also think of a 3-universal family. 1...
View Full Document

This note was uploaded on 11/11/2011 for the course CS 2800 at Cornell.

Ask a homework question - tutors are online