Probability Math 42 Test October, 20 Dr. Pendergrass On my honor, I have neither given nor received any aid on this work, nor am I aware of any breach of the Honor Code that I shall not immediately report. Pledged: Print Name: Do these problems in your homework notebook, according to the same guidelines used for homework. You may use your class notes, and the lecture slides and notes posted on our class web-page. No other resources are allowed. This test is due at the beginning of class on Monday, October 4, 20.. Events A and B in a probability space have the following probabilities: a Find P A B. b Find P B A. c Find P A c B c. d Find P A c B c. e Are A and B independent? a P A B 0.8 b P B A 0.0 c P A c B c 0.0 d P A c B c 0. e No. P A 0.60, P B 0., P A B c 0.0 2. An all-seeing, all-knowing genie informs you that the Washington Nationals baseball team will go -48 at home next season i.e. wins, 48 losses for games played at their home stadium. If you go to 9 home games next year chosen at random, what is the probability that the Nationals lose each one? 48 0 9 8 9 26869.62 0 6 0220094. A seven-card hand is dealt from a well-shuffled deck of 2 ordinary playing cards. Find the probabilities of the following events: a P four of a kind, and three of another kind. b P three of a kind, and two pairs. c P at least one ace. d P straight. Note: a straight is cards in sequence. An ace can be either high or low in a straight. a 4 2 4 4 2 4.6642 0 6 649 Page of Question continues on next page...
Continuing question... Test Dr. Pendergrass 4 2 4 2 2 b 2 2 94 9.2 0 4 649 48 c 2 48 0.4496 d 8 4 2 892 86 9.92 0 4, or if you exclude the straight flushes, 8 4 4 2 8 8 9.949 0 4 4. In medical testing, a false positive occurs when the test indicates that the disease is present, when in fact no disease is present. A false negative occurs when the test indicates that no disease is present, when in fact disease is present. Let D be the event that disease is present, + be the event that the test is positive, and be the event that the test is negative. Suppose that a certain test has false positive rate P + D c 0.00, and false negative rate P D 0.000. Suppose also that the prevalence of the disease is relatively rare: P D 0 6. a If the test comes back positive, what is the probability that the patient has the disease? b If the test comes back negative, what is the probability that the patient does not have the disease? Note that P + D P D 0.999, and P D c P + D c 0.999. a By Bayes Theorem b Again by Bayes Theorem P D + P D c P D P + D P D P + D + P D c P + D c 0 6 0.999 0 6 0.999 + 0 6 0.00 9.98 0 4 P D c P D c P D P D + P D c P D c 0 6 0.999 0 6 0.000 + 0 6 0.999.00 0 0. A bag of candy contains 6 Reese s Cups, and 9 Snickers bars. Roll a fair six-sided die, and if the outcome is k, draw k pieces of candy out of the bag. a Find the probability that you get at least one Reese s Cup. b Let Y be the number of Reese s Cups you get. Find the probability mass function for Y. Page 2 of Question continues on next page...
Continuing question... Test Dr. Pendergrass a Let X be the result of the die toss, and condition on the value of X: P Y 0 6 P X j P Y 0 X j j 6 6 9 0 j 6 j j 2 000 Hence, P Y > 0 2/000 0.869. b For k {, 2,, 4,, 6} we have P Y k 6 6 P X j P Y k X j jk 6 6 9 k j k The mass function for Y is tabulated below: k 0 2 4 6 jk j 2 46 8 6 82 2 P Y k 000 00 00 00 0 000 approx. 0.2 0.602 0.22 0.22 0.02 0.002. 0 6. Urn I contains a one-dollar bill, Urn II contains two one-dollar bills and a ten-dollar bill, and Urn III contains three one-dollar bills, two ten-dollar bills, and a hundred-dollar bill. But the urns aren t labeled, so you don t know which is which. Choose an urn at random, and then pick a bill at random from that urn. Let X be the value of the bill you get. a Find the probability mass function for X. b Suppose that X. What is the probability that the bill came from Urn I? a Let W be the number of the selected urn, and condition on W : P X x P W w P X x W w w P X x W w w + 2 0 + + 6 + 2 6 0 + 0 + 6 8 if x 4 8 if x 0 8 if x 00 if x if x 0 if x 00 Page of Question 6 continues on next page...
Continuing question 6... Test Dr. Pendergrass b P W, X P W X P X P W P X W P X 8 6. Compute the probability that a -card poker hand is void in at least one suit. Consider the complementary event that a -card hand has at least one card from each suit. Then it must have exactly two cards from one suit, and exactly one card from each of the remaining suits. The probability of this is 4 2 2 29 80 So the probability of being void in at least on suit is 4 2 2 6 80 0.6 Alternate Number the suites, for example as follows: Hearts, 2 Clubs, Spades, 4 Diamonds. Let E i be the event that the hand is void in suite i, for i, 2,, and 4. We need to find P 4 i E i. We will use inclusion/exclusion. Note that Hence, by inclusion/exclusion 9 P E i 2, i 4 26 P E i E j 2, i < j 4 P E i E j E k 2, i < j < k 4 P E E 2 E E 4 0 P 4 9 4 ie i 2 26 4 2 2 + 4 2 6 80 8. If there are 2 strangers in a room, what is the probability that no two of them celebrate their birthday in the same month? Clearly state the basic assumptions you are making. Assume that each person is equally likely to be born in any of the twelve months. Then the probability that none of 2 individuals share the same birth-month is 2!/2 2.2 0. Page 4 of
Math 42 Test Dr. Pendergrass 9. Reorder the digits through 9 randomly. Call a reordering deranged if digit d does not appear in place d, for all d, 2,, 9. So for instance, 82469 is not deranged, since the digit 2 appears in place 2; but the reordering 82946 is deranged. Find the probability that a reordering is deranged. This is the Matching Problem with N 9. A deranged reordering corresponds to the situation in the Matching Problem in which no man gets his own hat. The probability of this is 9 n n! 668 460 0.69 n0 0. A man has n keys, one of which will open his door. a If he tries the keys at random, discarding those that do not work, what is the probability that he will open the door on his k th try? b What is the probability if he does not discard previously tried keys? a Assume that all the n! orderings of the keys are equally likely. The door is opened on the k th try if and only if the correct key is in position k in the reordering. The probability of this is n! n!, k, 2,,, n n b If previous keys are not discarded, then on any try, the correct key is chosen with probability /n, and an incorrect key is chosen with probability /n. It follows that the probability that the door opens on the k th try is k,, k, 2,, n n Page of