SlideShare a Scribd company logo
B Y : J A L A L K A R I M I , M S C , P H D , S E C O N D S E S S I O N
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
1
• People use the term probability many times each
day.
• For example, physician says that a patient has a 50-
50 chance of surviving a certain operation.
• Another physician may say that she is 95% certain
that a patient has a particular disease
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
2
• If an event can occur in N mutually exclusive and
equally likely ways, and if m of these possess a trait,
E, the probability of the occurrence of E is read as
• P(E) = m/N
• Example
• We toss a die, what is the probability of 4 coming
up?
Since there are 6 mutually exclusive and equally likely
outcomes out of witch 4 is only one, the probability of
4 coming up is 1/6
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
3
• Suppose we toss 2 coins. We have following
outcomes:
• HH, TH, HT,TT (H=Head, T=tail)
• Suppose we want to know the probability of HH.
• HH being one of the four likely outcomes, the
probability of obtaining HH is 1/4
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
4
• Suppose we throw 2 dice and we want probability of
total of 7 points. A total 7 can come in 6.
• (1-6, 2-5, 3-4, 4,3- 5-2, or 6-1). So the numerator will be 6.
• Since we have 6 sides for each die, the total number of
‘equally likely’ , ‘mutually exclusive’ outcomes is 6×6=36.
• So the chance of getting a total of 7 when we throw 2
dice is 6/36 (or 1/6)
• Suppose there is a box containing 12 red beads and 8
green beads. You shuffle it and and pick one bead with
your eyes closed. The chance of your getting a red
bead is 12/ 20
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
5
• The estimate of probability of a specified outcome
based on a series of independent trials is given by:
• Probability =
𝑻𝒉𝒆 𝒏𝒖𝒎𝒃𝒆𝒓 𝒐𝒇 𝒕𝒊𝒎𝒆𝒔 𝒕𝒉𝒆 𝒐𝒖𝒕𝒄𝒐𝒎𝒆 𝒐𝒄𝒄𝒖𝒓𝒓𝒆𝒅
𝑻𝒐𝒕𝒂𝒍 𝒏𝒖𝒎𝒃𝒆𝒓 𝒐𝒇 𝒕𝒓𝒊𝒂𝒍𝒔
• Statistical probability or a posteriori probability i.e.,
after the event
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
6
LAWS OF PROBABILITY FOR
INDEPENDENT EVENT
• Addition law
• Example
• We throw a die, what is probability of getting 2 or 4
or 6? 1/6+1/6+1/6= 3/6 = 1/2
• Multiplication law (simultaneous occurrence)
• Example
• In tossing 2 coin, what is probability of heads in both
coins?
• 1/2×1/2= 1/4
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
7
P(A)
P(B)
P(B|A)
A and B are independent
P(B|A) = P(B)Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
8
P(A)
A and B are mutually exclusive
The occurrence of one event precludes the
occurrence of the other
P(B)
P(A OR B) = P(A U B) = P(A) + P(B)
Addition
Rule
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
9
Two events are not mutually exclusive (male
gender and blood type O).
P(M OR O) = P(M)+P(O) – P(M∩O)
= 0.50 + 0.40 – 0.20
= 0.70
Blood Group M F Total
O
A
B
AB
20
17
8
5
20
18
7
5
40
35
15
10
Total 50 50 100
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
10
EXAMPLE:
The joint probability of being ill and eat salad
P(Ill) = 110/200 = 0.55
P(IllEat B) = 90/120 = 0.75
Then the two events are dependent
P(Ill∩Eat B) = P(Eat B)P(IllEat B)
= (120/200)(90/120) = 0.45
P(A and B) = P(A) P(B|A)
Multiplication rule,
Dependence
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
11
CONDITIONAL PROBABILITY
• Example: bacteriuria & Pyelonephritis
Suppose it is known that 6 percent of pregnant
women attending a prenatal clinic at a large urban
hospital have bacteriuria.
Consider the two event: A, a pregnant women has
bacteriuria, and Ā,are mutually exclusive and
complementary:
P(A)= 0.06, P(Ā)= 1-0.06= 0.94
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
12
BAYES’ THEOREM‫بیز‬ ‫قضیه‬
‫تشخیصی‬ ‫کارآیی‬ ‫در‬ ‫آن‬ ‫کاربرد‬
‫اوری‬ ‫باکتری‬ ‫نداشتن‬ ‫احتمال‬P(Ā)‫و‬‫اوری‬ ‫باکتری‬ ‫احتمال‬P(A)
‫نداشتن‬ ‫احتمال‬‫پیلونفریت‬P(B)‫پیلونفریت‬ ‫احتمال‬ ‫و‬P(B)
Suppose 30% of bacteriouric and 1% of non- bacteriouric pregnant
women proceed the disease:
• P(A and B)= P(BI A)/P(A)=(0.30)(0.06)=0.018
• P(Ā and B)=P(BIĀ)/P(Ā)= (0.01)(0.94)=0.0094
BIA 0.30 ‫ابتال‬‫باشد‬ ‫اوریک‬ ‫باکتری‬ ‫که‬ ‫ی‬ ‫شرط‬ ‫به‬ ‫پیلونفریت‬ ‫به‬
BIĀ 0.01 ‫ابتال‬‫نباشد‬ ‫اوریک‬ ‫باکتری‬ ‫ی‬ ‫شرط‬ ‫به‬ ‫پیلونفریت‬ ‫به‬
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
13
•‫باشد‬ ‫داشته‬ ‫پیلونفریت‬ ‫هم‬ ‫و‬ ‫اوری‬ ‫باکتری‬ ‫هم‬ ‫باردار‬ ‫زن‬ ‫اینکه‬ ‫شانس‬:
• P(A and B)= P(BI A)/P(A)=(0.30)(0.06)=0.018
•‫اوری‬ ‫باکتری‬ ‫هم‬ ‫باردار‬ ‫زن‬ ‫اینکه‬ ‫شانس‬‫پیلونفریت‬ ‫و‬ ‫نداشته‬‫باشد‬ ‫داشته‬:
• P(Ā and B)=PBIĀ)/P(Ā)= (0.01)(0.94)=0.0094
•‫پیلونفریت‬ ‫شانس‬:
P(‫باشد‬ ‫داشته‬ ‫=)پیلونفریت‬P(B)= P(A and B)+ P(Ā and B)
=(0.018)(0.0094)=0.0274
‫باشد‬ ‫داشته‬ ‫پیلونفریت‬ ‫باردار‬ ‫زن‬ ‫که‬ ‫شرطی‬ ‫به‬ ‫اوری‬ ‫باکتری‬ ‫شانس‬:
P(AIB)=P(A and B)/P(B)= 0.0180/0.0274= 0.6569
‫پس‬:‫دارد‬ ‫باردارپیلونفریت‬ ‫زن‬ ‫اگر‬65.7%‫باشد‬ ‫داشته‬ ‫اوری‬ ‫باکتری‬ ‫دارد‬ ‫احتمال‬
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
14
• Sensitivity: The ability to detect people who do
have disease (T+ | D+)
• Specificity: The ability to detect people who do not
have disease (T- | D-)
• Positive Predictive Value: The likelihood that a
person with a positive test result actually has disease
(T+ | D+)
• Negative Predictive Value: The likelihood that a
person with a negative test result truly does not
have disease (T-|D-)
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
15
Disease
Positive
Disease
Negative
Test Positive True Positive False Positive
Test Negative False Negative True Negative
True Positive
True Positive+ False Negative
Sensitivity =
True Negative
True Negative+ False Positive
Specificity =
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
16
‫تست‬ ‫بیماری‬
‫دارد‬ ‫ندارد‬
‫مثبت‬ 9 100 109
‫منفی‬ 1 9890 9891
10 9990 10000
Test Disease Total
+ _
+ a b a + b
- c d c + d
Total a+c b+d a+b+c+d
Sensitivity= 9/10= 0.9= 90% Specificity= 9890/9990= 99=99%Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
17
‫تست‬ ‫بیماری‬
‫دارد‬ ‫ندارد‬
‫مثبت‬ 900 90 990
‫منفی‬ 100 8910 9010
1000 9000 10000
Sensitivity = 900/1000=0.9 = 90%
Specificity= 8910/9000 =0.99= 99%
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
18
POSITIVE PREDICTIVE VALUE
Disease Positive
Disease
Negative
Test Positive True Positive False Positive
Test Negative False Negative True Negative
True Positive
True Positive+ False Positive
=‫مثبت‬ ‫اخباری‬ ‫ارزش‬
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
19
NEGATIVE PREDICTIVE VALUE
Disease Positive Disease Negative
Test Positive True Positive False Positive
Test Negative False Negative True Negative
True Negative
True Negative+ False Negative
=‫منفی‬ ‫اخباری‬ ‫ارزش‬
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
20
SENSETVIITY=90
SPECIFICITY = 99
‫تست‬ ‫بیماری‬
‫کل‬‫دارد‬ ‫ندارد‬
‫مثبت‬ 9 100 109
‫منفی‬ 1 9890 9891
10 9990 10000
‫تست‬ ‫بیماری‬
‫کل‬‫دارد‬ ‫ندارد‬
‫مثبت‬ 900 90 990
‫منفی‬ 100 8910 9010
1000 9000 10000
=‫ارزش‬
‫مثبت‬ ‫اخباری‬
=‫ارزش‬
‫منفی‬ ‫اخباری‬
‫واقعی‬ ‫مثبت‬
‫کاذب‬ ‫منفی‬+‫واقعی‬ ‫مثبت‬
‫واقعی‬ ‫منفی‬
‫کاذب‬ ‫مثبت‬+‫واقعی‬ ‫منفی‬
(8)%0.08=9/109=
(99.9)%0.99=9890/9891=
PPV (90)%0.9=900/990=
NPV (99)%0.99=8910/9010=
‫نکته‬:
‫بیماری‬ ‫شیوع‬ ‫هرچه‬
‫ارزش‬ ،‫باشد‬ ‫بیشتر‬
‫اخباری‬ ‫ارزش‬ ‫و‬ ‫بیشتر‬ ‫تست‬ ‫مثبت‬ ‫اخباری‬
‫منفی‬
‫است‬ ‫کمتر‬ ‫تست‬.Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
21
•Sensitivity
•‫هستند‬ ‫بیماری‬ ‫دارای‬ ‫که‬ ‫است‬ ‫افرادی‬ ‫تشخیص‬ ‫در‬ ‫آزمایش‬ ‫یک‬ ‫توانایی‬
•Specificity
•‫ندارند‬ ‫را‬ ‫بیماری‬ ‫که‬ ‫است‬ ‫افرادی‬ ‫تشخیص‬ ‫در‬ ‫آزمایش‬ ‫یک‬ ‫توانایی‬
•Positive predictive value
•‫باشند‬ ‫مثبت‬ ً‫ا‬‫واقع‬ ‫که‬ ‫است‬ ‫مثبت‬ ‫نتایج‬ ‫از‬ ‫نسبتی‬
•Negative predictive value
•‫از‬ ‫نسبتی‬‫ن‬‫باشند‬ ‫منفی‬ ً‫ا‬‫واقع‬ ‫که‬ ‫است‬ ‫منفی‬ ‫تایج‬
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
22
End of second session
Jalal Karimi, Epidemiologist, PhD,
Community Medicine Department
23

More Related Content

Similar to Biostatistics 2

34301
3430134301
34301
Alok Roy
 
Statistics tests and Probablity
Statistics tests and ProbablityStatistics tests and Probablity
Statistics tests and ProbablityAbdul Wasay Baloch
 
8 screening.pptxscreening.pptxscreening.
8 screening.pptxscreening.pptxscreening.8 screening.pptxscreening.pptxscreening.
8 screening.pptxscreening.pptxscreening.
Wasihun Aragie
 
Summary statistics for binary data lecture
Summary statistics for binary data lecture Summary statistics for binary data lecture
Summary statistics for binary data lecture
DrZahid Khan
 
probability_statistics_presentation.pptx
probability_statistics_presentation.pptxprobability_statistics_presentation.pptx
probability_statistics_presentation.pptx
vietnam5hayday
 
Binomial distribution and applications
Binomial distribution and applicationsBinomial distribution and applications
Binomial distribution and applications
jalal karimi
 
Dr swe swe latt screening for slideshare
Dr swe swe latt screening for slideshareDr swe swe latt screening for slideshare
Dr swe swe latt screening for slideshare
International Islamic University Malaysia
 
Topics in Probabillity
Topics in ProbabillityTopics in Probabillity
Topics in Probabillity
Khaled Abd Elaziz
 
Health probabilities & estimation of parameters
Health probabilities & estimation of parameters Health probabilities & estimation of parameters
Health probabilities & estimation of parameters
KwambokaLeonidah
 
probability.ppt
probability.pptprobability.ppt
probability.ppt
Pudhuvai Baveesh
 
Psychology, Science, and Pseudoscience: Class #06 (Probability Fails)
Psychology, Science, and Pseudoscience: Class #06 (Probability Fails)Psychology, Science, and Pseudoscience: Class #06 (Probability Fails)
Psychology, Science, and Pseudoscience: Class #06 (Probability Fails)
Brian Hughes
 
Probability.pptx
Probability.pptxProbability.pptx
Probability.pptx
ssusera0e0e9
 
Probabilty1.pptx
Probabilty1.pptxProbabilty1.pptx
Probabilty1.pptx
KemalAbdela2
 
MedicReS Winter School 2017 Vienna - Advanced Clinical Practice in Oncology -...
MedicReS Winter School 2017 Vienna - Advanced Clinical Practice in Oncology -...MedicReS Winter School 2017 Vienna - Advanced Clinical Practice in Oncology -...
MedicReS Winter School 2017 Vienna - Advanced Clinical Practice in Oncology -...
MedicReS
 
Screening tests
Screening  testsScreening  tests
Screening tests
monaaboserea
 
Introduction to probability.pdf
Introduction to probability.pdfIntroduction to probability.pdf
Introduction to probability.pdf
YonasTsagaye
 
Pre-Cal 40S Slides May 26, 2008
Pre-Cal 40S Slides May 26, 2008Pre-Cal 40S Slides May 26, 2008
Pre-Cal 40S Slides May 26, 2008
Darren Kuropatwa
 
Disease screening and screening test validity
Disease screening and screening test validityDisease screening and screening test validity
Disease screening and screening test validity
TampiwaChebani
 
Research & infertility
Research & infertilityResearch & infertility
Research & infertility
Hesham Al-Inany
 

Similar to Biostatistics 2 (20)

34301
3430134301
34301
 
Statistics tests and Probablity
Statistics tests and ProbablityStatistics tests and Probablity
Statistics tests and Probablity
 
8 screening.pptxscreening.pptxscreening.
8 screening.pptxscreening.pptxscreening.8 screening.pptxscreening.pptxscreening.
8 screening.pptxscreening.pptxscreening.
 
Summary statistics for binary data lecture
Summary statistics for binary data lecture Summary statistics for binary data lecture
Summary statistics for binary data lecture
 
probability_statistics_presentation.pptx
probability_statistics_presentation.pptxprobability_statistics_presentation.pptx
probability_statistics_presentation.pptx
 
Binomial distribution and applications
Binomial distribution and applicationsBinomial distribution and applications
Binomial distribution and applications
 
Dr swe swe latt screening for slideshare
Dr swe swe latt screening for slideshareDr swe swe latt screening for slideshare
Dr swe swe latt screening for slideshare
 
Topics in Probabillity
Topics in ProbabillityTopics in Probabillity
Topics in Probabillity
 
Health probabilities & estimation of parameters
Health probabilities & estimation of parameters Health probabilities & estimation of parameters
Health probabilities & estimation of parameters
 
probability.ppt
probability.pptprobability.ppt
probability.ppt
 
Psychology, Science, and Pseudoscience: Class #06 (Probability Fails)
Psychology, Science, and Pseudoscience: Class #06 (Probability Fails)Psychology, Science, and Pseudoscience: Class #06 (Probability Fails)
Psychology, Science, and Pseudoscience: Class #06 (Probability Fails)
 
Probability.pptx
Probability.pptxProbability.pptx
Probability.pptx
 
Probabilty1.pptx
Probabilty1.pptxProbabilty1.pptx
Probabilty1.pptx
 
MedicReS Winter School 2017 Vienna - Advanced Clinical Practice in Oncology -...
MedicReS Winter School 2017 Vienna - Advanced Clinical Practice in Oncology -...MedicReS Winter School 2017 Vienna - Advanced Clinical Practice in Oncology -...
MedicReS Winter School 2017 Vienna - Advanced Clinical Practice in Oncology -...
 
Screening tests
Screening  testsScreening  tests
Screening tests
 
Lecture3
Lecture3Lecture3
Lecture3
 
Introduction to probability.pdf
Introduction to probability.pdfIntroduction to probability.pdf
Introduction to probability.pdf
 
Pre-Cal 40S Slides May 26, 2008
Pre-Cal 40S Slides May 26, 2008Pre-Cal 40S Slides May 26, 2008
Pre-Cal 40S Slides May 26, 2008
 
Disease screening and screening test validity
Disease screening and screening test validityDisease screening and screening test validity
Disease screening and screening test validity
 
Research & infertility
Research & infertilityResearch & infertility
Research & infertility
 

Recently uploaded

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 

Recently uploaded (20)

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 

Biostatistics 2

  • 1. B Y : J A L A L K A R I M I , M S C , P H D , S E C O N D S E S S I O N Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 1
  • 2. • People use the term probability many times each day. • For example, physician says that a patient has a 50- 50 chance of surviving a certain operation. • Another physician may say that she is 95% certain that a patient has a particular disease Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 2
  • 3. • If an event can occur in N mutually exclusive and equally likely ways, and if m of these possess a trait, E, the probability of the occurrence of E is read as • P(E) = m/N • Example • We toss a die, what is the probability of 4 coming up? Since there are 6 mutually exclusive and equally likely outcomes out of witch 4 is only one, the probability of 4 coming up is 1/6 Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 3
  • 4. • Suppose we toss 2 coins. We have following outcomes: • HH, TH, HT,TT (H=Head, T=tail) • Suppose we want to know the probability of HH. • HH being one of the four likely outcomes, the probability of obtaining HH is 1/4 Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 4
  • 5. • Suppose we throw 2 dice and we want probability of total of 7 points. A total 7 can come in 6. • (1-6, 2-5, 3-4, 4,3- 5-2, or 6-1). So the numerator will be 6. • Since we have 6 sides for each die, the total number of ‘equally likely’ , ‘mutually exclusive’ outcomes is 6×6=36. • So the chance of getting a total of 7 when we throw 2 dice is 6/36 (or 1/6) • Suppose there is a box containing 12 red beads and 8 green beads. You shuffle it and and pick one bead with your eyes closed. The chance of your getting a red bead is 12/ 20 Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 5
  • 6. • The estimate of probability of a specified outcome based on a series of independent trials is given by: • Probability = 𝑻𝒉𝒆 𝒏𝒖𝒎𝒃𝒆𝒓 𝒐𝒇 𝒕𝒊𝒎𝒆𝒔 𝒕𝒉𝒆 𝒐𝒖𝒕𝒄𝒐𝒎𝒆 𝒐𝒄𝒄𝒖𝒓𝒓𝒆𝒅 𝑻𝒐𝒕𝒂𝒍 𝒏𝒖𝒎𝒃𝒆𝒓 𝒐𝒇 𝒕𝒓𝒊𝒂𝒍𝒔 • Statistical probability or a posteriori probability i.e., after the event Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 6
  • 7. LAWS OF PROBABILITY FOR INDEPENDENT EVENT • Addition law • Example • We throw a die, what is probability of getting 2 or 4 or 6? 1/6+1/6+1/6= 3/6 = 1/2 • Multiplication law (simultaneous occurrence) • Example • In tossing 2 coin, what is probability of heads in both coins? • 1/2×1/2= 1/4 Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 7
  • 8. P(A) P(B) P(B|A) A and B are independent P(B|A) = P(B)Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 8
  • 9. P(A) A and B are mutually exclusive The occurrence of one event precludes the occurrence of the other P(B) P(A OR B) = P(A U B) = P(A) + P(B) Addition Rule Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 9
  • 10. Two events are not mutually exclusive (male gender and blood type O). P(M OR O) = P(M)+P(O) – P(M∩O) = 0.50 + 0.40 – 0.20 = 0.70 Blood Group M F Total O A B AB 20 17 8 5 20 18 7 5 40 35 15 10 Total 50 50 100 Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 10
  • 11. EXAMPLE: The joint probability of being ill and eat salad P(Ill) = 110/200 = 0.55 P(IllEat B) = 90/120 = 0.75 Then the two events are dependent P(Ill∩Eat B) = P(Eat B)P(IllEat B) = (120/200)(90/120) = 0.45 P(A and B) = P(A) P(B|A) Multiplication rule, Dependence Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 11
  • 12. CONDITIONAL PROBABILITY • Example: bacteriuria & Pyelonephritis Suppose it is known that 6 percent of pregnant women attending a prenatal clinic at a large urban hospital have bacteriuria. Consider the two event: A, a pregnant women has bacteriuria, and Ā,are mutually exclusive and complementary: P(A)= 0.06, P(Ā)= 1-0.06= 0.94 Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 12
  • 13. BAYES’ THEOREM‫بیز‬ ‫قضیه‬ ‫تشخیصی‬ ‫کارآیی‬ ‫در‬ ‫آن‬ ‫کاربرد‬ ‫اوری‬ ‫باکتری‬ ‫نداشتن‬ ‫احتمال‬P(Ā)‫و‬‫اوری‬ ‫باکتری‬ ‫احتمال‬P(A) ‫نداشتن‬ ‫احتمال‬‫پیلونفریت‬P(B)‫پیلونفریت‬ ‫احتمال‬ ‫و‬P(B) Suppose 30% of bacteriouric and 1% of non- bacteriouric pregnant women proceed the disease: • P(A and B)= P(BI A)/P(A)=(0.30)(0.06)=0.018 • P(Ā and B)=P(BIĀ)/P(Ā)= (0.01)(0.94)=0.0094 BIA 0.30 ‫ابتال‬‫باشد‬ ‫اوریک‬ ‫باکتری‬ ‫که‬ ‫ی‬ ‫شرط‬ ‫به‬ ‫پیلونفریت‬ ‫به‬ BIĀ 0.01 ‫ابتال‬‫نباشد‬ ‫اوریک‬ ‫باکتری‬ ‫ی‬ ‫شرط‬ ‫به‬ ‫پیلونفریت‬ ‫به‬ Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 13
  • 14. •‫باشد‬ ‫داشته‬ ‫پیلونفریت‬ ‫هم‬ ‫و‬ ‫اوری‬ ‫باکتری‬ ‫هم‬ ‫باردار‬ ‫زن‬ ‫اینکه‬ ‫شانس‬: • P(A and B)= P(BI A)/P(A)=(0.30)(0.06)=0.018 •‫اوری‬ ‫باکتری‬ ‫هم‬ ‫باردار‬ ‫زن‬ ‫اینکه‬ ‫شانس‬‫پیلونفریت‬ ‫و‬ ‫نداشته‬‫باشد‬ ‫داشته‬: • P(Ā and B)=PBIĀ)/P(Ā)= (0.01)(0.94)=0.0094 •‫پیلونفریت‬ ‫شانس‬: P(‫باشد‬ ‫داشته‬ ‫=)پیلونفریت‬P(B)= P(A and B)+ P(Ā and B) =(0.018)(0.0094)=0.0274 ‫باشد‬ ‫داشته‬ ‫پیلونفریت‬ ‫باردار‬ ‫زن‬ ‫که‬ ‫شرطی‬ ‫به‬ ‫اوری‬ ‫باکتری‬ ‫شانس‬: P(AIB)=P(A and B)/P(B)= 0.0180/0.0274= 0.6569 ‫پس‬:‫دارد‬ ‫باردارپیلونفریت‬ ‫زن‬ ‫اگر‬65.7%‫باشد‬ ‫داشته‬ ‫اوری‬ ‫باکتری‬ ‫دارد‬ ‫احتمال‬ Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 14
  • 15. • Sensitivity: The ability to detect people who do have disease (T+ | D+) • Specificity: The ability to detect people who do not have disease (T- | D-) • Positive Predictive Value: The likelihood that a person with a positive test result actually has disease (T+ | D+) • Negative Predictive Value: The likelihood that a person with a negative test result truly does not have disease (T-|D-) Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 15
  • 16. Disease Positive Disease Negative Test Positive True Positive False Positive Test Negative False Negative True Negative True Positive True Positive+ False Negative Sensitivity = True Negative True Negative+ False Positive Specificity = Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 16
  • 17. ‫تست‬ ‫بیماری‬ ‫دارد‬ ‫ندارد‬ ‫مثبت‬ 9 100 109 ‫منفی‬ 1 9890 9891 10 9990 10000 Test Disease Total + _ + a b a + b - c d c + d Total a+c b+d a+b+c+d Sensitivity= 9/10= 0.9= 90% Specificity= 9890/9990= 99=99%Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 17
  • 18. ‫تست‬ ‫بیماری‬ ‫دارد‬ ‫ندارد‬ ‫مثبت‬ 900 90 990 ‫منفی‬ 100 8910 9010 1000 9000 10000 Sensitivity = 900/1000=0.9 = 90% Specificity= 8910/9000 =0.99= 99% Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 18
  • 19. POSITIVE PREDICTIVE VALUE Disease Positive Disease Negative Test Positive True Positive False Positive Test Negative False Negative True Negative True Positive True Positive+ False Positive =‫مثبت‬ ‫اخباری‬ ‫ارزش‬ Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 19
  • 20. NEGATIVE PREDICTIVE VALUE Disease Positive Disease Negative Test Positive True Positive False Positive Test Negative False Negative True Negative True Negative True Negative+ False Negative =‫منفی‬ ‫اخباری‬ ‫ارزش‬ Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 20
  • 21. SENSETVIITY=90 SPECIFICITY = 99 ‫تست‬ ‫بیماری‬ ‫کل‬‫دارد‬ ‫ندارد‬ ‫مثبت‬ 9 100 109 ‫منفی‬ 1 9890 9891 10 9990 10000 ‫تست‬ ‫بیماری‬ ‫کل‬‫دارد‬ ‫ندارد‬ ‫مثبت‬ 900 90 990 ‫منفی‬ 100 8910 9010 1000 9000 10000 =‫ارزش‬ ‫مثبت‬ ‫اخباری‬ =‫ارزش‬ ‫منفی‬ ‫اخباری‬ ‫واقعی‬ ‫مثبت‬ ‫کاذب‬ ‫منفی‬+‫واقعی‬ ‫مثبت‬ ‫واقعی‬ ‫منفی‬ ‫کاذب‬ ‫مثبت‬+‫واقعی‬ ‫منفی‬ (8)%0.08=9/109= (99.9)%0.99=9890/9891= PPV (90)%0.9=900/990= NPV (99)%0.99=8910/9010= ‫نکته‬: ‫بیماری‬ ‫شیوع‬ ‫هرچه‬ ‫ارزش‬ ،‫باشد‬ ‫بیشتر‬ ‫اخباری‬ ‫ارزش‬ ‫و‬ ‫بیشتر‬ ‫تست‬ ‫مثبت‬ ‫اخباری‬ ‫منفی‬ ‫است‬ ‫کمتر‬ ‫تست‬.Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 21
  • 22. •Sensitivity •‫هستند‬ ‫بیماری‬ ‫دارای‬ ‫که‬ ‫است‬ ‫افرادی‬ ‫تشخیص‬ ‫در‬ ‫آزمایش‬ ‫یک‬ ‫توانایی‬ •Specificity •‫ندارند‬ ‫را‬ ‫بیماری‬ ‫که‬ ‫است‬ ‫افرادی‬ ‫تشخیص‬ ‫در‬ ‫آزمایش‬ ‫یک‬ ‫توانایی‬ •Positive predictive value •‫باشند‬ ‫مثبت‬ ً‫ا‬‫واقع‬ ‫که‬ ‫است‬ ‫مثبت‬ ‫نتایج‬ ‫از‬ ‫نسبتی‬ •Negative predictive value •‫از‬ ‫نسبتی‬‫ن‬‫باشند‬ ‫منفی‬ ً‫ا‬‫واقع‬ ‫که‬ ‫است‬ ‫منفی‬ ‫تایج‬ Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 22
  • 23. End of second session Jalal Karimi, Epidemiologist, PhD, Community Medicine Department 23