12
AP Statistics Section 8.1: The Binomial Distribution

AP Statistics Section 8.1: The Binomial Distribution

Embed Size (px)

Citation preview

Page 1: AP Statistics Section 8.1: The Binomial Distribution

AP Statistics

• Section 8.1: The Binomial Distribution

Page 2: AP Statistics Section 8.1: The Binomial Distribution

• Objective: To be able to understand and calculate binomial probabilities.

• Criteria for a Binomial Random Variable:1. Each observation can be classified as a success or failure.2. n is the number of trials and n is fixed.3. p is the probability of success and p is fixed.4. The observations are independent.

If data are produced in a binomial setting and X = the number of successes, then X is called a binomial random variable.The binomial probability distribution is as follows:

0 1 2 … n

P() …

F() … 1

Page 3: AP Statistics Section 8.1: The Binomial Distribution

Points:• A binomial random variable is always discrete.• To graph use a probability histogram.• Notation: X~B(n,p)• When the population > 10n (sample size) and the sample

is selected without replacement we have an approximate binomial distribution. It is approximate because the condition of independence is violated. Since the effect is minimal, we can still use the binomial formula for calculations.

Ex. Let p = 0.3, Population (N) = 50,000, n = 5

Page 4: AP Statistics Section 8.1: The Binomial Distribution

• Binomial Probability Formula:• Let X be a binomial random variable and k be the

number of successes. If X~B(n,p), then • where • which is called the binomial coefficient.• (1 - p) = q q represents the probability of

failure.• (revised with q)

Ex. A large shipment of toys contains 30% that are red, 40% that are blue and 30% that are yellow. Let X = the number of red toys. You select 5 toys at random. a. Does this example meet the criteria for a binomial

setting?

Page 5: AP Statistics Section 8.1: The Binomial Distribution

b. Find P(X = 0)

c. Find P(X = 1)

d. Find P(X = 2)

Calculator notation:For P(X = k) --- use binompdf(n,p,X)For P(X k) --- use binomcdf(n,p,X)e. Create the probability distribution of X. Include the cumulative distribution. P()

F()

Page 6: AP Statistics Section 8.1: The Binomial Distribution

• F( X = x) is the cumulative density function. )

• The shape of the distribution of is always ________• Which parameter, n or p, has the greatest influence in the

shape of the probability distribution?

• If p = 0.5 then the distribution is ____________________

• If p < 0.5 then the distribution is ____________________

• If p > 0.5 then the distribution is ____________________

Page 7: AP Statistics Section 8.1: The Binomial Distribution

• Ex. 7 couples buy new homes. It is known that in this large community 24% of new homes are built with electric heat. Let X = the number that choose electric heat.

• Find the probability that 3 couples choose electric heat. (show the formula that you would use)

• Find the probability that at most 1 couple chooses electric heat.

• Find the probability that at least 3 couples choose electric heat.

• Find the probability that more than 3 couples choose electric heat.

Page 8: AP Statistics Section 8.1: The Binomial Distribution

• Binomial Means and Standard Deviations• If the random variable X has a binomial distribution with

n observations and the probability of success p, then the mean and standard deviation of X are • and

• Normal Approximation to the Binomial Distribution• Suppose . When n is large, • ).• Points:• Normal Approximation condition: Both • If either condition is not met then the distribution is too

skewed to use a normal approximation.

Page 9: AP Statistics Section 8.1: The Binomial Distribution

• This method was used prior to the creation of calculators and computers because as n gets larger and larger the calculations become more time consuming.• As n increases, the binomial distribution approaches a

normal distribution.• Results for the normal approximation will be optimal

when n is large and p is close to 0.5• We use an notation because it will never be exactly

normal because the binomial distribution is discrete and the normal distribution is continuous.

Ex. Let X = number of successes; n = 100, p = 0.75.a. Find the exact solution to P(X < 70)

Page 10: AP Statistics Section 8.1: The Binomial Distribution

b. Using the Normal Approximation, find the P(X < 70).

Ex. Suppose from previous exit polls it is known that the probability that a voter will choose candidate A is 0.56. In an upcoming election, you plan on asking 1000 randomly selected voters who they will vote for. Using a Normal Approximation, find the probability that between 501 and 550 voters inclusive will vote for candidate A.

Page 11: AP Statistics Section 8.1: The Binomial Distribution

(OPTIONAL)Binomial Simulation:Methods:1. The book method: Use randbin(1, p, n). This will

choose the number 1 (for success) with probability p and 0 (for failure) with probability q. This emphasizes the binomial philosophy of success and failure. Then you must sum the 1s to arrive at the total number of successes.

2. Recommended method: Use randbin(n, p, number of simulations). This will give you the number of successes in n trials with a probability of success of p. It will do this for as many simulations as desired.

3. Use the methods learned in chapter 5.

Page 12: AP Statistics Section 8.1: The Binomial Distribution

Ex. In the Hershey Kiss activity that we did in chapter 6, we found that approximately 30% of the time a Hershey Kiss lands point up. Suppose you flip a kiss 100 times. How likely is it that the kiss to lands point up more than 35 times? a. Use simulation to determine an approximate answer.

b. Use the binomial formula to find the exact answer.

c. Use the Normal Approximation to arrive at an approximate answer.