Sec. 8.1 Part 2 PowerPoint

Download Report

Transcript Sec. 8.1 Part 2 PowerPoint

C

HAPTER

8 Section 8.1 Part 2 – The Binomial Distribution

U NDERSTANDING THE  B INOMIAL F ORMULA To best understand the formula for a binomial distribution, lets use the example of inheriting blood type with the B(5, .25) distribution.

 Each child of a particular pair of parents has probability 0.25 of having type O blood. Genetics says that children receive genes from each of their parents independently. If these parents have 5 children, the count X of children with type O blood is a binomial random variable with n = 5 trials and probability p = 0.25 of a success on each trial. In this setting, a child with type O blood is a “success” (S) and a child with another blood type is a “failure” (F). What’s P(X = 2)?

P(SSFFF) = (0.25)(0.25)(0.75)(0.75)(0.75) = (0.25) 2 (0.75) 3 = 0.02637

However, there are a number of different arrangements in which 2 out of the 5 children have type O blood:

Verify that in each arrangement, P(

X

= 2) = (0.25) 2 (0.75) 3 = 0.02637

Therefore, P(X = 2) = 10(0.25) 2 (0.75) 3 0.2637 =

B INOMIAL C OEFFICIENT   Note, in the previous example, any one arrangement of 2 S’s and 3 F’s had the same probability. This is true because no matter what arrangement, we’d multiply together 0.25 twice and 0.75 three times.

We can generalize this for any setting in which we are interested in k successes in n trials. That is, This is a combination… “n choose k” or nCr in your calculator

P

(

X

k

) 

P

(exactly

k

successes in = number of arrangements

n

trials) 

p k

(1 

p

)

n

k

Definition:

The number of ways of arranging

k

the  successes among

n

observations is given by 

n



k

 

k

!(

n n

!

k

)!

for

k

= 0, 1, 2, …,

n

where 

n

! =

n

(

n –

1)(

n

– 2)

•…•

and 0! = 1.

(3)(2)(1)

B INOMIAL P ROBABILITY   The binomial coefficient counts the number of different ways in which k successes can be arranged among n trials.

The binomial probability P(X = k) is this count multiplied by the probability of any one specific arrangement of the k successes.

Binomial Probability

If

X

has the binomial distribution with

n

each trial, the possible values of

X

trials and probability

p

are 0, 1, 2, …,

n

. If

k

of success on is any one of these values,

P

(

X

k

)  

n



k

 

p k

(1 

p

)

n

k

 Number of Probability of k successes Probability of n-k failures

E

XAMPLE

8.10 – D

EFECTIVE

S

WITCHES  The number X of switches that fail inspection in example 8.3 has approximately the binomial distribution with n = 10 and p = .1. Using the binomial probability formula, determine the probability that no more than 1 switch fails.

𝑃 𝑋 ≤ 1 = 𝑃 𝑋 = 1 + 𝑃 𝑋 = 0 10 1 (.1) 1 (.9) 9 + 10 0 (.1) 0 (.9) 10 10!

1! 9!

10!

.1 .3874 + 0! 10!

1 . 3487) 10 .1 .3874 + 1 1 .3487

. 7361 Would need to write this on the AP exam

B

INOMIAL

D

EVIATION

M

EAN AND

S

TANDARD

Mean and Standard Deviation of a Binomial Random Variable

If a count

X

has the binomial distribution with number of trials

n

and probability of success

p

, the

mean

and

standard deviation

of

X

are 

X

X

np

np

(1 

p

)  Note- these short formulas are only good for binomial distributions

E

XAMPLE

8.11 – B

AD

S

WITCHES  Continuing example 8.10, the count X of bad switches is binomial with n = 10 and p = .1. This is the sampling distribution the engineer would see if she drew all possible SRSs of 10 switches from the shipment and recorded the value of X for each sample.  What is the mean and standard deviation for this binomial distribution?

 𝜇 = 𝑛𝑝 = (10)(.1) = 1  𝜎 = 𝑛𝑝(1 − 𝑝) = 10 (.1)(1 − .1) = .9 = .9487

T

HE

N

ORMAL

B

INOMIAL

D A

PPROXIMATION TO ISTRIBUTIONS  As the number of trials, n, increases, the formula for finding binomial probabilities becomes impractical.

 Another alternative besides using a calculator is to use the normal distribution properties.

 We can do this because as the number of trials, n, gets larger, the binomial distribution gets close to a normal distribution.

Normal Approximation for Binomial Distributions

Suppose that

X

probability

p

has the binomial distribution with . When

n n

trials and success is large, the distribution of

X

is approximately Normal with mean and standard deviation 

X

np

X

np

(1 

p

) As a rule of thumb, we will use the Normal approximation when

n

that

np

≥ 10 and

n

(1 –

p

is so large ) ≥ 10. That is, the expected number of successes and failures are both at least 10.

  Be sure to check this before using the normal approx. for binomial distributions!!

 Recall, the sampling distribution of a count variable is only well-described by the binomial distribution is cases where the population size is significantly larger than the sample size.  As a general rule, the binomial distribution should not be applied to observations from a simple random sample (SRS) unless the population size is at least 10 times larger than the sample size (or otherwise thought of as the sample size being no more than 10% of the population)  𝑁 ≥ 10𝑛 or 𝑛 ≤ 1 10 𝑁

E

XAMPLE

S

HOPPING

8.12 – A

TTITUDES

T

OWARDS  Sample surveys show that fewer people enjoy shopping than in the past. A survey asked a nationwide random sample of 2500 adults if they agreed or disagreed that “I like buying new clothes, but shopping is often frustrating and time-consuming.” Suppose that exactly 60% of all adult US residents would say “Agree” if asked the same question. Let X = the number in the sample who agree. Without using the calculator function, estimate the probability that 1520 or more of the sample agree.

Step 1: Verify that X is approximately a binomial random variable.

    B (binary?): Success = agree, Failure = don’t agree I (independent?): Because the population of U.S. adults is greater than 25,000 (10x2500) it is reasonable to assume the sampling without replacement condition is met.

N (number?): n = 2500 trials of the chance process S (success?): The probability of selecting an adult who agrees is p = 0.60

E

XAMPLE

S

HOPPING

8.12 – A

TTITUDES

T

OWARDS

Step 2: Check the conditions for using a Normal approximation

 Since np = 2500(0.60) = 1500 and n(1 – p) = 2500(0.40) = 1000 are both at least 10, we may use the Normal approximation.

Step 3: Calculate P(X ≥ 1520) using a Normal approximation.

    

np

 2500(0.60)  1500  

np

(1 

p

)  2500(0.60)(0.40)  24.49

z

 1520  1500 24.49

 0.82

P

(

X

 1520) 

P

(

Z

 0.82)  1  0.7939

 0.2061

 𝑃 𝑋 ≥ 1520 = .2131

, which is

B

INOMIAL

D

ISTRIBUTION WITH THE

C

ALCULATOR  Go through steps 1, 2, & 6 on p.456-457 to learn how to enter probability distributions in your calculator lists.

 Part 2 HW: p.449-462 #’s 9-11, 13, 15, 16, 20, 27, 28, 32 & 33