chapter 5, continued.... iv. binomial probability distribution the binomial is used to calculate the...

17
Chapter 5, continued...

Upload: rosalind-lawrence

Post on 03-Jan-2016

218 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

Chapter 5, continued...

Page 2: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

IV. Binomial Probability Distribution

The binomial is used to calculate the probability of observing x successes in n trials.

Ex. What’s the probability of getting 5 “heads” when you toss a coin 7 times?

Page 3: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

A. Binomial Experiment

Properties

1. The experiment consists of a sequence of n identical trials.

2. Two outcomes are possible for each trial: “success” and “failure”.

3. The probability of a success, denoted by p, doesn’t change from trial to trial.

4. The trials are independent.

Page 4: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

Example

A car saleswoman approaches 3 prospective buyers. Past experience tells her that a shopper will buy 1/10 times.

1. n=3 identical trials

2. S=buys a car; F=doesn’t buy a car

3. p=.10, (1-p)=.90

4. Trials are independent since customers don’t know each other. The action of one customer can’t affect the probability the next buys a car.

Page 5: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

The problem

What is the probability that exactly 2 of the 3 customers buy a car?

S

F

SS

SS

S

F

F F

F

F

F

S

SSS (x=3)

SSF (2)

SFS (2)

SFF (1)

FSS (2)

FSF (1)

FFS (1)

FFF (0)

Page 6: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

Using the counting rule

You can see from the probability tree that there are 3 possible outcomes that have exactly 2 successes. But you can use the counting rule from chapter 4.

3)!23(!2

!3

2

3

)!(!

!

xnx

n

x

n

These 3 outcomes are (SSF), (SFS), and (FSS).

Page 7: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

Calculating probabilities

Using the multiplication law, you can find the probability of observing each outcome:

P(SSF)=p*p*(1-p)=.1(.1)(.9)=.009

P(SFS)=p*(1-p)*p=.1(.9)(.1)=.009

P(FSS)=(1-p)*p*p=.9(.1)(.1)=.009

Page 8: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

General formulas

In general, the probability of x successes in a particular sequence of n trial outcomes:

)()1( xnx pp

Finally we need to combine the number of outcomes with the probability of each to give us a Binomial Probability Function.

Page 9: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

C. Binomial Probability Function

Where f(x) is the probability of x successes in n trials.

In our example, what is the probability that exactly 2 of the 3 customers buy a car?

f(2)=3*(.1)2(1-.1)(3-2)=.027

Not good odds!!!!

)()1()( xnx ppx

nxf

Page 10: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

D. Binomial E(x) and Var(x)

The expected value:

E(x)==np

Variance:

Var(x)=2=np(1-p)

Page 11: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

V. Poisson Probability Distribution

Siméon Denis Poisson (1781-1840), a French mathematician, developed the Poisson to estimate the probability of a number of occurrences over a specified interval of time or space. It’s said that the French Army used Poisson’s methods to predict the incidence of soldiers’ death by mule kicks.

Tres debonair, no?

Page 12: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

A. Properties of a Poisson Experiment

1. The probability of an occurrence is the same for any two intervals of equal length.

2. The occurrence or nonoccurrence in any interval is independent of the same in any other interval.

Example: Experiment is the number of cars through a drive-thru window in 1 hour.

Can you see how this experiment satisfies the conditions?

Page 13: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

B. Poisson Probability Function

• f(x) is the probability of exactly x occurrences in an interval.

is the expected value or mean # of occurrences in an interval

• e is the ln(1) or approximately 2.71828.

!)(

x

exf

x

Page 14: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

C. Example with time intervals

At a drive up window at a local bank, past experience tells us that the mean number of cars in a 15 minute period is =10 cars.

x is the random variable, # of cars in a 15 minute span.

!

10)(

10

x

exf

x

What does this have to do with mules?

Page 15: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

Problems

• What is the probability of exactly 7 cars in any 15 minute span?

0901.!7

10)7(

107

e

fHow would this be

useful?

Page 16: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

Problems

• Find the probability of 1 car in 5 minutes.

First we need to convert =10 from a 15 minute span to a 5 minute span.

If =10 cars in 15 minutes, =10/3=3.33 cars in 5 minutes.

1189.!1

333.3)1(

333.31

e

f

Page 17: Chapter 5, continued.... IV. Binomial Probability Distribution The binomial is used to calculate the probability of observing x successes in n trials

D. Example with distance intervals

Suppose a pipeline needs 1 repair every 100 miles, per year ( =1 per 100 miles).

If 1000 miles of pipe are built, what is the probability that there will need to be 5 repairs in a year?

If =1 per 100 miles, =10 per 1000 miles.

0378.!5

10)5(

105

e

f