

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Mid-term Exam 1 and solution for STAT/MATH 511, Fall 2008
You have exactly 50 minutes to work on this exam. To get full credits, you should write down complete work instead of just final answer. Partial credits are assigned. Good luck.
Problem 1. (20 points) An experiment involves rolling two balanced dice once at the same time. Define Y to be the sum of the numbers faced up on the two dice. (1) Find the probability distribution of Y. Answer: The probability distribution of Y is y 2 3 4 5 6 7 8 9 10 11 12
p(y) 1/36 2/36 3/36 4/36 5/36 6/36 5/36 4/36 3/36 2/36 1/ (2) Find the expected value of Y. Answer: E(Y)=7.
Problem 2. (20 points) In a large city, it is established that 0.5% of the population has contracted AIDS. The available tests give the correct diagnosis for 80% of healthy persons for 98% of sick persons. A person is tested and found sick. Find the probability that the diagnosis is wrong, that is, that the person is actually healthy.
Answer: Define A={a person is healthy} and B={a person is tested healthy}. Then we have P ( A¯) = 0.005, P (A) = 1 − 0 .005 = 0.995, P (B|A) = 0.80, P ( B¯| A¯) = 0.98. We want P (A| B¯). Using Bayes’ rule, we have
P (A| B¯) = P^ (A)P^ (
Problem 3. (20 points) A city commissioner claims that 80% of the people living in the city favor garbage collection by contract to a private company over collection by city employees. To test the commissioner’s claim, 20 city residents are randomly selected, yield 17 who prefer to contracting to a private company. (1) If the commissioner’s claim is true, what is the probability that the sample would contain exactly 17 who prefer contracting to a private company?
(2) If the commissioner’s claim is true, what is the probability that the sample would contain at least 17 who prefer contracting to a private company?
Answer: Let Y denote the number of residents out of the 20 selected that prefer to con- tracting to a private company when the commissioner’s claim is true. Then Y ∼ B(20, 0 .8). (1) P (Y = 17) = P (Y ≤ 17) − P (Y ≤ 16) = 0. 794 − 0 .589 = 0. 205 (2) P (Y ≥ 17) = 1 − P (Y ≤ 16) = 1 − 0 .589 = 0. 411
Problem 4. (20 points) (1) The definition of mutually independence among events A, B, and C requires several conditions. One of them is: P (A ⋂^ B) = P (A)P (B). List all the other conditions.
Answer: The other three conditions are P (A ⋂^ C) = P (A)P (C), P (C ⋂^ B) = P (C)P (B) and P (A ⋂^ B ⋂^ C) = P (A)P (B)P (C). (2)If A, B, and C are mutually independent, show that (A ⋃^ B) and C are independent. Proof: We only need to show that P ((A ⋃^ B) ⋂^ C) = P (A ⋃^ B)P (C). Notice that (A ⋃^ B) ⋂^ C = (A ⋂^ C) ⋃(B ⋂^ C) by distributive law. Following the inclusion-exclusion for- mula for two events, we have
P ((A
⋂ C)
⋃ (B
⋂ C)) = P (A
⋂ C) + P (B
⋂ C) − P ((A
⋂ C)
⋂ (B
⋂ C)) = P (A)P (C) + P (B)P (C) − P (A
⋂ B
⋂ C) = P (A)P (C) + P (B)P (C) − P (A)P (B)P (C) = [P (A) + P (B) − P (A
⋂ B)]P (C) = P (A
⋃ B)P (C)
The conditions of mutually independence in (1) were used in the above steps.
Problem 5. (20 points) State and prove the law of total probability.
Answer: See Theorem 2.8 on page 70 in the Textbook.