1 / 27

The Bernoulli distribution

Discrete distributions. The Bernoulli distribution. The Binomial distribution. p ( x ). x. X = the number of successes in n repetitions of a Bernoulli trial p = the probability of success. The Poisson distribution. Events are occurring randomly and uniformly in time.

drew
Download Presentation

The Bernoulli distribution

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. Discrete distributions The Bernoulli distribution

  2. The Binomial distribution p(x) x X = the number of successes in n repetitions of a Bernoulli trial p = the probability of success

  3. The Poisson distribution Events are occurring randomly and uniformly in time. X = the number of events occuring in a fixed period of time.

  4. The Geometric DistributionThe Negative Binomial Distribution The Binomial distribution the Bernoulli trials are repeated independently a fixed number of times n and X = the numbers of successes The Binomial distribution, the Geometric distribution and the Negative Binomial distribution each arise when repeating independently Bernoulli trials The Negative Binomial distribution the Bernoulli trials are repeated independently until a fixed number, k, of successes has occurred and X = the trial on which the kth success occurred. The Geometric distribution the Bernoulli trials are repeated independently the first success occurs (,k = 1) and X = the trial on which the 1st success occurred.

  5. The Geometric distribution Suppose a Bernoulli trial (S,F) is repeated until a success occurs. Let X = the trial on which the first success (S) occurs. Find the probability distribution of X. Note: the possible values of X are {1, 2, 3, 4, 5, … } The sample space for the experiment (repeating a Bernoulli trial until a success occurs is: S = {S, FS, FFS, FFFS, FFFFS, … , FFF…FFFS, …} (x – 1) F’s p(x) =P[X = x] = P[{FFF…FFFS}] = (1 – p)x – 1p

  6. P[X = x] = p(x) = p(1 – p)x – 1 = pqx – 1 Thus the probability function of X is: A random variable X that has this distribution is said to have the Geometric distribution. Reason p(1) = p, p(2) = pq, p(3) = pq2 , p(4) = pq3 , … forms a geometric series

  7. Example Suppose a die is rolled until a six occurs Success = S = {six} , p = 1/6. Failure = F = {no six} q = 1 – p = 5/6. • What is the probability that it took at most 5 rolls of a die to roll a six? • What is the probability that it took at least 10 rolls of a die to roll a six? • What is the probability that the “first six” occurred on an even number toss? • What is the probability that the “first six” occurred on a toss divisible by 3 given that the “first six” occurred on an even number toss?

  8. Solution Let X denote the toss on which the first head occurs. Then X has a geometric distribution with p = 1/6.. q = 1 – p = 5/6. • P[X≤ 5]? • P[X≥ 10]? • P[Xis divisible by 2]? • P[Xis divisible by 3| Xis divisible by 2]?

  9. P[X≤ 5]? Using Note also

  10. P[X≥ 10]? Using

  11. P[Xis divisible by 2]?

  12. P[Xis divisible by 3| Xis divisible by 2]?

  13. Hence

  14. The Negative Binomial distribution Suppose a Bernoulli trial (S,F) is repeated until k successes occur. Let X = the trial on which the kth success (S) occurs. Find the probability distribution of X. Note: the possible values of X are {k, k + 1, k + 2, k + 3, 4, 5, … } The sample space for the experiment (repeating a Bernoulli trial until k successes occurs) consists of sequences of S’s and F’s having the following properties: • each sequence will contain k S’s • The last outcome in the sequence will be an S.

  15. A sequence of length x containing exactly k S’s SFSFSFFFFS FFFSF … FFFFFFS The last outcome is an S The # of S’s in the first x – 1 trials is k – 1. The # of ways of choosing from the first x – 1 trials, the positions for the first k – 1 S’s. The probability of a sequence containing k S’s and x – k F’s.

  16. Example Suppose the chance of winning any prize in a lottery is 3%. Suppose that I play the lottery until I have won k = 5 times. Let X denote the number of times that I play the lottery. Find the probability function, p(x), of X

  17. Graph of p(x)

  18. The Hypergeometric distribution Suppose we have a population containing N objects. Suppose the elements of the population are partitioned into two groups. Let a = the number of elements in group A and let b = the number of elements in the other group (group B). Note N = a+ b. Now suppose that n elements are selected from the population at random. Let X denote the elements from group A. (n – X will be the number of elements from group B.) Find the probability distribution of X.\

  19. Population GroupB(b elements) Group A (a elements) n - x x sample(n elements)

  20. The number of ways x elements can be chosen Group A . The number of ways n - x elements can be chosen Group B . Thus the probability function of X is: The total number of ways n elements can be chosen from N = a + b elements A random variable X that has this distribution is said to have the Hypergeometric distribution. The possible values of X are integer values that range from max(0,n – b) to min(n,a)

  21. Example: Estimating the size of a wildlife population • Suppose that N (unknown) is the size of a wildlife population. • To estimate N, T animals are caught, tagged and replaced in the population. (T is known) • A second sample of n animals are caught and the number, t, of tagged animals is noted. (n is known and t is the observation that will be used to estimate N).

  22. Note • The observation, t, will have a hypergeometric distribution

  23. To determine when is maximized compute and determine when the ratio is greater than 1 and less than 1.

  24. Now

  25. Now if or or and

  26. if hence and if also if

  27. Thus

More Related