slide3 bme adat_2015

50
session#3 Divényi János @divenyi.janos

Upload: janos-divenyi

Post on 13-Apr-2017

996 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Slide3 bme adat_2015

session#3 Divényi János @divenyi.janos

Page 2: Slide3 bme adat_2015

b.socrative.com

Student login into room BMEADAT

Page 3: Slide3 bme adat_2015

QUESTION

DATA

ANALYSIS

PRESENTATION

Page 4: Slide3 bme adat_2015

QUESTION

DATA

Page 5: Slide3 bme adat_2015

QUESTION

DATA

ANALYSIS

Page 6: Slide3 bme adat_2015

How to find answersto relevant questions

using data

Page 7: Slide3 bme adat_2015
Page 8: Slide3 bme adat_2015
Page 9: Slide3 bme adat_2015
Page 10: Slide3 bme adat_2015

http://boredbug.com/wp-content/uploads/2015/08/onesecondbeforedisaster.jpg

Page 11: Slide3 bme adat_2015

http://www.webpages.uidaho.edu/ed571/571-Modules/M3/Sampling_Design-Funny.gif

Page 12: Slide3 bme adat_2015

QUESTION

DATA

ANALYSIS

Page 13: Slide3 bme adat_2015

How doesa new piece of

information

affects

what we knowabout the world?

ww

w.b

igs

toc

kp

ho

to.c

om

Page 14: Slide3 bme adat_2015
Page 15: Slide3 bme adat_2015
Page 16: Slide3 bme adat_2015

P(A|B)

conditional probability

probability that A occurs given than B has occurred

Page 18: Slide3 bme adat_2015

Problem #1

Mr. Jones has two children. The older child is a boy. What is the

probability that both children are boys?

Page 19: Slide3 bme adat_2015

Problem #1

Mr. Jones has two children. The older child is a boy. What is the

probability that both children are boys?

1/2

Page 20: Slide3 bme adat_2015

Problem #2

Mr. Smith has two children.At least one of them is a boy. What is the probability that both children are boys?

Page 21: Slide3 bme adat_2015

Problem #2

Mr. Smith has two children.At least one of them is a boy. What is the probability that both children are boys?

1/3

Page 22: Slide3 bme adat_2015

Problem #3

Mr. Gardner has two children. At least one of them is a boy born on Tuesday. What is the

probability that both children are boys?

Page 23: Slide3 bme adat_2015

Problem #3

Mr. Gardner has two children. At least one of them is a boy born on Tuesday. What is the

probability that both children are boys?

13/27

Page 24: Slide3 bme adat_2015

https://xkcd.com/795/

Page 25: Slide3 bme adat_2015

How doesa new piece of

information

affects

what we knowabout the world?

ww

w.b

igs

toc

kp

ho

to.c

om

Page 26: Slide3 bme adat_2015
Page 27: Slide3 bme adat_2015

Down syndrome screening

Page 28: Slide3 bme adat_2015

Unconditional risk 1:400 = 0.0025

Discovery rate 0.83

False positive rate 0.047

Page 29: Slide3 bme adat_2015

Unconditional risk 1:400 = 0.0025

Discovery rate 0.83

False positive rate 0.047

Down if positive?

Page 30: Slide3 bme adat_2015
Page 31: Slide3 bme adat_2015
Page 32: Slide3 bme adat_2015
Page 33: Slide3 bme adat_2015
Page 34: Slide3 bme adat_2015

Down if positive?

Page 35: Slide3 bme adat_2015

Down if positive?

Page 36: Slide3 bme adat_2015

Down if positive?

P(+, Down) / (P(+, Down) + P(+, not Down))

Page 37: Slide3 bme adat_2015

Unconditional risk 1:400 = 0.0025

Discovery rate 0.83

False positive rate 0.047

P(+, Down) / (P(+, Down) + P(+, not Down))

Page 38: Slide3 bme adat_2015

Unconditional risk 1:400 = 0.0025

Discovery rate 0.83

False positive rate 0.047

P(+, Down) / (P(+, Down) + P(+, not Down))

0.83*0.0025 / (0.83*0.0025 + 0.047*0.9975)

Page 39: Slide3 bme adat_2015

Unconditional risk 1:400 = 0.0025

Discovery rate 0.83

False positive rate 0.047

Down if positive 0.0424

P(+, Down) / (P(+, Down) + P(+, not Down))

0.83*0.0025 / (0.83*0.0025 + 0.047*0.9975)

Page 40: Slide3 bme adat_2015
Page 41: Slide3 bme adat_2015

Unconditional risk 1:400 = 0.0025

Discovery rate 0.83

False positive rate 0.047

Down if positive 0.0424

P(+, Down) / (P(+, Down) + P(+, not Down))

0.83*0.0025 / (0.83*0.0025 + 0.047*0.9975)

Page 42: Slide3 bme adat_2015
Page 43: Slide3 bme adat_2015

Bayes’ Theorem

P(B|A) = P(A|B) ∙ P(B)

P(A)

P(B|A) =P(A|B) ∙ P(B)

P(A|B) ∙ P(B) + P(A|not B) ∙ P(not B)

Page 44: Slide3 bme adat_2015

1% prevalence

99% accurate test

positive result means risk of

Simplistic example

Page 45: Slide3 bme adat_2015

1% prevalence

99% accurate test

positive result means risk of

50%

Simplistic example

Page 46: Slide3 bme adat_2015

In 1999 Sally Clark was accused for murdering her2 children after she sequentially claimed thatthey died in sudden infant death syndrome (SIDS).

The probability of SIDS is 1 in 8500.

Page 47: Slide3 bme adat_2015

In 1999 Sally Clark was accused for murdering her2 children after she sequentially claimed thatthey died in sudden infant death syndrome (SIDS).

The probability of SIDS is 1 in 8500.

1. If you were the judgewhat other probabilityyou would want to know?

2. Would you convict her?

Page 48: Slide3 bme adat_2015

In 1999 Sally Clark was accused for murdering her2 children after she sequentially claimed thatthey died in sudden infant death syndrome (SIDS).

The probability of SIDS is 1 in 8500.

1. If you were the judgewhat other probabilityyou would want to know?

2. Would you convict her?

3. Do you think she was convicted?

Page 49: Slide3 bme adat_2015
Page 50: Slide3 bme adat_2015