1 / 23

Chris Morgan, MATH G160 csmorgan@purdue.edu February 6, 2012 Lecture 12

Chris Morgan, MATH G160 csmorgan@purdue.edu February 6, 2012 Lecture 12. Chapter 5.4: Bernoulli and Binomial Distribution. Bernoulli Distribution. Some problems in probability involve observing whether a specified event occurs. Noted as a “ success” or a “failure” Examples :

micheal
Download Presentation

Chris Morgan, MATH G160 csmorgan@purdue.edu February 6, 2012 Lecture 12

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chris Morgan, MATH G160 csmorgan@purdue.edu February 6, 2012 Lecture 12 Chapter 5.4: Bernoulli and Binomial Distribution

  2. Bernoulli Distribution Some problems in probability involve observing whether a specified event occurs. Noted as a “success” or a “failure” Examples: –Probability of a head in a single coin flip –Probability of having a boy –Probability of getting a raise

  3. Bernoulli Distribution Notation: X ~ Bernoulli(p) or X ~ Ber(p) where p is a probability, and the PMF is given by: Expectation and Variance of the Bernoulli Distribution: E(X) = 0 * (1-p) + (1 * p) = p E(X²)= 0² * (1-p) + 1² * p = p Var(X) = p - p² = p(1-p)

  4. Example #1 Suppose our class passed (C or better) the last exam with probability 0.75. Let the random variable X be the probability that someone passes the exam. X ~ Ber(0.75) with PMF: E(X) = p = 0.75 Var(X) = p(1-p) = (0.75)(0.25) = 0.1875

  5. Binomial Distribution • Obviously, a Bernoulli trial is quite boring and not practical at all. What if a Bernoulli event happens many times? • We call that a Binomial event. • We have done some of these problems before • Binomial distribution only has a “success” or “failure” outcome, but it is repeated many times

  6. Binomial Distribution • Examples: • Probability of getting 7 out of 40 heads • Probability the Minnesota Twins win 3 out of 4 games in their series with the Yankees. • Probability JJ makes 9 out of 10 free throws. • Any time there are only two outcomes, n times, we have a binomial distribution…

  7. Binomial Distribution Notation: X ~ Bin(n,p) PMF: p(x) = Expectation: Variance: E(X) = npVar(X) = n*p*(1-p)

  8. Binomial Example #1 In a study of brand recognition, 95% of consumers recognized Coke. The company randomly selects 4 consumers for a taste test. •Let X be the number of consumers who recognize Coke. •Write out the PMF table for this. X ~ Bin(n=4, p=0.95)

  9. Binomial Example #1 X ~ Bin(n=4, p=0.95) P(X ≥ 1) = P(X > 4) =

  10. Binomial Example #1 X ~ Bin(n=4, p=0.95) Calculate E(X): E(X) = 0(.0000062) + 1(.00047) + 2(.01354) + 3(0.17147) + 4(0.81451) = 3.8 Or using the known formula: E(X) = np = 4(.95) = 3.8

  11. Binomial Example #1 X ~ Bin(n=4, p=0.95) Calculate Var(X): Var(X) = E(X2) – [E(X)] 2 Or using the known formula: Var(X) = np(1-p) = 4(0.95)(0.05) = 0.19

  12. Binomial Example #2 To test for ESP, we have 4 cards. They will be shuffled and one randomly selected each time, and you are to guess which card is selected. This is repeated 10 times. Let R be the number of times you guess a card correctly. 1. What are the distribution and parameters of R? 2. If someone were just guessing, did NOT have ESP, how many would you expect them to get right out of 10 tries?

  13. Binomial Example #2 3. What is the probability they guess half of them correctly? 4. What is the probability they get at least 3 correct?

  14. Binomial Example #3 An insurance company receives claims independently of one another for various incidents. Of these claims, 10% are claims for damages from vandalism. If the insurance company receives 20 claims, let V be the number of claims that are for vandalism. 1. What is the distribution and parameters of V? 2. What is the probability there are either 2 or 3 claims for vandalism?

  15. Binomial Example #3 3. If there are 4 or more claims for vandalism, the company must send you a special report so you can have the police check out the situation. What is the probability you have to send the police? 4. Given you didn’t get a special report, what is the probability the company received exactly 3 claims for vandalism? 5. In 20 claims, how many do you expect to be claims for vandalism? 6. What is the variance of number of vandalism claims received? 7. If 5 agents are filing claims (each 20 have 20 claims), how many total claims for vandalism do you anticipate?

  16. Binomial Example #4 On a multiple choice exam with 3 possible answers for each of 5 questions, what is the probability a student would get 4 or more answers correct just by guessing?

  17. Binomial Example #5 It is believed that 20% of Americans do not have health insurance. Suppose this in true and let X equal the number with no health insurance in a random sample of n = 15 Americans. a. How is X distributed? b. Give the mean, variance, and standard deviation of X. c. Find P(X ≥ 5)

  18. Binomial Example #6 It is claimed that 15% of ducks in a particular region have patent schistosome infection. Suppose that seven ducks are selected at random. Let X equal the number of dicks that are infected. a) Assuming independence, how is X distributed? b) Find P(X > 2) c) Find P(X = 1) d) Find P(X < 5)

  19. Binomial Example #7 A newsboy purchases papers at 10 cents and sells them at 15 cents. However, he is not allowed to return unsold papers. If his daily demand is a binomial random variable with n = 10 and p = 1/3, approximately how many papers should he purchase so as to maximize his expected profit?

  20. Binomial Example #8 Suppose that 200 points are selected independently and at random from the following square: {(x,y): -1≤x≤1, -1≤y≤1 }. Let W equal the number of number of points that fall in A = {(x,y): x2 + y2 < 1}. a) How is W distributed? b) Give the mean, variance, and standard deviation of W. c) What is the expected value of W/50?

  21. Binomial Example #9 Suppose that when in flight, airplane engines will fail with probability 1-p independently from engine to engine. If an airplane needs a majority of its engines operative to make a successful flight, for what vales of p is 5-engine plane preferable to a 3-engine plane?

  22. Binomial Example #10 A student is getting ready to take an important oral exam and is concerned about the possibility of having an "on" day or an "off" day. He figures that if he has an on day, then each of his examiners will pass him independently of each other with probability .8, whereas, if he has an off day, this probability will be reduced to .4. Suppose that the student will pass the examination if a majority of the examiners pass him. If the student feels that he is twice as likely to have an off day as he is to have an on day, should he request an examination with 3 examiners or with 5 examiners?

More Related