Conditional probability February 12, 2012 Tuesday, February 12, 13 - - PowerPoint PPT Presentation

conditional probability
SMART_READER_LITE
LIVE PREVIEW

Conditional probability February 12, 2012 Tuesday, February 12, 13 - - PowerPoint PPT Presentation

Conditional probability February 12, 2012 Tuesday, February 12, 13 Once you eliminate the impossible, whatever remains, however improbable, must be the truth. Tuesday, February 12, 13 Flip a fair coin twice. If you get TT, re-roll.


slide-1
SLIDE 1

Conditional probability

February 12, 2012

Tuesday, February 12, 13

slide-2
SLIDE 2

“Once you eliminate the impossible, whatever remains, however improbable, must be the truth.”

Tuesday, February 12, 13

slide-3
SLIDE 3

Flip a fair coin twice. If you get TT, re-roll.

Tuesday, February 12, 13

slide-4
SLIDE 4

Flip a fair coin twice. If you get TT, re-roll. What’s the probability of HH?

Tuesday, February 12, 13

slide-5
SLIDE 5

HH HT TH TT

Tuesday, February 12, 13

slide-6
SLIDE 6

HH HT TH TT

Tuesday, February 12, 13

slide-7
SLIDE 7

HH HT TH TT prob = 1/3

Tuesday, February 12, 13

slide-8
SLIDE 8

HH HT TH TT 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25

Tuesday, February 12, 13

slide-9
SLIDE 9

HH HT TH TT 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25

Tuesday, February 12, 13

slide-10
SLIDE 10

HH HT TH TT 0.25 0.25 0.25 0.25 0.333 0.333 0.333 0.25 0.25 0.25 0.25

Tuesday, February 12, 13

slide-11
SLIDE 11

HH HT TH TT 0.25 0.25 0.25 0.25 0.333 0.333 0.333 prob = 0.333 0.25 0.25 0.25 0.25

Tuesday, February 12, 13

slide-12
SLIDE 12

A = all heads G = not all tails What is P(A | G)?

Tuesday, February 12, 13

slide-13
SLIDE 13

What if I flip the coin 3 times? (Again, re-rolling whenever I get all tails.)

Tuesday, February 12, 13

slide-14
SLIDE 14

A = all heads G = not all tails What is P(A | G)? Solution (in this case): P(A) / P(G)

Tuesday, February 12, 13

slide-15
SLIDE 15

The general rule: P(A | B) = P(A and B) / P(B)

Tuesday, February 12, 13

slide-16
SLIDE 16

90% of girls born today will live to age 60, while only 57% will live to age to 80. If a girl born today lives to age 60, what’s the probability she lives to 80?

Tuesday, February 12, 13

slide-17
SLIDE 17

all

Tuesday, February 12, 13

slide-18
SLIDE 18

all

Tuesday, February 12, 13

slide-19
SLIDE 19

all live to 60

Tuesday, February 12, 13

slide-20
SLIDE 20

all live to 60

Tuesday, February 12, 13

slide-21
SLIDE 21

all live to 60 live to 80

Tuesday, February 12, 13

slide-22
SLIDE 22

90% of girls born today will live to age 60, while only 57% will live to age to 80. If a girl born today lives to age 60, what’s the probability she lives to 80?

Tuesday, February 12, 13

slide-23
SLIDE 23

S = live to 60 E = live to 80

Tuesday, February 12, 13

slide-24
SLIDE 24

S = live to 60 E = live to 80 P(E | S) = ?

Tuesday, February 12, 13

slide-25
SLIDE 25

S = live to 60 E = live to 80 P(E | S) = P(E and S) / P(S)

Tuesday, February 12, 13

slide-26
SLIDE 26

S = live to 60 E = live to 80 P(E | S) = P(E and S) / P(S) = 0.57 / 0.90

Tuesday, February 12, 13

slide-27
SLIDE 27

90% of girls born today will live to age 60, while only 57% will live to age to 80. If a girl born today lives to age 60, what’s the probability she lives to 80?

Tuesday, February 12, 13

slide-28
SLIDE 28

Out of 1000 girls:

  • ? die before 60
  • ? live to 80 or higher
  • ? die between 60 and 80

Tuesday, February 12, 13

slide-29
SLIDE 29

Out of 1000 girls:

  • 100 die before 60
  • 570 live to 80 or higher
  • 330 die between 60 and 80

Tuesday, February 12, 13

slide-30
SLIDE 30

Out of 1000 girls:

  • 100 die before 60
  • 570 live to 80 or higher
  • 330 die between 60 and 80

Tuesday, February 12, 13

slide-31
SLIDE 31

Out of 1000 girls:

  • 100 die before 60
  • 570 live to 80 or higher
  • 330 die between 60 and 80

Tuesday, February 12, 13

slide-32
SLIDE 32

Out of 1000 girls:

  • 100 die before 60
  • 570 live to 80 or higher
  • 330 die between 60 and 80

prob = 570/(330+570)

Tuesday, February 12, 13

slide-33
SLIDE 33

conditional probability: eliminate the impossible

Tuesday, February 12, 13

slide-34
SLIDE 34

Tuesday, February 12, 13

slide-35
SLIDE 35

Tuesday, February 12, 13

slide-36
SLIDE 36

In 1978, the NY Times reported that the

  • ccupation that had the longest life

expectancy was....

Tuesday, February 12, 13

slide-37
SLIDE 37

In 1978, the NY Times reported that the

  • ccupation that had the longest life

expectancy was.... orchestra conductor.

Tuesday, February 12, 13

slide-38
SLIDE 38

In 1978, the NY Times reported that the

  • ccupation that had the longest life

expectancy was.... orchestra conductor. Should you take up conducting?

Tuesday, February 12, 13

slide-39
SLIDE 39

P(live to 80 | live to 55 and conductor) P(live to 80)

Tuesday, February 12, 13

slide-40
SLIDE 40

P(live to 80 | live to 55 and conductor) P(live to 80 | live to 55)

Tuesday, February 12, 13

slide-41
SLIDE 41

P(live to 80 | conductor) P(live to 80 | affluent)

Tuesday, February 12, 13

slide-42
SLIDE 42

If a woman has breast cancer, there’s a 90% probability she will have a positive mammogram. If a woman doesn’t, there’s a 7% probability she will still have a positive mammogram. What is the probability a randomly selected woman who has a positive mammogram actually has breast cancer?

Tuesday, February 12, 13

slide-43
SLIDE 43

If a woman has breast cancer, there’s a 90% probability she will have a positive mammogram. If a woman doesn’t, there’s a 7% probability she will still have a positive mammogram. What is the probability a randomly selected woman who has a positive mammogram actually has breast cancer? Not enough information!

Tuesday, February 12, 13

slide-44
SLIDE 44

If a woman has breast cancer, there’s a 90% probability she will have a positive mammogram. If a woman doesn’t, there’s a 7% probability she will still have a positive mammogram. 0.8% of women have breast cancer. What is the probability a randomly selected woman who has a positive mammogram actually has breast cancer?

Tuesday, February 12, 13

slide-45
SLIDE 45

Doctors’ estimates ranged from 0% - 100%

Tuesday, February 12, 13

slide-46
SLIDE 46

Method 1: shut up and calculate

Tuesday, February 12, 13

slide-47
SLIDE 47

Method 2: natural frequencies

Tuesday, February 12, 13

slide-48
SLIDE 48

Tuesday, February 12, 13

slide-49
SLIDE 49

Be careful: what does that 0.8% even mean? Where did it come from? Who does it include? Be careful: lifetime risk of getting breast cancer is much larger than 0.8%. These are the kind of questions to ask, when reading about these sorts of analyses.

Tuesday, February 12, 13