+ All Categories
Home > Documents > Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of...

Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of...

Date post: 17-Dec-2015
Category:
Upload: betty-potter
View: 213 times
Download: 0 times
Share this document with a friend
24
Conditional Probability and Independence
Transcript
Page 1: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Conditional Probability and Independence

Page 2: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood test, and 22% both tests.

What is the probability that a randomly selected DWI suspect is given

1.A test?2.A blood test or a breath test,

but not both?3.Neither test?

Page 3: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood test, and 22% both tests.

What is the probability that a randomly selected DWI suspect is given

1. A test?2. A blood test or a breath test, but not both?3. Neither test?

Breath testBlood test

0.220.560.14

0.08

Breath testBlood test

0.220.560.14

0.08

Page 4: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

What is the probability that a randomly selected DWI suspect is given

1.A test?

Breath testBlood test

0.220.560.14

Breath testBlood test

0.220.560.14

0.08

P( breath test or blood test) = 0.56 + 0.22 + 0.14 = 0.92

Page 5: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

What is the probability that a randomly selected DWI suspect is given

2. A blood test or a breath test, but not both?

Breath testBlood test

0.220.560.14

0.08

Breath testBlood test

0.220.560.14

0.08

P(blood or breath but not both) = 0.92 -.22 = 0.70

Page 6: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

What is the probability that a randomly selected DWI suspect is given

3. Neither test?

Breath testBlood test

0.220.560.14

0.08

Breath testBlood test

0.220.560.14

0.08

P(neither test) = 1 – P(either test) = 1 – 0.92 = .08

Page 7: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood test, and 22% both tests.

1.Are giving a DWI suspect a blood test and a breath test mutually exclusive?

2. Are giving the two tests independent?

P(blood test and breath test) = 0.22 so not mutually exclusive

Page 8: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood test, and 22% both tests.

2. Are giving the two tests independent?

Yes No Total

Yes 0.22 0.36

No

Total 0.78 1.00

Breath test

Blo

od

test

Page 9: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Yes No Total

Yes 0.22 0.14 0.36No 0.56 0.08 0.64

Total 0.78 0.22 1.00

Breath test

Blo

od

test

Are giving the two tests independent?

Does getting a breath test change the probability of getting a blood test?

Does P(blood test) = P(blood | breath test)?

P(blood test) = 0.36 P(blood | breath test) = 0.22/0.78 = 0.28

The two events are not independent!

Page 10: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Definition of Independent Events

Two events E and F are independent if and only if

P(F | E) = P(F) or P(E | F) = P(E)

Page 11: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

EXAMPLE Illustrating Independent Events

The probability a randomly selected murder victim is male is 0.7515. The probability a randomly selected murder victim is male given that they are less than 18 years old is 0.6751.

Since P(male) = 0.7515 and

P(male | < 18 years old) = 0.6751,

the events “male” and “less than 18 years old” are not independent. In fact, knowing the victim is less than 18 years old decreases the probability that the victim is male.

Page 12: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Given a deck of cards, one

card is drawn. What

is the probability that it is an ace or a red

card?P(ace or red) = P(ace) + P(red) – P(ace and red) =

52

4

52

26

52

2

52

28+ - =

Page 13: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Given a deck of cards, five

cards are drawn

without replacement. What is the probability they are all

hearts?

52

13

51

12

50

11x x = 0.0005

49

1048

9x x

Page 14: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

I draw one card and look

at it. I tell you it is red. What is the

probability it is a heart?

P( heart | red) =

13P(heart and red) 152

26P(red) 252

Page 15: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Are “red card” and “spade” mutually

exclusive? Are they

independent?A red card can’t be a spade so they ARE mutually exclusive

P(red) ? P(red|spade).50 0

So are NOT independent

Mutually exclusive

events are always

dependent!

Page 16: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Are “red card” and

“ace” mutually

exclusive? Are they

independent?2 aces are

red cards so they are

NOT mutually exclusive

P(red) ? P(red|ace).50 .50

So they ARE independent

Page 17: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Are “face card” and

“king” mutually

exclusive? Are they

independent?Kings are Face cards so they are

NOT mutually exclusive

P(face) ? P(face|king)

12/52 1 So they are NOT

independent

Page 18: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

A company’s records indicate that on any given day about 1% of their day shift workers and 2% of their night shift workers will miss work. Sixty percent of the workers work the day shift.

What percent of workers are absent on any given day?

Is absenteeism independent of shift worked?

1.4%

No, the probability depended on whether they worked the day (.01) or the night (.02) shift.

Page 19: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Real estate ads suggest that 64% of homes for sale have garages, 21% have swimming pools, and 17% have both features.

If a home for sale has a garage, what’s the probability that it has a pool too?

Are having a garage and a pool mutually exclusive?

Are having a garage and a pool independent events?

P(P|G) = .17/.64 = .266

No, 17% of homes have both.

P(P) ? P(P|G) .21≠ .266 They are not independent.

Page 20: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

TWO-KID FAMILIES

Consider the sample space of all families with two children:

Sample space = {(B, B), (B, G), (G, B), (G, G)}

Assume that male/female is equally likely.

Page 21: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Two Questions:

1. What is the probability of obtaining a family with two girls, given that the family has at least one girl?

2. What is the probability of obtaining a family with two girls, given that the older sibling is a girl?

Page 22: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Question 1:

P(family with 2 girls | family has at least one girl)= P(family with two girls and family with at least one girl) P(family with at least one girl)

= P(GG) P(GG or BG or GB)

= 3333.75.

25.

4/3

4/1

Page 23: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

Question 2:

P(family with 2 girls | family with older sibling a girl)

= P(family with two girls and family with older sibling a girl) P(family with older sibling a girl)

= P(GG) P(GG or GB)

= 50.50.

25.

2/1

4/1

Page 24: Conditional Probability and Independence. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood.

HUH?????I

PROBABILITY!


Recommended