Week5livelecturepowerpointfor2010

3,274 views
3,215 views

Published on

Week 5 Lecture Statistics for Decision Making

0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,274
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
393
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide

Week5livelecturepowerpointfor2010

  1. 1. B Heard<br />Lecture for Week 5 QuizStatistics For Decision Making<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  2. 2. Your Week 5 Quiz is on material covered in Weeks 3 and 4<br />Your Week 7 Quiz is on material covered in Weeks 5 and 6<br />Your Final Exam is comprehensive covering the material in the three prior quizzes plus the material covered in Week 7<br />Your best approach for preparing for the quizzes should be the Practice Questions offered in the live lecture each week we have a quiz.<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  3. 3. Week 5 Quiz<br />Let’s look at some questions….<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  4. 4. How many ways can a committee of 4 be chosen from 20 people?<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  5. 5. How many ways can a committee of 4 be chosen from 20 people?<br />This would be a combination because “order” doesn’t matter, so there would be 4845 different ways.<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  6. 6. How many ways can a committee of 4 be chosen from 20 people if they have distinct positions (i.e. President, Secretary, Treasurer, and Vice-President)?<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  7. 7. How many ways can a committee of 4 be chosen from 20 people if they have distinct positions (i.e. President, Secretary, Treasurer, and Vice-President)?<br />This would be a permutation because “order” does matter, so there would be 116280.<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  8. 8. What values can a probability be?<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  9. 9. What values can a probability be?<br />Anything between 0 and +1 (NOTHING ELSE). That also means from 0% to 100%, and any positive fraction where the numerator is smaller than the denominator.<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  10. 10. List the sample space of the National League teams in the 2008 MLB playoffs.<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  11. 11. Week 5 Quiz<br />List the sample space of the National League teams in the 2008 MLB playoffs.<br />{Brewers, Cubs, Dodgers, Phillies}<br />Other Examples, Gears in my car {P, D, 2nd, Low, R, N}, Numbers on a clock {1,2,3,4,5,6,7,8,9,10,11,12}, Different weeks in our term {1,2,3,4,5,6,7,8}, Grades for the Course {A,B,C,D,F}, Standard Light Switch {On, Off}, etc.<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  12. 12. Week 5 Quiz<br />What is the probability of drawing a 7 from a deck of cards? And what is the probability of a second card being an Ace or King if the first was a 7? (without replacement)<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  13. 13. Week 5 Quiz<br />What is the probability of drawing a 7 from a deck of cards? And what is the probability of a second card being an Ace or King if the first was a 7?<br />What is the probability of drawing a 7 from a deck of cards? <br />4/52 or 1/13<br /> <br />And what is the probability of a second card being an Ace or King if the first was a 7? (without replacement)<br />There are 8 Aces and Kings left, but only 51 cards to draw from so it would be 8/51<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  14. 14. Week 5 Quiz<br />What is the probability of drawing a 6, 7, or 8 from a deck of cards? What is the probability of a second card drawn being a 6, 7, or 8 if the first was a 6, 7, or 8? (without replacement)<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  15. 15. Week 5 Quiz<br />What is the probability of drawing a 6, 7, or 8 from a deck of cards? What is the probability of a second card drawn being a 6, 7, or 8 if the first was a 6, 7, or 8?<br />What is the probability of drawing a 6, 7, or 8 from a deck of cards? <br />There would be 12 of them so 12/52 or 3/13<br /> <br />What is the probability of a second card drawn being a 6, 7, or 8 if the first was a 6, 7, or 8? (without replacement)<br />There would be 11 left and only 51 cards to draw from so it would be 11/51<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  16. 16. If there are 13 word documents and 27 excel documents in a folder, and one is randomly drawn, what is the probability of drawing a word document?<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  17. 17. If there are 13 word documents and 27 excel documents in a folder, and one is randomly drawn, what is the probability of drawing a word document?<br />13/ (13+27) = 13/40<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  18. 18. Factorials<br />Answer the following:<br /> <br />4!<br /> <br />3! * 0!<br /> <br />2! /0!<br />(0!*3!)/4!<br />Week 5 Quiz<br />!<br />!<br />!<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  19. 19. Factorials<br />Answer the following:<br /> Remember that the factorial sign means x! = x * x-1 * x-2 * … 1, so<br />4! = 4*3*2*1 = 24<br /> <br />3! * 0! = (3*2*1) * 1 = 6 (remember 0! is ALWAYS = 1)<br /> <br />2! /0! = (2*1)/1 = 2 (remember 0! is ALWAYS = 1)<br />(0!*3!)/4!= (1*3*2*1)/(4*3*2*1) = 1/4 (remember 0! is ALWAYS = 1)<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  20. 20. Week 5 Quiz<br />Decide whether the following experiments would be Binomials, Poissons, or neither. <br /> <br />You test 6 different types of batteries.  The random variable represents the battery that is last longest.  Past experience is that 30% of the time it is the third of the six types. <br />You observe a stop sign for 4 hours.  The random variable represents the number of cars that either completely stopped or didn’t.  Historically 65% of cars come to a complete stop. <br /> A cab company averages three pickups per hour. We&apos;re interested in knowing the probability that in a randomly selected hour they will get one pickup.<br /> A company ships computer components in boxes that contain 20 items. We want to know the probability that the 2nd item removed will be defective. <br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  21. 21. Week 5 Quiz<br />You test 6 different types of batteries.  The random variable represents the battery that is last longest.  Past experience is that 30% of the time it is the third of the six types. Neither, because we are testing 6 different types (it’s not a yes/no, good/bad, two decision type situation)<br />You observe a stop sign for 4 hours.  The random variable represents the number of cars that either completely stopped or didn’t.  Historically 65% of cars come to a complete stop. Binomial, probability given in percentage. For this to be Poisson it would say something like on average 42 cars stop at the stop sign every hour, we want to know the probability of exactly 32 stopping, or more than 45 stopping, etc. – the probability (%) was a tip off that it was binomial<br /> A cab company averages three pickups per hour. We&apos;re interested in knowing the probability that in a randomly selected hour they will get one pickup. Poisson, as per the previous question’s answer we are interested in finding out the probability of 1 pickup.<br /> A company ships computer components in boxes that contain 20 items. We want to know the probability that the 2nd item removed will be defective. Neither, we don’t have a probability to start with (Binomial), or an average number of defects (Poisson).<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  22. 22. Week 5 Quiz<br />If X = {1, 5, 9, 12} and P(1) = .3, P(5) = .3, P(9) = .2, and P(12) = .2, can we call it a random variable?<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  23. 23. Week 5 Quiz<br />If X = {1, 5, 9, 12} and P(1) = .3, P(5) = .3, P(9) = .2, and P(12) = .2, can we call it a random variable?<br />Yes, the sum of the probabilities = (.3+.3+.2+.2) = 1 and they are all between 0 and 1.<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  24. 24. Find P(X &lt; 14) for this random variable.  <br />X = {1, 5, 7, 13, 15}.  <br />P(1) = P(5) = P(7) = P(13) = P(15).<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  25. 25. Find P(X &lt; 14) for this random variable.  <br />X = {1, 5, 7, 13, 15}.  <br />P(1) = P(5) = P(7) = P(13) = P(15).<br />Since  P(1) = P(5) = P(7) = P(13) = P(15) they must add up to 1 therefore the probability for each must be 1/5 since there are five so it is 0.20<br />then P(x &lt; 14) = P(1) + P(5) + P(7) + P(13) = 0.20 + 0.20 + 0.20 + 0.20 = 0.80<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  26. 26. If X = {-1, 0, 3, 8} and P(-1) = .3, P(0) = .1, P(3) = .3, and P(8) = .3, can we call it a random variable?<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  27. 27. If X = {-1, 0, 3, 8} and P(-1) = .3, P(0) = .1, P(3) = .3, and P(8) = .3, can we call it a random variable?<br />Do the probabilities add up to one? .3 + .1 + .3 +. 3 = 1 So yes it is (also note that those probabilities have to be between 0 and 1.)<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  28. 28. We have a binomial experiment with p = .6 and n = 3.  Set up the probability distribution and compute the mean, variance, and standard deviation.<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  29. 29. Templates for Binomial and Poisson<br />http://highered.mcgraw-hill.com/sites/0070620164/student_view0/excel_templates.html<br />I will post this in the chat area of the lecture<br />Week 5 Quiz<br />
  30. 30. See Excel Spreadsheet picture that follows.<br />X = {0, 1, 2, 3}P(X = 0) = 0.06 P(X = 1) = .29 P(X = 2) = .43 <br />P(X = 3) = .22E(X) = n*p = 3 * .6 = 1.8 (listed as mean in provided excel spreadsheet picture that follows) V(X) = n*p*q, q = 1 - p = 1 - .6 = .4 V(X) = 3*.6*.4 = .72 (listed as variance in provided excel spreadsheet)standard deviation = sqrt(variance) = sqrt(.72) = .85 (listed as stdev in provided excel spreadsheet picture that follows)<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  31. 31. Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  32. 32. Week 5 Quiz<br />We have a Poisson with mu = 3. Find P(X = 4), find P(X &lt; 4), find P(X &gt;= 4), compute the mean, variance, and standard deviation.<br />
  33. 33. Week 5 Quiz<br />See Excel Spreadsheet attached to follow on post.<br />P(X = 4) = 0.168 (see picture of excel spreadsheet yellow block)P(X &lt; 4) = 0.647 (see picture of excel spreadsheet green block)P(X &gt;=4) = 0.353 (see picture of excel spreadsheet gray block)mean = variance = 3 (see picture ofexcel spreadsheet)standard deviation = sqrt(variance) = 1.73 (see picture ofexcel spreadsheet)<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  34. 34. Week 5 Quiz<br />
  35. 35. We have the random variable X = {5,10} with P(5) = .6 and P(10) = .4. Find E(X).<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  36. 36. We have the random variable X = {5,10} with P(5) = .6 and P(10) = .4. Find E(X).<br />E(X) = sum of (x*P(X)) = 5*P(5) + 10*P(10) = 5*.6 + 10*.4 = 3.0 + 4.0 = 7.0<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  37. 37. Continuous or discrete?<br />The amount of oil in your car’s engine?<br />The number of cans of coke in your refrigerator?<br />Your son’s weight?<br />The number of cousins you have?<br />The amount of butter in your butter dish?<br />The number of classes you have taken and received credit for?<br />Week 5 Quiz<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  38. 38. Week 5 Quiz<br />Continuous or discrete?<br />The amount of oil in your car’s engine? Continuous<br />The number of cans of coke in your refrigerator? Discrete<br />Your son’s weight? Continuous<br />The number of cousins you have? Discrete<br />The amount of butter in your butter dish? Continuous<br />The number of classes you have taken and received credit for? Discrete<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />
  39. 39. Week 5 Quiz<br />S<br />STAT CAVE<br />Find me on Facebook at:<br />www.facebook.com/statcave<br />Not to be used, posted, etc. without my expressed permission. B Heard<br />

×