45-733 PROBABILITY AND STATISTICS I Final Examination Answers
Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(10 Points)
1. Suppose X has the discrete probability distribution:æ q(1 - q)x x = 0,1,2, ... f(x) = ç è 0 otherwiseFind the maximum likelihood estimator for q.
Ù _ Hence, q = n/(n + åi=1,nxi) = 1/(1 + Xn)
Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(10 Points)
2. Independent random samples are taken from the output of two machines on a production line to check the weight of the items being manufactured. From the first machine a sample of 36 is taken with a mean weight of 120 grams and an s2 of 4. From the second machine a sample of 64 is taken with a mean weight of 130 grams and an s2 of 5. Assuming that the weights for both machines are normally distributed and the machines operate independently, find 99 percent confidence limits for the difference in the true means.The Confidence Interval is: _ _ _ _ P{Xn - Ym - za/2[sx2/n + sy2/m]1/2 < mx - my < Xn - Ym + za/2[sx2/n + sy2/m]1/2} = 1 - a Our confidence limits are: 120 - 130 ± 2.33[4/36 + 5/64]1/2 = -10 ± 1.0136 (-11.0136, -8.9864)
Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(10 Points)
3. Suppose the bivariate continuous distribution of X and Y is:æ (x + y)/8 0 < x < 2 f(x,y) = ç 0 < y < 2 è 0 otherwiseFind P(X > 1 | Y < 1).
Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(10 Points)
4. The same examination is given to two classes of students in statistics. The first class of 51 students has a mean score of 75 with an s2 of 100. The second class of 41 students has a mean score of 80 with an s2 of 121. Test the hypothesis that the true mean scores are the same against the hypothesis that the true mean scores are not the same (a = .05). Compute the P-Value of the test using EViews.The decision rule for this problem is: _ _ If (Xn - Ym)/(s12/n + s22/m)1/2 > za/2 or _ _ (Xn - Ym)/(s12/n + s22/m)1/2 < -za/2 then Reject Ho: _ _ If -za/2 < (Xn - Ym)/(s12/n + s22/m)1/2 < za/2 then Do Not Reject Ho: za/2 = 1.96 _ _ (Xn - Ym)/(s12/n + s22/m)1/2 = (75 - 80)/[100/51 + 121/41]1/2 = -2.256-2.256 < -1.96 so Reject H0:
Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(10 Points)
5. You are curious about whether or not the claims of a soft-drink maker that their plastic bottles always contain 16oz of soda pop are true. You randomly open 11 bottles and obtain the following measurements (in ounces):_ If (Xn - mo)/s/n1/2 < -ta then Reject Ho: _ If -ta < (Xn - mo)/s/n1/2 then Do Not Reject Ho: -t.01,10 = -2.764
_ (Xn - mo)/s/n1/2 = (15.736 - 16)/.2461/111/2 = -3.5579 Hence, Reject H0: P-Value = .00019
Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(10 Points)
6. Suppose we know that exactly one of the following hypotheses must be true:H0: m = 115The population sampled has a normal distribution and the sample size is 36. Find a and b for the decision rule:
s2 = 400 H1: m = 120
_ If Xn < 118.5 then do not reject H0: _ If Xn > 118.5 then reject H0:
_ _ a = P(Xn > 118.5 | m = 115) = P[(Xn - 115)/20/6 > (118.5 - 115)/20/6] = P(Z > 1.05) = 1 - F(1.05) = .1469 _ _ b = P(Xn < 118.5 | m = 120) = P[(Xn - 120)/20/6 < (118.5 - 120)/20/6] = P(Z < -.45) = F(-.45) = .3264
Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(10 Points)
7. Suppose that X1 , X2 , and X3 are independently distributed and that X1 ~ N(4, 9), X2 ~ N(3, 10), and X3 ~ N(-2, 9). Find P(3X1 – 5X2 + X3 - 5 > -7).Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(10 Points)
8. We conduct a survey of Flex-Time and Flex-Mode students who survived Prob-Stat I in 1997 and 1998. For 1997 61 of 82 randomly chosen students said they would rather have 5 root canals than re-take Prob-Stat I. For 1998 73 of 90 randomly chosen students said they would rather have 5 root canals than re-take Prob-Stat I. Do these results indicate a significant difference in the proportions of students who would rather have the root canals between the two years (a = .01). Compute the P-Value of the test using Eviews.Ù Ù p1 - p2 Test: ------------------------- > za/2 or < - za/2 Reject H0: Ù Ù Ù Ù [p1(1 - p1)/n1 + p2(1 - p2)/n2]1/2 z.005 = 2.58 Ù Ù p1 = 61/82 = .744, p2 = 73/90 = .811 Test Statistic = (.744 - .811)/[(.744*.256)/82 + (.811*.189)/90]1/2 = -1.056 Hence, Do Not Reject H0: P-Value = .291
Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(5 Points)
9. Suppose that the proportion of defective SIMMs in a large shipment to our computer manufacturing plant is known to be .009. We take a random sample of 1000 SIMMs. What is the probability that at most 12 are defective but not less than 3 are defective.Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(10 Points)
10. A large shipment of roller bearings is delivered to your machine shop. You take a random sample of 80 roller bearings and find that 4 are defective. Compute 95 and 99 percent confidence limits for the true proportion of defective roller bearings.Confidence Limits are: Ù Ù Ù p ± za/2[p(1 - p)/n]1/2 Ù p = 4/80 = .05, z.025 = 1.96, z.005 = 2.58 .05 ± 1.96*[(.05*.95)/80]1/2 = .05 ± .0478 so the 95% limits are: (.0022, .0978) .05 ± 2.58*[(.05*.95)/80]1/2 = .05 ± .0629 so the 99% limits are: (-.0129, .1129) or (.0, .1129) since proportions cannot be less than zero.
Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(10 Points)
11. You have a very large greenhouse and you grow a very large number of orchids. You are curious about the variability of the heights of your orchids so you take a random sample and obtain the following heights (in inches):12.1 12.3 12.8 12.0 11.9 12.5 13.1 12.9 12.7 12.4 12.5Assume that orchid height is normally distributed. Construct 98 and 99% confidence limits for the true variance.
Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(10 Points)
12. Pitt and GSIA students independently take an identical Prob-Stat I final examination. Assume that the scores in both populations are normally distributed. We draw a random sample 7 GSIA students and find their scores to be:116 119 125 121 120 118 110and we draw a random sample of 10 Pitt students and find their scores to be:
110 111 109 105 100 111 106 111 112 103Test the null hypothesis that the variances of the two populations are the same against the alternative hypothesis that variances are not the same (a = .01). Compute the P-Value of the test using Eviews.
Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(10 Points)
13. In a certain large city here in the U.S. 30% of the people are Republicans, 45% are Democrats, 15% Reform, and 10% are independents. A public opinion poll is taken and it is found that 70% of Republicans, 30% of Democrats, 40% of Reformers, and 50% of Independents favor cutting taxes. If a person is selected at random from the population and it is found that she does not favor cutting taxes, what is the probability that she is a Democrat.Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(10 Points)
14. Suppose we draw 6 cards randomly from a standard deck of 52 playing cards. What is the probability that we get 3 cards from one suit in consecutive order and 3 cards from a second suit in consecutive order (e.g., 3§ , 4§ , 5§ , 10© , J© , Q© ; or Q¨ , K¨ , A¨ , 7ª , 8ª , 9ª ; etc.).æ4öæ11öæ11ö ç ÷ç ÷ç ÷ è2øè 1øè 1ø P(E) = ---------- æ52ö ç ÷ è 6ø
Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(10 Points)
15. On any given day 200 customers visit our computer store in the mall. The amount spent by each customer is a random variable with a mean of $40 and a standard deviation of $100, and it is independent across customers. What is the probability that our store’s revenue on any given day will be between $7000 and $10,000.Probability and Statistics
Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole
(10 Points)
16. We have a hydraulic system that has 20 components. Suppose that the probability that any component will fail is .10 and the components fail independently. Given that at least 4 components have failed, what is the probability that at least 5 components have failed.