topic 6 probability modified from the notes of professor a. kuk p&g pp. 125-134
TRANSCRIPT
![Page 1: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/1.jpg)
Topic 6Probability
Modified from the notes of Professor A. Kuk
P&G pp. 125-
134
![Page 2: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/2.jpg)
Use letters A, B, C, … to denote events
An event may occur or may not occur.
Events:•passing an exam•getting a disease•surviving beyond a certain age•treatment effective
What is the probability of occurrence of an event?
![Page 3: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/3.jpg)
Operations on events
1º Intersection
A = “A woman has cervical cancer”B = “Positive Pap smear test”
“A woman has cervical cancer and is tested positive”
B" andA " means ,
by denoted ,B" intersectsA "event The
BA
BA
![Page 4: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/4.jpg)
S
A B
Venn Diagram
BA
![Page 5: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/5.jpg)
••
•
•••
• •• •
• ••
• • •••
•••
e.g.6 sided
die
A=“Roll a 3” B=“Roll a 5”
2° Union
5"or 3 a Roll" BA
both"or Bor A either " is
,by denoted ,B"union A "event The BA
![Page 6: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/6.jpg)
S
A B
Venn Diagram
BA
![Page 7: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/7.jpg)
“A complement,” denoted byAc, is the event “not A.”
A = “live to be 25”Ac= “do not live to be 25”
= “dead by 25”
3° Complement
![Page 8: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/8.jpg)
S
A
Ac
Venn Diagram
![Page 9: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/9.jpg)
Null event
Cannot happen --- contradiction
Definitions:
cAAge .,.
![Page 10: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/10.jpg)
Cannot happen together:
A = “live to be 25”B =“die before 10th birthday”
Mutually exclusive events:
BA
![Page 11: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/11.jpg)
S
A
B
Venn Diagram
BA
![Page 12: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/12.jpg)
Meaning of probabilityWhat do we mean when we sayP(Head turns up in a coin toss) ?
21
Frequency interpretation of probability
Number of tosses 10 100 1000 10000Proportion of heads .200 .410 .494 .5017
5.0
![Page 13: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/13.jpg)
If an experiment is repeated n times under essentially identical conditions and the event A occurs m times, then as n gets large the ratio approaches the
mn
probability of A.
( )m
P An
=
More generally,
as n gets large
![Page 14: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/14.jpg)
Complement
c
c
mP(A)
nn-m
P(A ) 1 P(A)n
P(A) + P(A ) 1
=
= = -
=
For any event A
1)(0
so ,
AP
nm
![Page 15: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/15.jpg)
Repeat experiment n times
A=m
Ac=n-m
Venn Diagram
![Page 16: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/16.jpg)
If A and B are mutually exclusive
i.e. cannot occur together( )P A B P(A) + P(B)
m+k m kn n n
=
= +
U
Mutually exclusive events
BA
![Page 17: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/17.jpg)
Conduct experiment n times
A=m
B=k
Venn Diagram when A and B are mutually exclusive
![Page 18: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/18.jpg)
If the events A, B, C, …. aremutually exclusive – so at mostone of them may occur at anyone time – then :
Additive Law
)...()()(
...)(
CPBPAP
CBAP
![Page 19: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/19.jpg)
A B
In general, )()()()( BAPBPAPBAP
BA
![Page 20: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/20.jpg)
![Page 21: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/21.jpg)
![Page 22: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/22.jpg)
![Page 23: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/23.jpg)
![Page 24: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/24.jpg)
Note:
Multiplicative rule
)|()()( ABPAPBAP
)(
)()|(
)(
)()|(
BP
BAPBAP
AP
BAPABP
)|()(
)|()()( So
BAPBP
ABPAPBAP
![Page 25: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/25.jpg)
Diagnostic tests
D = “have disease”
Dc =“do not have disease”T+=“positive screening result
P(T+|D)=sensitivity
P(T-| Dc)=specificity
Note: sensitivity & specificity are properties of the test
![Page 26: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/26.jpg)
PRIOR TO TEST
P(D)= prevalenceAFTER TEST:
For someone tested positive, consider
P(D|T+)=positive predictive value.For someone tested negative, consider
P(Dc |T-)=negative predictive value.
Update probability in presence of additional information
![Page 27: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/27.jpg)
D
Dc
T+TD
TDc
)()(
)(
)(
)()|(
TDPTDP
TDP
TP
TDPTDP
c
![Page 28: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/28.jpg)
This is called Bayes’ theorem
prevalence x sensitivity=
prev x sens + (1-prev)x(1-specifity)
Using multiplicative rule
= positive predictive value = PPV
)|()()|()(
)|()()|(
cc DTPDPDTPDP
DTPDPTDP
similarly obtained becan )|(NPV TDP c
![Page 29: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/29.jpg)
Example: X-ray screening for tuberculosis
30Total
8Negative
22Positive
Yes
Tuberculosis
X-ray
22Sensitivity .7333
3
0 = =
![Page 30: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/30.jpg)
Example: X-ray screening for tuberculosis
179030Total
17398Negative
5122Positive
NoYes
Tuberculosis
X-ray
22Sensitivity .7333
3
0 = =
![Page 31: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/31.jpg)
Example: X-ray screening for tuberculosis
179030Total
17398Negative
5122Positive
NoYes
Tuberculosis
X-ray
1739Speci
22Sensitivi
ficity
ty .7333 3
.9715179
0
0
= =
= =
![Page 32: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/32.jpg)
Population: 1,000,000
Screening for TB
![Page 33: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/33.jpg)
Population: 1,000,000
TB: 93
Prevalence= 9.3 per 100,000
No TB: 999,907
![Page 34: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/34.jpg)
Population: 1,000,000
TB: 93 No TB: 999,907
T+
68T-
25
Sensitivity
= 0.7333
![Page 35: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/35.jpg)
Population: 1,000,000
TB: 93 No TB: 999,907
T+
68T+
28,497T-
25T-
971,410
Specificity0.9715 =
![Page 36: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/36.jpg)
Population: 1,000,000
TB: 93 No TB: 999,907
T+
68T+
28,497T-
25T-
971,410
T+
28,565T-
971,435
![Page 37: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/37.jpg)
Population: 1,000,000
TB: 93 No TB: 999,907
T+
68T+
28,497
T+
28,565
68PPV =
28,5650.00239=
compared with prevalence of 0.00093
![Page 38: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/38.jpg)
Population: 1,000,000
TB: 93 No TB: 999,907
T-
25T-
971,410
T-
971,445 999974.0
435,971
410,971NPV
![Page 39: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/39.jpg)
Ingelfinger et.al (1983) Biostatistics in Clinical Medicine
![Page 40: Topic 6 Probability Modified from the notes of Professor A. Kuk P&G pp. 125-134](https://reader036.vdocument.in/reader036/viewer/2022070413/5697bff41a28abf838cbd40d/html5/thumbnails/40.jpg)
Ingelfinger et.al (1983) Biostatistics in Clinical Medicine