Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
1) Given independent random variables with means and standard deviations as shown, find the mean and standard deviation of: a)2Y + 20 b) 3X c) 0.25X + Y d) X β 5Y e) X1 + X2 + X3 X Y Mean 80 12 SD 12 3 SOLUTION to #1: a) πΈ(2π + 20) = 2πΈ(π) + 20 = 44 b) πΈ(3π) = 3πΈ(π) = 240 ππ·(2π + 20) = ππ·(2π) = 2ππ·(π) = 6 ππ·(3π) = 3ππ·(π) = 36 c) πΈ(0.25π + π) = 0.25πΈ(π) + πΈ(π) = 32 ππ·(0.25π + π) = β0.252 122 + 32 = β18 = 4.2426 d) πΈ(π β 5π) = πΈ(π) β 5πΈ(π) = 20 ππ·(π β 5π) = β122 + 52 32 = β369 = 19.2094 e) πΈ(π1 + π2 + π3 ) = πΈ(π1 ) + πΈ(π2 ) + πΈ(π3 ) = 3πΈ(π) = 240 ππ·(π1 + π2 + π3 ) = β122 + 122 + 122 = 20.7846 2) Justin Thyme needs to get from from Anytown to Cityville. The quickest way for Justin to do so is to take a train from Anytown to Boondocksburg, and then from Boondocksburg to Cityville. The travel time for the train from Anytown to Boondocksburg varies normally with mean 127 minutes and standard deviation 8 minutes, while the travel time for the train from Boondocksburg to Cityville varies normally with mean 93 minutes and standard deviation 4 minutes. The layover in Boondocksburg (i.e., the time Justin has to wait for the next train) is 45 minutes. Justin leaves the train station in Anytown at noon and is supposed to meet his friend at the train station in Cityville by 4:15. What is the probability heβll make it in time? SOLUTION to #2: The ultimate question is this β¦ what is the probability that the total travel time will be less than 4 hours and 15 minutes (i.e., 255 minutes)? In symbols, we want π(π β€ 255). In order to answer this question we need to define some variables. Let X = travel time from A to B (which varies normally with mean and standard deviation as given above) Let Y = travel time from B to C (which also varies normally with mean and standard deviation as given above) Let T = X + Y + 45 (which is the sum of the two travel times and the layover in Boondocksburg β note that T will also vary because X and Y both vary.) Remember that our goal is to find π(π β€ 255). To answer probability questions about T, we need to know its distribution. Since T is the sum of a constant and two random variables that each follow normal distributions, we know that T will also be normally distributed with a mean of π¬(π») = π¬(πΏ) + π¬(π) + ππ = πππ and a standard deviation of πΊπ«(π») = βππ + ππ = βππ = π. ππππ. Now that we know the distribution of T, we can answer probability questions by using z-scores and the standard normal table or the normalcdf command on our calculators. 255 β 265 π(π β€ 255) = π (π β€ ) = π(π β€ β1.1180) = 0.1318 8.9443 So, thereβs about a 13% chance that Justin will make it to Cityville in time to meet his friend. 3) The probability model below describes the number of repair calls that an appliance repair shop may receive during an hour. a) b) c) d) e) Repair Calls 0 1 2 3 4 5 Probability 0.1 0.11 0.24 0.35 0.13 0.07 How many calls should the shop expect per hour? What is the variance and the standard deviation? What is the probability that the shop will have at most 3 repair calls during a randomly selected hour? What is the probability that the number of repair calls will be within 1 SD of the expected number? If the number of repair calls is independent from hour to hour, what is the probability that the shop will have a total of at most 6 calls during two randomly selected hours? SOLUTION to #3: a) Multiply each value by its associated probability and add the results. (0)(0.1) + (1)(0.11) + β¦ = 2.51. b) Multiply the squared deviation of each value from the mean by its associated probability and add the results. The variance is VAR(X) = (0-2.51)2(0.1) + (1-2.51)2(0.11) + (2-2.51)2(0.24) + β¦ = 1.7499 and the standard deviation is the square root of the variance, or SD(X) = 1.3228. c) π(π β€ 3) = 0.1 + 0.11 + 0.24 + 0.35 = 0.80. Or, noting that only 4 and 5 are NOT included, we could more easily calculate π(π β€ 3) = 1 β (0.13 + 0.07) = 0.80. d) Note that π β π = 2.51 β 1.32 = 1.19 and π + π = 2.51 + 1.32 = 3.83. Both 2 and 3 are between these values, so the desired probability is P(2) + P(3) = 0.24 + 0.35 = 0.59. e) We need to determine the probabilities of obtaining anywhere from 0 to 6 calls over two independently selected hours. Here are the possibilities and their probabilities. No. of calls 0 1 2 3 4 5 6 Possibilities Probability 00 (this means 0 1st hour, 0 2nd hour) (.1)(.1)=0.01 01 or 10 (.1)(.11)(2) = 0.022 02 or 11 or 20 (.1)(.24)(2) + (.11)(.11)=0.0601 03, 12, 21, 30 (.1)(.35)(2)+(.11)(.24)(2)=0.1228 04, 13, 22, 31, 40 (.1)(.13)(2)+(.11)(.35)(2)+(.24)(.24)=0.1606 05, 14, 23, 32, 41, 50 [(.1)(.07)+(.11)(.13)+(.24)(.35)](2)=0.2106 15, 24, 33, 42, 51 [(.11)(.0 7)+(.24)(.13)](2)+(.35)(.35)=0.2003 π·(π β€ π) = π. ππππ (the sum of the above probabilities) Hmmm β¦ perhaps it would have been faster to take 1 β P(7 or more)? 4) The communications monitoring company Postini has reported that 91% of e-mail messages are βspamβ (i.e., junk mail). Recently, you installed a spam filter. You observe that over the past week the filter only allowed 151 of 1422 e-mails to pass through the filter, classifying the rest as junk. Should you worry that the filtering is too aggressive? a) Explain why we can assume this situation follows a binomial setting. b) Use a normal approximation to the binomial to calculate the probability implied by the question. Be sure to verify that the conditions that allow the use of the normal approximation are met. SOLUTION to #4: a) We have two outcomes (βjunkβ or not), the probability of email being called βjunkβ is the same from trial to trial, the trials are considered independent of one another, and weβre counting the number of βjunkβ emails we get in a fixed number of trials (n=1422). b) Define X as βthe number of emails classified as junk.β Note that ππ = .91(1422) = 1294.02 and ππ = π(1 β π) = 1422(. 09) = 127.98 are both larger than 10, so using a normal approximation is reasonable. The normal approximation will have mean and standard deviation π = ππ = 1294.02 and π = βπππ = 10.7917. If only 151 emails got through, then the filter is classifying 1422 β 151 = 1271 as junk. Is this unreasonable if 91% of emails really are junk? In other words, what is π(π β₯ 1271)? Find the z-score: π (π β₯ 1271β1294 ) 10.7912 = π(π β₯ β2.133) = 0.9835. This means that it is 98% likely that at least 1271 of our 1422 emails really ARE junk, so Iβd conclude the filter is not being overly aggressive. 5) Assume that 13% of people are left-handed. If we select 5 people at random, find the probability of each of the following. a) There are some lefties among the people chosen b) There are exactly 3 lefties in the group c) There are at least 3 lefties in the group d) There are no more than 3 lefties in the group SOLUTION to #5: Let X = # of lefties in the sample of 5. a) This is the same as asking for the probability that there are more than 0 lefties, i.e., P(X=1, 2, 3, 4, or 5). This is easiest to calculate by determining the probability that X is not 0. In other words, we want 1 β P(X=0), or in other words (symbols?), 1 β P(all righties) = 1 β 0.875 = 0.5016. b) π(π = 3) = (53)(. 13)3 (. 87)2 = 0.0166 c) π(π β₯ 3) = π(π = 3) + π(π = 4) + π(π = 5) = (53)(. 13)3 (. 87)2 + (54)(. 13)4 (. 87)1 + (. 13)5 = 0.0179 (or use the binomcdf command β¦ we need to get rid of P(X=0, 1, or 2), so 1-binomcdf(5,.13,2)). d) π(π β€ 3) = π(π = 0) + π(π = 1) + π(π = 2) + π(π = 3) 5 5 5 = (. 87)5 + ( ) (. 13)1 (. 87)4 + ( ) (. 13)2 (. 87)3 + ( ) (. 13)3 (. 87)2 = 0.9987 1 2 3 (or use the binomcdf command β¦ we need P(X=0, 1, 2, or 3) = binomcdf(5,.13,3))