SlideShare a Scribd company logo
1
516 Probabilty Review
0
Probability
• Probability - meaning
1) classical
2) frequentist
3) subjective (personal)
• Sample space, events
• Mutually exclusive, independence
• and, or, complement
• Joint, marginal, conditional probability
• Probability - rules
1) Addition
2) Multiplication
3) Total probability
4) Bayes
• Screening
•sensitivity
•specificity
•predictive values
1
Probability
Probability provides a measure of uncertainty associated with the
occurrence of events or outcomes – Models and theory
Definitions: 1. Classical: P(E) = m/N
If an event can occur in N mutually exclusive, equally
likely ways, and if m of these possess characteristic E,
then the probability is equal to m/N.
Example: What is the probability of rolling a total of 7 on two dice?
2
516 Probabilty Review
2
2. relative frequency:
If a process or an experiment is repeated a large number of
times, n, and if the characteristic, E, occurs m times, then the
relative frequency, m/n, of E will be approximately equal to the
probability of E.
P(E) m / n≈
3. personal probability
What is the probability of life on Mars?
» Around 1900, the English statistician Karl Pearson heroically tossed a coin
24,000 times and recorded 12,012 heads, giving a proportion of 0.5005.
probabilityofhead
n
0 500 1000
0
.5
1
Stata: graph twoway line prob n,
yscale(r(0.0,1.0)) title("Probability
of heads") ylabel(0(0.5)1)
3
Sample Space
The sample space consists of the possible outcomes of an
experiment. An event is an outcome or set of outcomes.
For a coin flip the sample space is (H,T).
3
516 Probabilty Review
4
1. Two events, A and B, are said to be mutually exclusive (disjoint) if
only one or the other, but not both, can occur in a particular
experiment.
2. Given n mutually exclusive events, E1, E2, …., En, the probability of any
event is non-negative and less than or equal to 1:
3. The sum of the probabilities of an exhaustive collection (i.e. at least
one must occur) of mutually exclusive outcomes is 1:
4. The probability of all events other than an event A is denoted by P(Ac)
[Ac stands for “A complement”] or [“A bar”]. Note that
P(Ac) = 1 – P(A)
Basic Properties of Probability
0 P ( ) 1iE≤ ≤
P(E ) P(E ) P(E ) P(E ) 1i
i 1
n
1 2 n
=
∑ = + + + =K
BA
A Ac
P( )A
5
Notation for Joint Probabilities
• If A and B are any two events then we write
P(A or B) or P(A ∪ B)
to indicate the probability that event A or event B (or both) occurred.
• If A and B are any two events then we write
P(A and B) or P(AB) or P(A ∩ B)
to indicate the probability that both A and B occurred.
• If A and B are any two events then we write
P(A given B) or P(A|B)
to indicate the probability of A among the subset of cases in which B
is known to have occurred.
BA
A ∩ B is the overlap
A ∪ B is the
entire shaded
area
4
516 Probabilty Review
6
Conditional Probability
The conditional probability of an event A given B (i.e.
given that B has occurred) is denoted P(A | B).
Disease Status
Pos. Neg. Total
Pos. 9 80 89Test
Result Neg. 1 9910 9,911
Total 10 9990 10,000
What is P(test positive)?
What is P(test positive | disease positive)?
What is P(disease positive | test positive)?
7
5
516 Probabilty Review
8
General Probability Rules
• Addition rule
If two events A and B are not mutually exclusive, then the probability
that event A or event B occurs is:
E.g. Of the students at Anytown High school, 30% have had the
mumps, 70% have had measles and 21% have had both. What is the
probability that a randomly chosen student has had at least one of the
above diseases?
P(at least one) = P(mumps or measles)
= .30 + .70 - .21 = .79
P(AB)P(B)P(A)B)orP(A −+=
Mumps
(.30)
Measles
(.70)
Both (.21)
What is P(neither)? Identify the area for “neither”
9
General Probability Rules
• Multiplication rule (special case – independence)
If two events, A and B, are “independent” (probability of one does not
depend on whether the other occurred) then
P(AB) = P(A)P(B)
Mumps?
Measles?
Measles?
P(Mumps)=0.3
P(no Mumps)=0.7
P(Measles)=0.7
P(no Measles)=0.3
Mumps,Measles
[P(both)=0.21]
Mumps, No Measles
[P(mumps only)=0.09]
No Mumps, Measles
[P(measles only)=0.49]
No Mumps, No Measles
[P(neither)=0.21]
Easy to extend for independent events A,B,C,… :
P(ABC…) = P(A)P(B)P(C)…
P(Measles)=0.7
P(no Measles)=0.3
6
516 Probabilty Review
10
• Multiplication rule (general)
More generally, however, A and B may not be independent. The
probability that one event occurs may depend on the other event. This
brings us back to conditional probability. The general formula for the
probability that both A and B will occur is
Two events A and B are said to be independent if and only if
P(A|B) = P(A) or
P(B|A) = P(B) or
P(AB) = P(A)P(B).
(Note: If any one holds then all three hold)
E.g. Suppose P(mumps) = .7, P(measles) = .3 and P(both) = .25. Are
the two events independent?
No, because P(mumps and measles) = .25 while
P(mumps)P(measles) = .21
P( ) P( | )P( ) P( | )P( )AB A B B B A A= =
General Probability Rules
11
• Total probability rule
If A1,…An are mutually exclusive, exhaustive events, then
1 1
P( ) P( and ) P( | )P( )
n n
i i i
i i
B B A B A A
= =
= =∑ ∑
E.g. The following table gives the estimated proportion of individuals with
Alzhiemer’s disease (AD) by age group. It also gives the proportion of
the general population that are expected to fall in the age group in 2030.
What proportion of the population in 2030 will have Alzhiemer’s disease?
Proportion
with AD
Proportion
population
< 65 .00 .80
65 – 75 .01 .11
75 – 85 .07 .07
Age
group
> 85 .25 .02
P(AD in 2030) = 0*.8 + .01*.11 + .07*.07 + .25*.02 = .011
7
516 Probabilty Review
12
• Bayes rule (combine multiplication rule with total probability rule)
1
P( | )P( )
P( | )
P( )
P( | )P( )
P( | )P( )
n
i i
i
B A A
A B
B
B A A
B A A
=
=
=
∑
We will only apply this to the situation where A and B have two
levels each, say, A and A, B and B. The formula becomes
P( | )P( )
P( | )
P( | )P( ) P( | )P( )
B A A
A B
B A A B A A
=
+
13
Screening - an Application of Bayes Rule
D = disease pos.
T = test pos.
Suppose we have a random sample of a population...
Disease Status
Pos. Neg. Total
Pos. 90 30 120Test
Result Neg. 10 970 980
Total 100 1000 1100
Prevalence = P(D) = 100/1100 = .091
Sensitivity = P(T | D) = 90/100 = .9
Specificity = P(T | D) = 970/1000 = .97
PPV = Predictive Value of a Positive Test
= P(D | T) = 90/120 = .75
NPV = Predictive Value of a Negative Test
= P(D | T) = 970/980 = .99
8
516 Probabilty Review
14
Screening - an Application of Bayes Rule
D = disease pos.
T = test pos.
Now suppose we have taken a sample of 100 disease positive and
100 disease negative individuals (e.g. case-control design)
Prevalence = ???? (not .5!)
Sensitivity = P(T | D) = 90/100 = .9
Specificity = P(T | D) = 97/100 = .97
PPV = P(D | T) = 90/93 NO!
NPV = P(D | T) = 97/107 NO!
Disease Status
Pos. Neg. Total
Pos. 90 3 93Test
Result Neg. 10 97 107
Total 100 100 200
15
Screening - an Application of Bayes Rule
D = disease pos.
T = test pos.
100
1100
100 1000
1100 1100
P( | )P( )
PPV P( | )
P( )
P( | )P( )
P( | )P( ) P( | )P( )
.9
.75
.9 .03
T D D
D T
T
T D D
T D D T D D
= =
=
+
×
= =
× + ×
Assume we know, from external sources, that P(D) = 100/1100.
NPV P( | )D T= =
9
516 Probabilty Review
16
Screening for Alzheimer’s Disease
- an Application of Bayes Rule
The presence of a particular genotype, APOE, has been considered
as a screen for people who develop AD. The sensitivity and
specificity of the test are 60% and 70%, respectively.
So, there is clearly an association between APOE and AD. Those
who develop AD are twice as likely to have the genotype as those
who don’t develop AD. (To see this, compare P(APOE+|AD+) to
P(APOE+|AD-).)
But is this a useful screen for AD?
Compare 2 elderly populations:
- the general elderly population where the chance of
developing AD is 5%
- an elderly population with memory complaints where the
chance of developing AD is 70%
17
AD+
.95
.6
Screening for Alzheimer’s Disease
- an Application of Bayes Rule
Suppose we are looking at an elderly population where the chance of
developing memory complaints is 5%.
AD-
APOE+ .03
APOE-
APOE+
APOE-
.05
.4
.3
.7
.02
.285
.665
Marginal Conditional Joint
.03
PPV .095
.03 .285
= =
+
.665
NPV .97
.665 .02
= =
+
10
516 Probabilty Review
18
AD+
.3
.6
Screening for Alzheimer’s Disease
- an Application of Bayes Rule
Suppose we are looking at an elderly population with memory problems
where the chance of developing memory complaints is 70%.
AD-
APOE+ .42
APOE-
APOE+
APOE-
.7
.4
.3
.7
.28
.09
.21
Marginal Conditional Joint
.42
PPV .82
.42 .08
= =
+
.21
NPV .43
.21 .28
= =
+
19
Screening for Alzheimer’s Disease
- an Application of Bayes Rule
Comments
We found that a test with given sensitivity and specificity will have
different predictive values in different populations. So the usefulness
of the test will depend on the population context and the implications of
incorrect or missed diagnoses
• If disease prevalence is low, high specificity is particularly important.
Otherwise almost all positive tests will be false positives and these
diagnoses will burden the health care system and patients with
unnecessary follow-up.
• If consequences of false positives are very bad (e.g. unnecessary
high-risk surgery), high specificity is also important.
• If disease prevalence is high and/or it is very important to find true
positive cases, then you would want a test with high sensitivity.

More Related Content

What's hot

Chapter 4 Probability Notes
Chapter 4 Probability NotesChapter 4 Probability Notes
Chapter 4 Probability Notespwheeles
 
Laws of probability
Laws of probabilityLaws of probability
Laws of probability
Brijesh Kumar
 
Probability
ProbabilityProbability
Probability
Sanila Khalid
 
Probability Review Additions
Probability Review AdditionsProbability Review Additions
Probability Review Additionsrishi.indian
 
Chapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability RulesChapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability Rules
nszakir
 
Triola t11 chapter4
Triola t11 chapter4Triola t11 chapter4
Triola t11 chapter4babygirl5810
 
Probablity distribution
Probablity distributionProbablity distribution
Probablity distribution
Mmedsc Hahm
 
Lecture: Joint, Conditional and Marginal Probabilities
Lecture: Joint, Conditional and Marginal Probabilities Lecture: Joint, Conditional and Marginal Probabilities
Lecture: Joint, Conditional and Marginal Probabilities
Marina Santini
 
Basic concepts of probability
Basic concepts of probability Basic concepts of probability
Basic concepts of probability
Long Beach City College
 
Theorems And Conditional Probability
Theorems And Conditional ProbabilityTheorems And Conditional Probability
Theorems And Conditional Probability
DataminingTools Inc
 
Mathematics for Language Technology: Introduction to Probability Theory
Mathematics for Language Technology: Introduction to Probability TheoryMathematics for Language Technology: Introduction to Probability Theory
Mathematics for Language Technology: Introduction to Probability Theory
Marina Santini
 
Probability
ProbabilityProbability
Probability
Seyid Kadher
 
Complements conditional probability bayes theorem
Complements  conditional probability bayes theorem  Complements  conditional probability bayes theorem
Complements conditional probability bayes theorem
Long Beach City College
 
Basic concept of probability
Basic concept of probabilityBasic concept of probability
Basic concept of probability
Ikhlas Rahman
 
Conditional probability, and probability trees
Conditional probability, and probability treesConditional probability, and probability trees
Conditional probability, and probability trees
Global Polis
 
Probability theory good
Probability theory goodProbability theory good
Probability theory goodZahida Pervaiz
 
Probability Theory
Probability Theory Probability Theory
Probability Theory
Anthony J. Evans
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
Nafiur Rahman Tuhin
 
Probability Concepts Applications
Probability Concepts  ApplicationsProbability Concepts  Applications
Probability Concepts Applicationsguest44b78
 
Statistics: Probability
Statistics: ProbabilityStatistics: Probability
Statistics: Probability
Sultan Mahmood
 

What's hot (20)

Chapter 4 Probability Notes
Chapter 4 Probability NotesChapter 4 Probability Notes
Chapter 4 Probability Notes
 
Laws of probability
Laws of probabilityLaws of probability
Laws of probability
 
Probability
ProbabilityProbability
Probability
 
Probability Review Additions
Probability Review AdditionsProbability Review Additions
Probability Review Additions
 
Chapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability RulesChapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability Rules
 
Triola t11 chapter4
Triola t11 chapter4Triola t11 chapter4
Triola t11 chapter4
 
Probablity distribution
Probablity distributionProbablity distribution
Probablity distribution
 
Lecture: Joint, Conditional and Marginal Probabilities
Lecture: Joint, Conditional and Marginal Probabilities Lecture: Joint, Conditional and Marginal Probabilities
Lecture: Joint, Conditional and Marginal Probabilities
 
Basic concepts of probability
Basic concepts of probability Basic concepts of probability
Basic concepts of probability
 
Theorems And Conditional Probability
Theorems And Conditional ProbabilityTheorems And Conditional Probability
Theorems And Conditional Probability
 
Mathematics for Language Technology: Introduction to Probability Theory
Mathematics for Language Technology: Introduction to Probability TheoryMathematics for Language Technology: Introduction to Probability Theory
Mathematics for Language Technology: Introduction to Probability Theory
 
Probability
ProbabilityProbability
Probability
 
Complements conditional probability bayes theorem
Complements  conditional probability bayes theorem  Complements  conditional probability bayes theorem
Complements conditional probability bayes theorem
 
Basic concept of probability
Basic concept of probabilityBasic concept of probability
Basic concept of probability
 
Conditional probability, and probability trees
Conditional probability, and probability treesConditional probability, and probability trees
Conditional probability, and probability trees
 
Probability theory good
Probability theory goodProbability theory good
Probability theory good
 
Probability Theory
Probability Theory Probability Theory
Probability Theory
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
Probability Concepts Applications
Probability Concepts  ApplicationsProbability Concepts  Applications
Probability Concepts Applications
 
Statistics: Probability
Statistics: ProbabilityStatistics: Probability
Statistics: Probability
 

Similar to 1615 probability-notation for joint probabilities

Probability.pptx
Probability.pptxProbability.pptx
Probability.pptx
ssusera0e0e9
 
4Probability and probability distributions.pdf
4Probability and probability distributions.pdf4Probability and probability distributions.pdf
4Probability and probability distributions.pdf
AmanuelDina
 
4Probability and probability distributions (1).pptx
4Probability and probability distributions (1).pptx4Probability and probability distributions (1).pptx
4Probability and probability distributions (1).pptx
AmanuelMerga
 
Day 3.pptx
Day 3.pptxDay 3.pptx
Day 3.pptx
estelaabera
 
2.statistical DEcision makig.pptx
2.statistical DEcision makig.pptx2.statistical DEcision makig.pptx
2.statistical DEcision makig.pptx
ImpanaR2
 
probability_statistics_presentation.pptx
probability_statistics_presentation.pptxprobability_statistics_presentation.pptx
probability_statistics_presentation.pptx
vietnam5hayday
 
Probability concepts for Data Analytics
Probability concepts for Data AnalyticsProbability concepts for Data Analytics
Probability concepts for Data Analytics
SSaudia
 
Addition rule and multiplication rule
Addition rule and multiplication rule  Addition rule and multiplication rule
Addition rule and multiplication rule
Long Beach City College
 
1 Probability Please read sections 3.1 – 3.3 in your .docx
 1 Probability   Please read sections 3.1 – 3.3 in your .docx 1 Probability   Please read sections 3.1 – 3.3 in your .docx
1 Probability Please read sections 3.1 – 3.3 in your .docx
aryan532920
 
Introduction to probability.pdf
Introduction to probability.pdfIntroduction to probability.pdf
Introduction to probability.pdf
YonasTsagaye
 
UNIT-II-Probability-ConditionalProbability-BayesTherom.pptx
UNIT-II-Probability-ConditionalProbability-BayesTherom.pptxUNIT-II-Probability-ConditionalProbability-BayesTherom.pptx
UNIT-II-Probability-ConditionalProbability-BayesTherom.pptx
ChagantiSahith
 
Probability Theory MSc BA Sem 2.pdf
Probability Theory MSc BA Sem 2.pdfProbability Theory MSc BA Sem 2.pdf
Probability Theory MSc BA Sem 2.pdf
ssuserd329601
 
Bayesian statistics
Bayesian statisticsBayesian statistics
Bayesian statistics
Alberto Labarga
 
Basic concepts of probability
Basic concepts of probabilityBasic concepts of probability
Basic concepts of probability
Avjinder (Avi) Kaler
 
1-Probability-Conditional-Bayes.pdf
1-Probability-Conditional-Bayes.pdf1-Probability-Conditional-Bayes.pdf
1-Probability-Conditional-Bayes.pdf
KrushangDilipbhaiPar
 
Complements and Conditional Probability, and Bayes' Theorem
 Complements and Conditional Probability, and Bayes' Theorem Complements and Conditional Probability, and Bayes' Theorem
Complements and Conditional Probability, and Bayes' Theorem
Long Beach City College
 
PROBABILITY AND IT'S TYPES WITH RULES
PROBABILITY AND IT'S TYPES WITH RULESPROBABILITY AND IT'S TYPES WITH RULES
PROBABILITY AND IT'S TYPES WITH RULESBhargavi Bhanu
 
34301
3430134301
34301
Alok Roy
 

Similar to 1615 probability-notation for joint probabilities (20)

Probability.pptx
Probability.pptxProbability.pptx
Probability.pptx
 
4Probability and probability distributions.pdf
4Probability and probability distributions.pdf4Probability and probability distributions.pdf
4Probability and probability distributions.pdf
 
4Probability and probability distributions (1).pptx
4Probability and probability distributions (1).pptx4Probability and probability distributions (1).pptx
4Probability and probability distributions (1).pptx
 
Probability concept and Probability distribution
Probability concept and Probability distributionProbability concept and Probability distribution
Probability concept and Probability distribution
 
Day 3.pptx
Day 3.pptxDay 3.pptx
Day 3.pptx
 
2.statistical DEcision makig.pptx
2.statistical DEcision makig.pptx2.statistical DEcision makig.pptx
2.statistical DEcision makig.pptx
 
probability_statistics_presentation.pptx
probability_statistics_presentation.pptxprobability_statistics_presentation.pptx
probability_statistics_presentation.pptx
 
Probability concepts for Data Analytics
Probability concepts for Data AnalyticsProbability concepts for Data Analytics
Probability concepts for Data Analytics
 
Lecture3
Lecture3Lecture3
Lecture3
 
Addition rule and multiplication rule
Addition rule and multiplication rule  Addition rule and multiplication rule
Addition rule and multiplication rule
 
1 Probability Please read sections 3.1 – 3.3 in your .docx
 1 Probability   Please read sections 3.1 – 3.3 in your .docx 1 Probability   Please read sections 3.1 – 3.3 in your .docx
1 Probability Please read sections 3.1 – 3.3 in your .docx
 
Introduction to probability.pdf
Introduction to probability.pdfIntroduction to probability.pdf
Introduction to probability.pdf
 
UNIT-II-Probability-ConditionalProbability-BayesTherom.pptx
UNIT-II-Probability-ConditionalProbability-BayesTherom.pptxUNIT-II-Probability-ConditionalProbability-BayesTherom.pptx
UNIT-II-Probability-ConditionalProbability-BayesTherom.pptx
 
Probability Theory MSc BA Sem 2.pdf
Probability Theory MSc BA Sem 2.pdfProbability Theory MSc BA Sem 2.pdf
Probability Theory MSc BA Sem 2.pdf
 
Bayesian statistics
Bayesian statisticsBayesian statistics
Bayesian statistics
 
Basic concepts of probability
Basic concepts of probabilityBasic concepts of probability
Basic concepts of probability
 
1-Probability-Conditional-Bayes.pdf
1-Probability-Conditional-Bayes.pdf1-Probability-Conditional-Bayes.pdf
1-Probability-Conditional-Bayes.pdf
 
Complements and Conditional Probability, and Bayes' Theorem
 Complements and Conditional Probability, and Bayes' Theorem Complements and Conditional Probability, and Bayes' Theorem
Complements and Conditional Probability, and Bayes' Theorem
 
PROBABILITY AND IT'S TYPES WITH RULES
PROBABILITY AND IT'S TYPES WITH RULESPROBABILITY AND IT'S TYPES WITH RULES
PROBABILITY AND IT'S TYPES WITH RULES
 
34301
3430134301
34301
 

More from Dr Fereidoun Dejahang

27 j20 my news punch -dr f dejahang 27-01-2020
27 j20 my news punch -dr f dejahang  27-01-202027 j20 my news punch -dr f dejahang  27-01-2020
27 j20 my news punch -dr f dejahang 27-01-2020
Dr Fereidoun Dejahang
 
28 dej my news punch rev 28-12-2019
28 dej my news punch rev 28-12-201928 dej my news punch rev 28-12-2019
28 dej my news punch rev 28-12-2019
Dr Fereidoun Dejahang
 
16 fd my news punch rev 16-12-2019
16 fd my news punch rev 16-12-201916 fd my news punch rev 16-12-2019
16 fd my news punch rev 16-12-2019
Dr Fereidoun Dejahang
 
029 fast-tracking projects
029 fast-tracking projects029 fast-tracking projects
029 fast-tracking projects
Dr Fereidoun Dejahang
 
028 fast-tracking projects &amp; cost overrun
028 fast-tracking projects &amp; cost overrun028 fast-tracking projects &amp; cost overrun
028 fast-tracking projects &amp; cost overrun
Dr Fereidoun Dejahang
 
027 fast-tracked projects-materials
027 fast-tracked projects-materials027 fast-tracked projects-materials
027 fast-tracked projects-materials
Dr Fereidoun Dejahang
 
026 fast react-productivity improvement
026 fast react-productivity improvement026 fast react-productivity improvement
026 fast react-productivity improvement
Dr Fereidoun Dejahang
 
025 enterprise resources management
025 enterprise resources management025 enterprise resources management
025 enterprise resources management
Dr Fereidoun Dejahang
 
022 b construction productivity-write
022 b construction productivity-write022 b construction productivity-write
022 b construction productivity-write
Dr Fereidoun Dejahang
 
022 a construction productivity (2)
022 a construction productivity (2)022 a construction productivity (2)
022 a construction productivity (2)
Dr Fereidoun Dejahang
 
021 construction productivity (1)
021 construction productivity (1)021 construction productivity (1)
021 construction productivity (1)
Dr Fereidoun Dejahang
 
019 competencies-managers
019 competencies-managers019 competencies-managers
019 competencies-managers
Dr Fereidoun Dejahang
 
018 company productivity
018 company productivity018 company productivity
018 company productivity
Dr Fereidoun Dejahang
 
017 communication
017 communication017 communication
017 communication
Dr Fereidoun Dejahang
 
016 communication in construction sector
016 communication in construction sector016 communication in construction sector
016 communication in construction sector
Dr Fereidoun Dejahang
 
015 changes-process model
015 changes-process model015 changes-process model
015 changes-process model
Dr Fereidoun Dejahang
 
014 changes-cost overrun measurement
014 changes-cost overrun measurement014 changes-cost overrun measurement
014 changes-cost overrun measurement
Dr Fereidoun Dejahang
 
013 changes in construction projects
013 changes in construction projects013 changes in construction projects
013 changes in construction projects
Dr Fereidoun Dejahang
 
012 bussiness planning process
012 bussiness planning process012 bussiness planning process
012 bussiness planning process
Dr Fereidoun Dejahang
 
011 business performance management
011 business performance management011 business performance management
011 business performance management
Dr Fereidoun Dejahang
 

More from Dr Fereidoun Dejahang (20)

27 j20 my news punch -dr f dejahang 27-01-2020
27 j20 my news punch -dr f dejahang  27-01-202027 j20 my news punch -dr f dejahang  27-01-2020
27 j20 my news punch -dr f dejahang 27-01-2020
 
28 dej my news punch rev 28-12-2019
28 dej my news punch rev 28-12-201928 dej my news punch rev 28-12-2019
28 dej my news punch rev 28-12-2019
 
16 fd my news punch rev 16-12-2019
16 fd my news punch rev 16-12-201916 fd my news punch rev 16-12-2019
16 fd my news punch rev 16-12-2019
 
029 fast-tracking projects
029 fast-tracking projects029 fast-tracking projects
029 fast-tracking projects
 
028 fast-tracking projects &amp; cost overrun
028 fast-tracking projects &amp; cost overrun028 fast-tracking projects &amp; cost overrun
028 fast-tracking projects &amp; cost overrun
 
027 fast-tracked projects-materials
027 fast-tracked projects-materials027 fast-tracked projects-materials
027 fast-tracked projects-materials
 
026 fast react-productivity improvement
026 fast react-productivity improvement026 fast react-productivity improvement
026 fast react-productivity improvement
 
025 enterprise resources management
025 enterprise resources management025 enterprise resources management
025 enterprise resources management
 
022 b construction productivity-write
022 b construction productivity-write022 b construction productivity-write
022 b construction productivity-write
 
022 a construction productivity (2)
022 a construction productivity (2)022 a construction productivity (2)
022 a construction productivity (2)
 
021 construction productivity (1)
021 construction productivity (1)021 construction productivity (1)
021 construction productivity (1)
 
019 competencies-managers
019 competencies-managers019 competencies-managers
019 competencies-managers
 
018 company productivity
018 company productivity018 company productivity
018 company productivity
 
017 communication
017 communication017 communication
017 communication
 
016 communication in construction sector
016 communication in construction sector016 communication in construction sector
016 communication in construction sector
 
015 changes-process model
015 changes-process model015 changes-process model
015 changes-process model
 
014 changes-cost overrun measurement
014 changes-cost overrun measurement014 changes-cost overrun measurement
014 changes-cost overrun measurement
 
013 changes in construction projects
013 changes in construction projects013 changes in construction projects
013 changes in construction projects
 
012 bussiness planning process
012 bussiness planning process012 bussiness planning process
012 bussiness planning process
 
011 business performance management
011 business performance management011 business performance management
011 business performance management
 

Recently uploaded

special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
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)
 
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 geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
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
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
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
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 

Recently uploaded (20)

special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .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 geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
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.
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
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
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 

1615 probability-notation for joint probabilities

  • 1. 1 516 Probabilty Review 0 Probability • Probability - meaning 1) classical 2) frequentist 3) subjective (personal) • Sample space, events • Mutually exclusive, independence • and, or, complement • Joint, marginal, conditional probability • Probability - rules 1) Addition 2) Multiplication 3) Total probability 4) Bayes • Screening •sensitivity •specificity •predictive values 1 Probability Probability provides a measure of uncertainty associated with the occurrence of events or outcomes – Models and theory Definitions: 1. Classical: P(E) = m/N If an event can occur in N mutually exclusive, equally likely ways, and if m of these possess characteristic E, then the probability is equal to m/N. Example: What is the probability of rolling a total of 7 on two dice?
  • 2. 2 516 Probabilty Review 2 2. relative frequency: If a process or an experiment is repeated a large number of times, n, and if the characteristic, E, occurs m times, then the relative frequency, m/n, of E will be approximately equal to the probability of E. P(E) m / n≈ 3. personal probability What is the probability of life on Mars? » Around 1900, the English statistician Karl Pearson heroically tossed a coin 24,000 times and recorded 12,012 heads, giving a proportion of 0.5005. probabilityofhead n 0 500 1000 0 .5 1 Stata: graph twoway line prob n, yscale(r(0.0,1.0)) title("Probability of heads") ylabel(0(0.5)1) 3 Sample Space The sample space consists of the possible outcomes of an experiment. An event is an outcome or set of outcomes. For a coin flip the sample space is (H,T).
  • 3. 3 516 Probabilty Review 4 1. Two events, A and B, are said to be mutually exclusive (disjoint) if only one or the other, but not both, can occur in a particular experiment. 2. Given n mutually exclusive events, E1, E2, …., En, the probability of any event is non-negative and less than or equal to 1: 3. The sum of the probabilities of an exhaustive collection (i.e. at least one must occur) of mutually exclusive outcomes is 1: 4. The probability of all events other than an event A is denoted by P(Ac) [Ac stands for “A complement”] or [“A bar”]. Note that P(Ac) = 1 – P(A) Basic Properties of Probability 0 P ( ) 1iE≤ ≤ P(E ) P(E ) P(E ) P(E ) 1i i 1 n 1 2 n = ∑ = + + + =K BA A Ac P( )A 5 Notation for Joint Probabilities • If A and B are any two events then we write P(A or B) or P(A ∪ B) to indicate the probability that event A or event B (or both) occurred. • If A and B are any two events then we write P(A and B) or P(AB) or P(A ∩ B) to indicate the probability that both A and B occurred. • If A and B are any two events then we write P(A given B) or P(A|B) to indicate the probability of A among the subset of cases in which B is known to have occurred. BA A ∩ B is the overlap A ∪ B is the entire shaded area
  • 4. 4 516 Probabilty Review 6 Conditional Probability The conditional probability of an event A given B (i.e. given that B has occurred) is denoted P(A | B). Disease Status Pos. Neg. Total Pos. 9 80 89Test Result Neg. 1 9910 9,911 Total 10 9990 10,000 What is P(test positive)? What is P(test positive | disease positive)? What is P(disease positive | test positive)? 7
  • 5. 5 516 Probabilty Review 8 General Probability Rules • Addition rule If two events A and B are not mutually exclusive, then the probability that event A or event B occurs is: E.g. Of the students at Anytown High school, 30% have had the mumps, 70% have had measles and 21% have had both. What is the probability that a randomly chosen student has had at least one of the above diseases? P(at least one) = P(mumps or measles) = .30 + .70 - .21 = .79 P(AB)P(B)P(A)B)orP(A −+= Mumps (.30) Measles (.70) Both (.21) What is P(neither)? Identify the area for “neither” 9 General Probability Rules • Multiplication rule (special case – independence) If two events, A and B, are “independent” (probability of one does not depend on whether the other occurred) then P(AB) = P(A)P(B) Mumps? Measles? Measles? P(Mumps)=0.3 P(no Mumps)=0.7 P(Measles)=0.7 P(no Measles)=0.3 Mumps,Measles [P(both)=0.21] Mumps, No Measles [P(mumps only)=0.09] No Mumps, Measles [P(measles only)=0.49] No Mumps, No Measles [P(neither)=0.21] Easy to extend for independent events A,B,C,… : P(ABC…) = P(A)P(B)P(C)… P(Measles)=0.7 P(no Measles)=0.3
  • 6. 6 516 Probabilty Review 10 • Multiplication rule (general) More generally, however, A and B may not be independent. The probability that one event occurs may depend on the other event. This brings us back to conditional probability. The general formula for the probability that both A and B will occur is Two events A and B are said to be independent if and only if P(A|B) = P(A) or P(B|A) = P(B) or P(AB) = P(A)P(B). (Note: If any one holds then all three hold) E.g. Suppose P(mumps) = .7, P(measles) = .3 and P(both) = .25. Are the two events independent? No, because P(mumps and measles) = .25 while P(mumps)P(measles) = .21 P( ) P( | )P( ) P( | )P( )AB A B B B A A= = General Probability Rules 11 • Total probability rule If A1,…An are mutually exclusive, exhaustive events, then 1 1 P( ) P( and ) P( | )P( ) n n i i i i i B B A B A A = = = =∑ ∑ E.g. The following table gives the estimated proportion of individuals with Alzhiemer’s disease (AD) by age group. It also gives the proportion of the general population that are expected to fall in the age group in 2030. What proportion of the population in 2030 will have Alzhiemer’s disease? Proportion with AD Proportion population < 65 .00 .80 65 – 75 .01 .11 75 – 85 .07 .07 Age group > 85 .25 .02 P(AD in 2030) = 0*.8 + .01*.11 + .07*.07 + .25*.02 = .011
  • 7. 7 516 Probabilty Review 12 • Bayes rule (combine multiplication rule with total probability rule) 1 P( | )P( ) P( | ) P( ) P( | )P( ) P( | )P( ) n i i i B A A A B B B A A B A A = = = ∑ We will only apply this to the situation where A and B have two levels each, say, A and A, B and B. The formula becomes P( | )P( ) P( | ) P( | )P( ) P( | )P( ) B A A A B B A A B A A = + 13 Screening - an Application of Bayes Rule D = disease pos. T = test pos. Suppose we have a random sample of a population... Disease Status Pos. Neg. Total Pos. 90 30 120Test Result Neg. 10 970 980 Total 100 1000 1100 Prevalence = P(D) = 100/1100 = .091 Sensitivity = P(T | D) = 90/100 = .9 Specificity = P(T | D) = 970/1000 = .97 PPV = Predictive Value of a Positive Test = P(D | T) = 90/120 = .75 NPV = Predictive Value of a Negative Test = P(D | T) = 970/980 = .99
  • 8. 8 516 Probabilty Review 14 Screening - an Application of Bayes Rule D = disease pos. T = test pos. Now suppose we have taken a sample of 100 disease positive and 100 disease negative individuals (e.g. case-control design) Prevalence = ???? (not .5!) Sensitivity = P(T | D) = 90/100 = .9 Specificity = P(T | D) = 97/100 = .97 PPV = P(D | T) = 90/93 NO! NPV = P(D | T) = 97/107 NO! Disease Status Pos. Neg. Total Pos. 90 3 93Test Result Neg. 10 97 107 Total 100 100 200 15 Screening - an Application of Bayes Rule D = disease pos. T = test pos. 100 1100 100 1000 1100 1100 P( | )P( ) PPV P( | ) P( ) P( | )P( ) P( | )P( ) P( | )P( ) .9 .75 .9 .03 T D D D T T T D D T D D T D D = = = + × = = × + × Assume we know, from external sources, that P(D) = 100/1100. NPV P( | )D T= =
  • 9. 9 516 Probabilty Review 16 Screening for Alzheimer’s Disease - an Application of Bayes Rule The presence of a particular genotype, APOE, has been considered as a screen for people who develop AD. The sensitivity and specificity of the test are 60% and 70%, respectively. So, there is clearly an association between APOE and AD. Those who develop AD are twice as likely to have the genotype as those who don’t develop AD. (To see this, compare P(APOE+|AD+) to P(APOE+|AD-).) But is this a useful screen for AD? Compare 2 elderly populations: - the general elderly population where the chance of developing AD is 5% - an elderly population with memory complaints where the chance of developing AD is 70% 17 AD+ .95 .6 Screening for Alzheimer’s Disease - an Application of Bayes Rule Suppose we are looking at an elderly population where the chance of developing memory complaints is 5%. AD- APOE+ .03 APOE- APOE+ APOE- .05 .4 .3 .7 .02 .285 .665 Marginal Conditional Joint .03 PPV .095 .03 .285 = = + .665 NPV .97 .665 .02 = = +
  • 10. 10 516 Probabilty Review 18 AD+ .3 .6 Screening for Alzheimer’s Disease - an Application of Bayes Rule Suppose we are looking at an elderly population with memory problems where the chance of developing memory complaints is 70%. AD- APOE+ .42 APOE- APOE+ APOE- .7 .4 .3 .7 .28 .09 .21 Marginal Conditional Joint .42 PPV .82 .42 .08 = = + .21 NPV .43 .21 .28 = = + 19 Screening for Alzheimer’s Disease - an Application of Bayes Rule Comments We found that a test with given sensitivity and specificity will have different predictive values in different populations. So the usefulness of the test will depend on the population context and the implications of incorrect or missed diagnoses • If disease prevalence is low, high specificity is particularly important. Otherwise almost all positive tests will be false positives and these diagnoses will burden the health care system and patients with unnecessary follow-up. • If consequences of false positives are very bad (e.g. unnecessary high-risk surgery), high specificity is also important. • If disease prevalence is high and/or it is very important to find true positive cases, then you would want a test with high sensitivity.