STAT 511 Lecture 6: The Binomial, Hypergeometric, Negative Binomial and Poisson Distributions Devore: Section 3.4-3.6
Prof. Michael Levine
February 5, 2019
Levine STAT 511 Binomial Experiment
1. The experiment consists of a sequence of n trials, where n is fixed in advance of the experiment. 2. The trials are identical, and each trial can result in one of the same two possible outcomes, which are denoted by success (S) or failure (F). 3. The trials are independent 4. The probability of success is constant from trial to trial and is denoted by p.
I Given a binomial experiment consisting of n trials, the binomial random variable X associated with this experiment is defined as X = the number of Ss among n trials
Levine STAT 511 Example where the experiment is not binomial I
I Consider 50 restaurants to be inspected; 15 of them currently have at least one serious health code violation while the rest have none.
I There are 5 inspectors, each of whom will inspect 1 restaurant during the coming week.
I The restaurant names are sampled as slips of paper without replacement; ith trial is a success if the restaurant has no violations where = 1,..., 5. 35 I Then P(Son the 1st) = 50 = .70
Levine STAT 511 Example where the experiment is not binomial II
I Similarly, P(Son the 2nd) = P(SS) + P(FS) = .70 31 I However, P(Son the 5h trial|SSSS) = 46 = .67 while 35 P(Son the 5h trial|FFFF ) = 46 = .76 I If the sample size n is at most 5% of the population size, the experiment can be analyzed as though it were exactly a binomial experiment.
Levine STAT 511 Binomial pmf
I Because the pmf of a binomial rv X depends on the two parameters n and p, we denote the pmf by b(x;n,p).
I The binomial pmf is
npx (1 − p)n−x x = 0, 1, 2,..., n b(x; n, p) = x 0 otherwise
Levine STAT 511 Expected value and variance of a binomial RV
I Let X1,..., Xn be mutually independent Bernoulli random Pn variables, each with success probability p. Then, Y = i=1 Xi is a binomial random variable with pmf b(x; n, p).
I The expected value is
n ! n X X EY = E Xi = EXi = np i=1 i=1
I The variance is
n ! n n X X X V (Y ) = V Xi = V (Xi ) = p(1−p) = np(1−p) i=1 i=1 i=1
Levine STAT 511 Example
I A card is drawn from a standard 52-card deck. If drawing a club is considered a success, find the probability of 1. exactly one success in 4 draws (with replacement) 2. no successes in 5 draws (with replacement).
Levine STAT 511 1 3 1. p = 4 and q = 4 2. The probability of just 1 success is
4 11 33 ≈ 0.422 1 4 4
3. The probability of no successes in 5 draws is
5 10 35 ≈ 0.237 0 4 4
Levine STAT 511 Binomial Cdf
I For X distributed as Bin(n, p), the cdf is defined as
x X P(X ≤ x) = B(x; n, p) = b(y; n, p) y=0
I In the above, x = 0, 1, 2,..., n
Levine STAT 511 Example
I If the probability of a student successfully passing this course (C or better) is 0.82, find the probability that given 8 students
I All 8 pass 8 (0.82)8(0.18)0 ≈ 0.2044 8
I None pass 8 (0.82)0(0.18)8 ≈ 0.0000011 0
I At least 6 pass 8 8 (0.82)6(0.18)2 + (0.82)7(0.18)1 6 7 8 + (0.82)8(0.18)0 ≈ 0.8392 8
Levine STAT 511 The Hypergeometric Distribution
1. The population to be sampled consists of N individuals, objects, or elements (a finite population). 2. Each individual can be characterized as a success (S) or failure (F), and there are M successes in the population 3. A sample of n individuals is selected without replacement in such a way that each subset of size n is equally likely to be chosen.
Levine STAT 511 I Let X be the number of Ss in a random sample of size n drawn from a population consisting of MSs and NMF s.
I The probability distribution of X , called the hypergeometric distribution, is given by