# Review For Final

29d ago
48 Views
537.59 KB
25 Pages
Last View : 1d ago
Transcription

Review for Final

Chapter 2: Data quantifiers: sample mean, sample variance, sample standard deviation Quartiles, percentiles, median, interquartile range Dot diagrams Histogram Boxplots

Chapter 3: Set theory, set operations, union, intersection, complement, Venn diagram Counting principle, addition principle and multiplication principle Permutation and combination Conditional probability, Independent events, Bayes theorem False positive and total probability theorem

Chapter 4: Random variables, probability on random variables, accumulative propability Bernoulli distribution Binomial distribution Hypergeometrical distribution Negative binomial distribution Poisson distribution Mean, variance (standard deviation), moments Chebyshev theorem

Chapter 5: Continuous random variables Uniform distribution Exponential distribution Normal distribution, standard normal distribution 𝑍 and 𝛼, the use of Table 3

Chapter 6: Sample, sample mean, sample variance Law of large numbers Central limit theorem Computing probability of sample mean When population variance is not known, 𝑡-distribution and sample variance

Chapter 7: Inference statistics Point estimation Interval estimation

Chapter 8: Test of hypothesis Null hypothesis and alternate hypothesis Type-I and Type-II errors.

Example: A company owns 400 laptops. Each laptop has an 8% probability of not working. You randomly select 20 laptops for your salespeople. (a) What is the likelihood that 5 will be broken? (b) What is the likelihood that they will all work? (c) What is the likelihood that they will all be broken? Analysis: working and not working for one computer is a Bernoulli random variable Not working: 𝑝 0.08 Working: 𝑞 1 𝑝 0.92 With 20 laptops, it is a binomial distribution with 𝑛 20 20 0.085 0.9215 5 20 (b). 𝑃 𝑋 0 𝑏 0; 20,0.08 0.9220 0.9220 0 20 (c). 𝑃 𝑋 20 𝑏 20; 20,0.08 0.0820 0.0820 20 (a). 𝑃 𝑋 5 𝑏 5; 20,0.08

Example: An audio amplifier contains six transistors. It has been ascertained that three of the transistors are faulty but it is not known which three. Amy removes three transistors at random, and inspects them. What is the probability that two of them are faulty? Analysis: this a hypergeometric distribution problem, the pool has two different subsets, total in the pool is 𝑁 6, 3 faulty and 3 non-faulty, pick up 𝑛 3, find the probability of having two (𝑋 2) faulty ones. The probability function for hypergeometric distribution is: 𝑎 𝑁 𝑎 𝑥 𝑛 𝑥 𝑃 𝑋 𝑥 𝑁 𝑛 Determine variable and parameters: 𝑁 6, 𝑎 3, 𝑛 3, 𝑥 2 3 𝑃 𝑋 2 2 3 3! 3! 4 1 2! 1! 2! 1! 3 6 6! 6! 3! 3! 3

Example: An oil company conducts a geological study that indicates that an exploratory oil well should have a 20% chance of striking oil. What is the probability that the first strike comes on the third well drilled? Analysis: each drill is a Bernoulli distribution (success or fail) with 𝑝 0.2. The probability of first success in 𝒙 trials is the geometric distribution problem. The probability of first 𝒓 success in 𝒙 trials is the negative binomial distribution problem. For negative binomial distribution: 𝑥 1 𝑟 𝑥 𝑟 𝑝 𝑞 𝑟 1 Where 𝑟 1, it becomes geometric distribution. 𝑃 𝑋 𝑥 In this problem, 𝑥 3, 𝑟 1, 𝑝 0.2 (𝑞 0.8). 𝑃 𝑋 3 0.2 0.82

Example: A new superman MasterCard has been issued to 2000 customers. Of these customers, 1500 hold a Visa card, 500 hold an American Express card and 40 hold a Visa card and an American Express card. Find the probability that a customer chosen at random holds a Visa card, given that the customer holds an American Express card. Analysis: this is a conditional probability problem (find probability of Holding American Express given the person is holding Visa). 𝑃(𝐴 𝐵) 𝑃 𝐴𝐵 𝑃(𝐵) 1500 500 40 𝑃 𝐴 ,𝑃 𝐵 ,𝑃 𝐴 𝐵 2000 2000 2000 𝑃 𝐴𝐵 40/2000 40 2 500/2000 500 25

Example: Hazel thinks she may be allergic to eating peanuts, and takes a test that gives the following results: For people that really do have the allergy, the test says "Yes" 90% of the time For people that do not have the allergy, the test says "Yes" 5% of the time ("false positive") If 1.3% of the population have the allergy, and Hazel's test says "Yes", what are the chances that Hazel really does have the allergy? Analysis: this is a false positive problem. The question is to find the conditional probability 𝑃(𝐴 𝐵) , where 𝐵 is being tested positive, and 𝐴 is she really does have allergy. From total probability: 𝑃 𝐵 𝑃 𝐵 𝐴 𝑃(𝐴) 𝑃 𝐵 𝐴 𝑃(𝐴 ) 0.9 0.013 0.05 0.987 0.061 𝑃 𝐴𝐵 𝑃(𝐴 𝐵) 0.013 0.9 0.192 19.2% 𝑃(𝐵) 0.061 Hazel has only 19.2 percent chance of being really have allergy.

Suppose that a random variable 𝑋 has the probability distribution density function 0 𝑥 1 𝑓 𝑥 𝑐/𝑥 4 𝑥 1 (a). Find the value of 𝑐. (b). Find the probability of 𝑃 𝑋 1 . (c). Find the probability of 𝑃 2 𝑋 4 . (d). Find the mean and variance of the random variable 𝑋. Solution: (a). 𝑓 𝑥 𝑑𝑥 𝑐 𝑑𝑥 1 𝑥4 𝑐 3𝑥 3 𝑐 1, 𝑐 3 1 3 (b). 𝑃 𝑋 1 0 4 1 1 𝑥 3 8 64 2 3 3 (d). 𝜇 1 𝑥 𝑥 4 𝑑𝑥 2 𝑥 2 1.5 1 3 𝐸 𝑋 2 𝑥 2 4 𝑑𝑥 3𝑥 1 3.0, 1 𝑥 (c). 𝑃 2 𝑋 4 1 4 3 𝑑𝑥 2 𝑥4 𝑉𝑎𝑟 𝑋 𝐸 𝑋 2 𝜇2 3 2.25 0.75

Example: The new Endeavor SUV has been recalled because 5% of the cars experience brake failure. The Tahoe dealership has sold 200 of these cars. What is the probability that fewer than 4% of the cars from Tahoe experience brake failure? Analysis: this is actually a binomial distribution problem, but can be solved as normal distribution problem. In binomial distribution, 𝑝 0.05 𝑞 0.95 , 𝑛 200. 𝑥 0.04 200 8, 𝑋 𝜇 𝑃 𝑋 8 F Z 𝜎 From the approximation of binomial distribution as normal distribution, we have 𝜇 𝑛𝑝 200 0.05 10, 𝜎 2 𝑛𝑝𝑞 200 0.05 0.95 9.5 𝜎 3.08 8 10 𝑍 0.64 3.08 From Table 3, can find the value of 𝐹 𝑍 .

Example: To estimate the spending of people during Christmas, a department store takes a random sample of 30 people. It finds out that the mean spending of the sample is 800 dollars and the standard deviation is 200. Assume that people’s spending is normally distributed, with 98 percent confidence, over what interval does the mean of population spending lie? Analysis: The problem has the sample size 30, the mean and standard deviation are both with the sample, further, it assumes that the population is normally distributed, therefore it is a t-distribution problem (Table 4 will be used). The equation relevant to this problem is: 𝑠 𝑠 𝑥 𝑡𝛼/2 𝜇 𝑥 𝑡𝛼/2 𝑛 𝑛 𝑥 800, 𝑠 200, 𝑛 30,1 𝛼 98%, 𝛼/2 0.01. Find from Table 4: 𝑡0.01 2.462, 200 200 800 2.462 𝜇 800 2.462 30 30 Question: what is 𝑣 30, and Table 4 cannot give 𝑡𝛼/2 ?

Example: A sample of size 10 is used to estimate the mean height of a plant which has standard deviation 10 inches. What is the probability (or confidence) that the error is less than 5 inches in this estimation. Analysis: The problem has the sample size 10, the standard deviation is with the Population, that is 𝜎, therefore this is a central limit theorem problem (Table 3 will be used). The equation relevant to this problem is: 𝜎 𝐸 𝑧𝛼/2 𝑛 𝐸 5, 𝜎 10, 𝑛 10. Find 𝑧𝛼/2 , then find 𝛼. 𝑧𝛼/2 𝐸 𝑛 5 10 𝜎 10 Confidence factor 1 𝛼

Example: The number of calls for service at the DMV counter follow the Poisson distribution. The average service rate is 2 people per minute. What is the probability that the time between two calls is (a). Less than 1 minute (b). Greater than 5 minutes? Analysis: between two calls there is no call, so this corresponds to the x 0 case in Poisson distribution and is proportional to 𝑒 𝛼𝑡 (𝜆 𝛼𝑡), or 𝑓 𝑡 𝛼𝑒 𝛼𝑡 , 𝑡 0 Here 𝛼 2. Solution: (a). 𝑃 𝑡 1 (b). 𝑃 𝑡 5 1 1 2𝑡 𝑑𝑡 𝑓 𝑡 𝑑𝑡 2𝑒 0 0 2𝑒 2𝑡 𝑑𝑡 5

Example: the number of customers arriving at a bank can be described by a Poisson distribution. An average of 4 customers arrive per minute. What is the probability that the time between arrivals of two customers will be a) 15 seconds? b) at least 30 seconds? Analysis: arrival is a Poisson process with 𝜆 𝑎𝑇 , the probability with no customer Between a given time interval t is 𝜆0 𝜆 𝑃 𝑋 0 𝑒 𝑒 𝑎𝑡 0! 𝑎𝑡 4𝑡 Therefore 𝑓 𝑡 𝑎𝑒 4𝑒 (need to be normalized) 1 a) a 4; 𝑃 𝑡 15 𝑠 𝑃 𝑡 4 𝑚 4 1 b) 𝑃 𝑡 30 𝑠 𝑃 𝑡 2 𝑚 4 1/4 4𝑡 𝑒 𝑑𝑡 0 4𝑡 𝑒 𝑑𝑡 1/2 𝑒 2 1 𝑒 1

Example: A random sample of size 20 is taken from a population With uniform distribution: 0.2 0 𝑥 5 𝑓 𝑥 0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒 What will be the variance of the sample mean? Analysis: from the central limit theorem, the variance of the sample mean From a continuous population is: 𝜎2 𝑉𝑎𝑟 𝑋 𝑛 The question is then to find the variance 𝜎 2 of the uniform distribution. Solution: for uniform distribution 𝜇 2.5, 𝜎2 𝐸 𝑥2 𝜇2 5 0.2𝑥 2 𝑑𝑥 2.52 0 𝜎2 𝑉𝑎𝑟 𝑋 𝑛

Example: computer break-down per year are integers, 0, 1, 2, 3, . Assume the mean number of computer break-down per year is 11.6 with standard deviation of 3.3. Using a normal distribution, approximate the probability that there will be at least 8 (8 or more) break-downs in a given year, and the break-down between 9 and 15. Analysis: this is a normal distribution problem, the key to solve this problem is To convert the random variable to the standard normal distribution. 𝑃 𝑥 8 1 𝐹 𝑧 𝑃 9 𝑥 15 𝐹 𝑧 8 11.6 1 0.1379 0.8621 3.3 15 11.6 9 11.6 𝐹 𝑧 𝐹 1.03 𝐹( 0.78) 3.3 3.3

Example: A library loses, on average, 6 books per year. What are the probabilities it loses (a) 4 books on a given year (b) 10 books over a 2 year period Analysis: this is a Poisson process problem: 𝜆 𝑎𝑇 𝜆𝑥 𝜆 𝑃 𝑋 𝑥 𝑒 𝑥! (a) 𝛼 6. λ 6 1 Therefore 𝑓(4; 6) (b) 𝛼 6. 64 𝑒 6 4! 0.134 λ 6 2 12 Therefore 𝑓 10; 12 1210 𝑒 12 10! 𝐹 10; 12 𝐹 9; 12 0.134

Example: An insurance company is reviewing its current policy rates. When originally setting the rates they believed that the average claim amount was 1,800. They are concerned that the true mean is actually higher than this, because they could potentially lose a lot of money. They randomly select 40 claims, and calculate a sample mean of 1,950. Assuming that the standard deviation of claims is 500, and set 𝛼 0.05, test to see if the insurance company should be concerned. 𝐻0 : Average claim amount is less or equal to 1,800. 𝐻1 : Average claim amount is greater than 1,800. Known conditions: 𝜇 1800, 𝑥 1950, 𝜎 500, 𝑛 40, 𝛼 0.05 (𝑧𝛼 1.96). One-sided test: 𝐻0 : 𝑥 𝜇 𝜎/ 𝑛 𝑧𝛼 𝑥 𝜇 1950 1800 1.89 1.98 𝜎/ 𝑛 500/ 40 Therefore 𝐻0 is true.

Example: Trying to encourage people to stop driving to campus, the university claims that on average it takes people 30 minutes to find a parking space on campus. I don’t think it takes so long to find a spot. In fact I have a sample of the last five times I drove to campus, and I calculated 𝑥 20. Assuming that the time it takes to find a parking spot is normal, and that 𝜎 6 minutes, then perform a hypothesis test with level 𝛼 0.10 to see if my claim is correct. 𝐻0 : On average it takes 30 minutes to find parking spot 𝐻1 : It takes less than 30 minutes to find a parking spot Known conditions: 𝜇 30, 𝑥 20, 𝜎 6, 𝑛 5, 𝛼 0.1 (𝑧𝛼 1.28). One-sided test: 𝐻0 : 𝑥 𝜇 𝜎 𝑛 𝑧𝛼 𝑥 𝜇 20 30 3.73 1.28 𝜎/ 𝑛 6/ 5 Therefore 𝐻0 is false. 𝐻1 is true.

Example: A sample of 40 sales receipts from a grocery store has 𝑥 137 and 𝜎 30.2. Use these values and level of significance as 0.01 to test whether or not the mean of sales at the grocery store are different from 150. 𝐻0 : The average of sales is 150. 𝐻1 : The average of sales is not 150. Known conditions: 𝜇 150, 𝑥 137, 𝜎 30.2, 𝑛 40, 𝛼 0.01 (𝑧𝛼/2 2.58). Two-sided test: 𝐻0 : 𝑧𝛼 𝑥 𝜇 𝜎/ 𝑛 𝑧𝛼 𝑥 𝜇 137 150 2.72 2.58 𝜎/ 𝑛 30.2/ 40 Therefore 𝐻0 is false. 𝐻1 is true.

Example: A company owns 400 laptops. Each laptop has an 8% probability of not working. You randomly select 20 laptops for your salespeople. (a) What is the likelihood that 5 will be broken? . spending of the sample is 800 dollars and the standard deviation is 200. Assume that people's spending is normally distributed, with 98 percent

Related Documents:

Bruksanvisning för bilstereo . Bruksanvisning for bilstereo . Instrukcja obsługi samochodowego odtwarzacza stereo . Operating Instructions for Car Stereo . 610-104 . SV . Bruksanvisning i original

10 tips och tricks för att lyckas med ert sap-projekt 20 SAPSANYTT 2/2015 De flesta projektledare känner säkert till Cobb’s paradox. Martin Cobb verkade som CIO för sekretariatet för Treasury Board of Canada 1995 då han ställde frågan

service i Norge och Finland drivs inom ramen för ett enskilt företag (NRK. 1 och Yleisradio), fin ns det i Sverige tre: Ett för tv (Sveriges Television , SVT ), ett för radio (Sveriges Radio , SR ) och ett för utbildnings program (Sveriges Utbildningsradio, UR, vilket till följd av sin begränsade storlek inte återfinns bland de 25 största

Hotell För hotell anges de tre klasserna A/B, C och D. Det betyder att den "normala" standarden C är acceptabel men att motiven för en högre standard är starka. Ljudklass C motsvarar de tidigare normkraven för hotell, ljudklass A/B motsvarar kraven för moderna hotell med hög standard och ljudklass D kan användas vid

LÄS NOGGRANT FÖLJANDE VILLKOR FÖR APPLE DEVELOPER PROGRAM LICENCE . Apple Developer Program License Agreement Syfte Du vill använda Apple-mjukvara (enligt definitionen nedan) för att utveckla en eller flera Applikationer (enligt definitionen nedan) för Apple-märkta produkter. . Applikationer som utvecklas för iOS-produkter, Apple .

och krav. Maskinerna skriver ut upp till fyra tum breda etiketter med direkt termoteknik och termotransferteknik och är lämpliga för en lång rad användningsområden på vertikala marknader. TD-seriens professionella etikettskrivare för . skrivbordet. Brothers nya avancerade 4-tums etikettskrivare för skrivbordet är effektiva och enkla att

Den kanadensiska språkvetaren Jim Cummins har visat i sin forskning från år 1979 att det kan ta 1 till 3 år för att lära sig ett vardagsspråk och mellan 5 till 7 år för att behärska ett akademiskt språk.4 Han införde två begrepp för att beskriva elevernas språkliga kompetens: BI

**Godkänd av MAN för upp till 120 000 km och Mercedes Benz, Volvo och Renault för upp till 100 000 km i enlighet med deras specifikationer. Faktiskt oljebyte beror på motortyp, körförhållanden, servicehistorik, OBD och bränslekvalitet. Se alltid tillverkarens instruktionsbok. Art.Nr. 159CAC Art.Nr. 159CAA Art.Nr. 159CAB Art.Nr. 217B1B