chapter 7 lesson 7.5 random variables and probability distributions 7.5: binomial and geometric...

20
Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Upload: helena-lane

Post on 31-Dec-2015

240 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Chapter 7Lesson 7.5

Random Variables and Probability Distributions

7.5: Binomial and Geometric Distributions

Page 2: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Special Distributions

Two Discrete Distributions:Binomial and Geometric

One Continuous Distribution:Normal Distributions

Page 3: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Properties of a Binomial Experiment

1. There are a fixed number of trials

2. Each trial results in one of two mutually exclusive outcomes. (success/failure)

3. Outcomes of different trials are independent

4. The probability that a trial results in success is constant.

The binomial random variable x is defined as

x = the number of successes when a binomial experiment is performed

We use n to denote the fixed number of trials.

Page 4: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Are these binomial distributions?

1) Toss a coin 10 times and count the number of heads

Yes2) Deal 10 cards from a shuffled

deck and count the number of red cards

No, probability does not remain constant

3) The number of tickets sold to children under 12 at a movie theater in a one hour period

No, no fixed number

Page 5: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Binomial Probability Formula:Let n = number of independent trials in a binomial experimentp = constant probability that any trial results in a success

xnx ppxnx

nxP

)1(

)!(!!

)(

Where:

)!(!!xnx

nC

x

nxn

Technology, such as calculators and

statistical software, will also perform this calculation.

Page 6: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Let’s record the gender of the next 5 newborns at Huntington Memorial Hospital and see how many girls we get.

Is this a binomial experiment?

Yes, if the births were not multiple births (twins, etc).

Define the random variable of interest.

x = the number of females born out of the next 5 births

What are the possible values of x?

x 0 1 2 3 4 5

What is the probability of “success”?

Page 7: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Newborns Continued . . .

What is the probability that exactly 2 girls will be born out of the next 5 births?

What is the probability that less than 2 girls will be born out of the next 5 births?

3125.5.05.0)2( 3225 CxP

)1()0()2( ppxP

1875.

5.5.5.5. 4115

5005

CC

Page 8: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

mx = 0(.03125) + 1(.15625) + 2(.3125) + 3(.3125) + 4(.15625) + 5(.03125)

=2.5

Newborns Continued . . .

Let’s construct the discrete probability distribution table for this binomial random variable:

What is the mean number of girls born in the next five births?

x 0 1 2 3 4 5

p(x) .03125 .15625

.3125 .3125 .15625

.03125

Since this is a discrete distribution, we could use:

xpx

Notice that this is the same as multiplying n × p

Page 9: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Formulas for mean and standard deviation of a binomial distribution

pnp

np

x

x

1

Page 10: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Newborns Continued . . .

How many girls would you expect in the next five births at a particular hospital?

What is the standard deviation of the number of girls born in the next five births?

5.2)5(.5 npx

118.1

)5)(.5(.5)1(

pnpx

Page 11: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

The Binomial Model (cont.)

Binomial Probability Model

n = number of trials

p = probability of success

q = 1 – p = probability of failure

X = # of successes in n trials

P(X = x) = nCx px qn-x

Page 12: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Independence

One of the important requirements is that the trials be independent.

When we don’t have an infinite population and we are sampling without replacement, the trials are not independent.

But, there is a rule that allows us to pretend we have independent trials: The 10% condition: If the trials are not independent, it

is still okay to proceed as long as the sample is smaller than 10% of the population.

Page 13: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 17- 13

Page 14: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Newborns Revisited . . .

Suppose we were not interested in the number of females born out of the next five births, but

which birth would result in the first female being born?

How is this question different from a binomial distribution?

Page 15: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Properties of Geometric Distributions:• There are two possible outcomes: a success or

failure• Each trial is independent of the others• The probability of success is constant for all

trials.

A geometric random variable x is defined as x = the number of trials UNTIL the FIRST success

is observed ( including the success).

x 1 2 3 4

So what are the possible values of x

How far will this go?

To infinity

. . .

Page 16: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Probability Formula for the Geometric Distribution

Letp = constant probability that any trial results in a success

Where x = 1, 2, 3, …

ppxp x 1)1()(

Page 17: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Suppose that 40% of students who drive to campus at your school or university carry jumper cables. Your car has a dead battery and you don’t have jumper cables, so you decide to stop students as they are headed to the parking lot and ask them whether they have a pair of jumper cables.

Let x = the number of students stopped before finding one with a pair of jumper cables

Is this a geometric distribution?

Yes

Page 18: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Jumper Cables Continued . . .

Let x = the number of students stopped before finding one with a pair of jumper cables

p = .4

What is the probability that third student stopped will be the first student to have jumper cables?

What is the probability that at most three student are stopped before finding one with jumper cables?

P(x = 3) = (.6)2(.4) = .144

P(x < 3) = P(1) + P(2) + P(3) =(.6)0(.4) + (.6)1(.4) + (.6)2(.4)

= .784

Page 19: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

The Geometric Model (cont.)

Geometric probability model for Bernoulli trials:

p = probability of success

q = 1 – p = probability of failure

X = # of trials until the first success occurs

P(X = x) = qx-1p

Page 20: Chapter 7 Lesson 7.5 Random Variables and Probability Distributions 7.5: Binomial and Geometric Distributions

Homework

• Pg.439: #7.44, 47, 52-54, 56, 58, 60, 61