SlideShare a Scribd company logo
1 of 23
Download to read offline
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

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.pptxvietnam5hayday
 
Binomial distribution and applications
Binomial distribution and applicationsBinomial distribution and applications
Binomial distribution and applicationsjalal karimi
 
Health probabilities & estimation of parameters
Health probabilities & estimation of parameters Health probabilities & estimation of parameters
Health probabilities & estimation of parameters KwambokaLeonidah
 
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
 
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
 
Introduction to probability.pdf
Introduction to probability.pdfIntroduction to probability.pdf
Introduction to probability.pdfYonasTsagaye
 
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, 2008Darren Kuropatwa
 
Disease screening and screening test validity
Disease screening and screening test validityDisease screening and screening test validity
Disease screening and screening test validityTampiwaChebani
 

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

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 

Recently uploaded (20)

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 

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