8.1 the binomial distribution ap statistics. two of the most important and useful random variable...

18
8.1 The Binomial Distribution AP Statistics

Upload: bennett-dennis

Post on 20-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

8.1 The Binomial Distribution

AP Statistics

Page 2: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

Two of the most important and useful random

variable distributions are the Binomial distribution and the Geometric distribution. In this chapter, we will examine both.

The binomial distributions are an important

class of discrete probability distributions.

Page 3: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

Four conditions must be present for a random variable distribution to be considered “binomial”

The Binomial Distribution1.Each observation can be categorized as

“success” or “failure.”2.The probability of success is the same for

each observation. 3.The observations are independent.4.There are a fixed number of observations.

Page 4: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

A binomial setting will be noted as B(n, p) where B indicates the conditions for a binomial distribution are met with “n” as the fixed number of observations and “p” as the probability for success. Because the distribution is a random variable (X), the values of X will be whole numbers from 0 to n.

Page 5: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

Example 1: Suppose you receive a shipment of five monkey-scooters (nothing is funnier than a monkey on a scooter). Each scooter has a 15% chance of not working. What is the probability 3 or more scooters in your shipment will be defective?

Why does this situation satisfy the binomial setting?1. Defective or not defective2. 15% are defective3. Independent4. 5 observations

X = # of defective scooters out of a shipment of 5X is B(5, 0.15)

Page 6: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

Use methods from chapter 7 to complete the probability distribution for X = # defective scooters out of 5.

Find: • P(3 or more scooters are defective) = P(X > 3) = 0.02661

• P(no more than 1 scooter is defective) = P(X < 1) = 0.83521

• P(odd number of defective scooters) =

X 0 1 2 3 4 5P(X) 0.4437 0.39150.13818 0.024 0.00215 7.6e-5

0.415576

Page 7: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

TI NOTE: (Woo Hoo!) Many binomial

calculations can be done on your calculator… look under your DISTR menu:

P(X = k) = binompdf(n, p, k)Binompdf (# trials, probability, point of interest)

P(X < k) = binomcdf(n, p, k)Binomcdf (#trials, probability, point of interest)

NOTE: cdf calculates to the left

Page 8: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

Practice Examples

Page 9: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

1. Suppose I am successful on 75% of my penalty shot attempts. What is the probability I will make 5 or fewer of my next 9 attempts? Define a binomial random variable and calculate the probability.

X = # successful penalty shots

X ~ B(9, 0.75)

P(X < 5) = 0.1657binomcdf(9, 0.75, 5)

Page 10: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

2. The Los Angeles Times reported that 80% of airline passengers prefer to sleep on long flights rather than watch movies, read, etc. Consider randomly selecting 25 passengers from a particular long flight. Define a random variable X and answer the following questions:

X = # of passengers who prefer to sleep X ~ B(25, 0.80)• Calculate and interpret P(X = 12) binompdf(25, 0.80, 12)

• Calculate and interpret P(X = 25) binompdf(25, 0.80, 25)

• Calculate and interpret P(X ≥ 20) 1 – binomcdf(25, 0.80, 19)

0.000293

0.003778

0.616689

Page 11: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

Mean and Standard Deviation of a Binomial Distribution

If a Random Variable X is B(n, p), what is the expected number of successes? How much variability will there be from trial to trial?

Mean and Standard Deviation of a Binomial Random Variable

If a Random Variable X is B(n, p), the mean and standard deviation of X are:

npx npqpnpx 1

Page 12: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

Normal Approximation to Binomial Distribution

As the number of trials n gets larger, the binomial distribution of X gets closer to a

normal distribution.

B(n, p) = pnpnpN 1,

Page 13: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

When n is large, we can use normal probability calculations to approximate binomial probabilities.

Rule of : Use the normal approximation when np > 10 and n(1-p) > 10.

NOTE: The normal approximation is most accurate when p is close to ½ and least accurate when p is close to 0 or 1.

Page 14: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

• Example 2: Sample surveys show that fewer people enjoy shopping than in the past. A recent 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”. The population that the poll wants to draw conclusions about is all U. S. Residents ages 18 and over. Suppose that in fact 60% of all adult U. S. residents would say “agree” if asked the same question. What is the probability that 1520 or more of the sample agree?

Page 15: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

Justify using Binomial Distribution:1. Agree or Disagree2. 60% success3. Observations are independent4. Fixed number (2500) of observations

Use the Normal distribution:np = 2500 (.6) = 1500 > 10 2500(.4) = 1000 > 10 N( np, ) = N ( 1500, 24.49)Normalcdf( 1520, 1E99, 1500, 24.49) = .2071

B( 2500, .60)1 – Binomcdf (2500, .6, 1519)

= .2131

pnp 1

The difference in the two calculations is only .006

Page 16: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

• Example 3: Suppose 55% of adults have credit card debt. If we survey 3200 adults, what is the probability more than 1800 would have credit card debt?

X = # of adults who have credit card debt out of 3200X is B(3200, 0.55)

We want P(X > 1800). Can we use a normal approximation? What would the mean and standard deviation of the normal approximation be? Use this to calculate the probability.

Page 17: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

np = (3200)(.55) = 1760 > 10nq = (3200)(.45) = 1440 > 10

N(1760, 28.14)

P(X > 1800) = .0776

Normalcdf(1800, 1E99, 1760, 28.14)

Page 18: 8.1 The Binomial Distribution AP Statistics. Two of the most important and useful random variable distributions are the Binomial distribution and the

• Youtube video from educator.com on binomial example: http://www.youtube.com/watch?v=XzS3lUh0VoA