SlideShare a Scribd company logo
1 of 50
Download to read offline
session#3 Divényi János @divenyi.janos
b.socrative.com
Student login
into room BMEADAT
QUESTION
DATA
ANALYSIS
PRESENTATION
QUESTION
DATA
QUESTION
DATA
ANALYSIS
How to find answers
to relevant questions
using data
http://boredbug.com/wp-content/uploads/2015/08/onesecondbeforedisaster.jpg
http://www.webpages.uidaho.edu/ed571/571-Modules/M3/Sampling_Design-Funny.gif
QUESTION
DATA
ANALYSIS
How does
a new piece of
information
affects
what we know
about the world?
www.bigstockphoto.com
P(A|B)
conditional probability
probability that A occurs
given than B has occurred
Explained Visually
Problem #1
Mr. Jones has two children.
The older child is a boy. What is the
probability that both children are boys?
Problem #1
Mr. Jones has two children.
The older child is a boy. What is the
probability that both children are boys?
1/2
Problem #2
Mr. Smith has two children.
At least one of them is a boy. What is the
probability that both children are boys?
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
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?
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
https://xkcd.com/795/
How does
a new piece of
information
affects
what we know
about the world?
www.bigstockphoto.com
Down syndrome screening
Unconditional risk 1:400 = 0.0025
Discovery rate 0.83
False positive rate 0.047
Unconditional risk 1:400 = 0.0025
Discovery rate 0.83
False positive rate 0.047
Down if positive?
Down if positive?
Down if positive?
Down if positive?
P(+, Down) / (P(+, Down) + P(+, not Down))
Unconditional risk 1:400 = 0.0025
Discovery rate 0.83
False positive rate 0.047
P(+, Down) / (P(+, Down) + P(+, not Down))
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)
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)
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)
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)
1% prevalence
99% accurate test
positive result means risk of
Simplistic example
1% prevalence
99% accurate test
positive result means risk of
50%
Simplistic example
In 1999 Sally Clark was accused for murdering her
2 children after she sequentially claimed that
they died in sudden infant death syndrome (SIDS).
The probability of SIDS is 1 in 8500.
In 1999 Sally Clark was accused for murdering her
2 children after she sequentially claimed that
they died in sudden infant death syndrome (SIDS).
The probability of SIDS is 1 in 8500.
1. If you were the judge
what other probability
you would want to know?
2. Would you convict her?
In 1999 Sally Clark was accused for murdering her
2 children after she sequentially claimed that
they died in sudden infant death syndrome (SIDS).
The probability of SIDS is 1 in 8500.
1. If you were the judge
what other probability
you would want to know?
2. Would you convict her?
3. Do you think she was convicted?
Slide3 bme adat_2015
Slide3 bme adat_2015

More Related Content

More from János Divényi

More from János Divényi (8)

Slide5 bme adat_2016
Slide5 bme adat_2016Slide5 bme adat_2016
Slide5 bme adat_2016
 
Slide4 bme adat_2016
Slide4 bme adat_2016Slide4 bme adat_2016
Slide4 bme adat_2016
 
Slide3 bme adat_2016
Slide3 bme adat_2016Slide3 bme adat_2016
Slide3 bme adat_2016
 
Slide2 bme adat_2016
Slide2 bme adat_2016Slide2 bme adat_2016
Slide2 bme adat_2016
 
Slide1 bme adat_2016
Slide1 bme adat_2016Slide1 bme adat_2016
Slide1 bme adat_2016
 
R meetup-2016-02-09-pc
R meetup-2016-02-09-pcR meetup-2016-02-09-pc
R meetup-2016-02-09-pc
 
How to code?
How to code?How to code?
How to code?
 
Why code?
Why code?Why code?
Why code?
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 

Recently uploaded (20)

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 

Slide3 bme adat_2015