SlideShare a Scribd company logo
+ 
Conditional Probability, 
and Probability Trees, 
Slides edited by Valerio Di Fonzo for www.globalpolis.org 
Based on the work of Mine Çetinkaya-Rundel of OpenIntro 
The slides may be copied, edited, and/or shared via the CC BY-SA license 
Some images may be included under fair use guidelines (educational purposes)
Relapse 
Researchers randomly assigned 72 chronic users of cocaine into 
three groups: desipramine (antidepressant), lithium (standard 
treatment for cocaine) and placebo. Results of the study are 
summarized below. 
http://www.oswego.edu/~srp/stats/2_way_tbl_1.htm
Marginal probability 
What is the probability that a patient relapsed? 
P(relapsed) = 48 / 72 ~ 0.67
Joint probability 
What is the probability that a patient received the antidepressant 
(desipramine) and relapsed? 
P(relapsed and desipramine) = 10 / 72 ~ 0.14
Conditional probability 
The conditional probability of the outcome of interest A given 
condition B is calculated as
Conditional probability (cont.) 
If we know that a patient received the antidepressant 
(desipramine), what is the probability that they relapsed? 
P(relapse | desipramine) = 10 / 24 ~ 0.42
Conditional probability (cont.) 
If we know that a patient received the antidepressant 
(desipramine), what is the probability that they relapsed? 
P(relapse | desipramine) = 10 / 24 ~ 0.42 
P(relapse | lithium) = 18 / 24 ~ 0.75 
P(relapse | placebo) = 20 / 24 ~ 0.83
Conditional probability (cont.) 
If we know that a patient relapsed, what is the probability that 
they received the antidepressant (desipramine)? 
P(desipramine | relapse) = 10 / 48 ~ 0.21 
P(lithium | relapse) = 18 / 48 ~ 0.38 
P(placebo | relapse) = 20 / 48 ~ 0.42
General multiplication rule 
● Earlier we saw that if two events are independent, their joint 
probability is simply the product of their probabilities. If the 
events are not believed to be independent, the joint 
probability is calculated slightly differently. 
● If A and B represent two outcomes or events, then 
P(A and B) = P(A | B) x P(B) 
● Note that this formula is simply the conditional probability 
formula, rearranged. 
● It is useful to think of A as the outcome of interest and B as 
the condition.
Independence and 
conditional probabilities 
Consider the following (hypothetical) distribution of gender and major of 
students in an introductory statistics class: 
● The probability that a randomly selected student is a social 
science major is 
60 / 100 = 0.6. 
● The probability that a randomly selected student is a social 
science major given that they are female is 
30 / 50 = 0.6. 
● Since P(SS | M) also equals 0.6, major of students in this 
class does not depend on their gender: P(SS | F) = P(SS).
Independence and 
conditional probabilities (cont.) 
Generically, if P(A | B) = P(A) then the events A and B are said to 
be independent. 
● Conceptually: Giving B doesn’t tell us anything about A. 
● Mathematically: We know that if events A and B are 
independent, P(A and B) = P(A) x P(B). Then,
Probability Trees
Conditional probability, and probability trees
If an individual from Swaziland has tested positive, what is the probability that he carries 
HIV? 
P(HIV | +) = 0.82 
There is an 82% chance that an individual from Swaziland who has tested positive 
actually carries HIV.

More Related Content

PPT
Probability And Probability Distributions
PPTX
Probability
PPT
08 test of hypothesis large sample.ppt
PPTX
Multiple linear regression
PPTX
T test, independant sample, paired sample and anova
PDF
Discrete probability distributions
PPT
Chi square mahmoud
PPTX
Goodness of Fit Notation
Probability And Probability Distributions
Probability
08 test of hypothesis large sample.ppt
Multiple linear regression
T test, independant sample, paired sample and anova
Discrete probability distributions
Chi square mahmoud
Goodness of Fit Notation

What's hot (20)

PPTX
introduction to probability
PPT
Testing Hypothesis
PPTX
Binomial distribution
PPTX
Probability distribution
PPT
Probability Distribution
PPTX
Contingency Tables
PPTX
Introduction to Hypothesis Testing
PPTX
The Standard Normal Distribution
PDF
Introduction to Generalized Linear Models
PPTX
Binomial probability distributions ppt
PPTX
Analysis Of Variance - ANOVA
PPTX
What is a two sample z test?
PPTX
4.5. logistic regression
 
PPT
Confidence Intervals
PPTX
PPTX
Probability
PPTX
Binomial distribution
PPTX
Regression analysis
PPT
Linear regression
PPTX
Hypothesis testing
introduction to probability
Testing Hypothesis
Binomial distribution
Probability distribution
Probability Distribution
Contingency Tables
Introduction to Hypothesis Testing
The Standard Normal Distribution
Introduction to Generalized Linear Models
Binomial probability distributions ppt
Analysis Of Variance - ANOVA
What is a two sample z test?
4.5. logistic regression
 
Confidence Intervals
Probability
Binomial distribution
Regression analysis
Linear regression
Hypothesis testing
Ad

Viewers also liked (16)

DOCX
Statistik Chapter 4
PPT
Binomial distribution good
PPTX
Poission distribution
PPT
Probability+distribution
PPTX
Binomial probability distribution
PPTX
binomial distribution
PPTX
Poisson distribution
PPTX
Binomial and Poission Probablity distribution
PPT
Normal Probability Distribution
PPT
Normal distribution stat
PPTX
Normal Distribution, Binomial Distribution, Poisson Distribution
PPTX
STATISTICS: Normal Distribution
PDF
The Poisson Distribution
PPTX
Conditional probability
PPTX
Mean, Median, Mode: Measures of Central Tendency
PPTX
Normal distribution
Statistik Chapter 4
Binomial distribution good
Poission distribution
Probability+distribution
Binomial probability distribution
binomial distribution
Poisson distribution
Binomial and Poission Probablity distribution
Normal Probability Distribution
Normal distribution stat
Normal Distribution, Binomial Distribution, Poisson Distribution
STATISTICS: Normal Distribution
The Poisson Distribution
Conditional probability
Mean, Median, Mode: Measures of Central Tendency
Normal distribution
Ad

Similar to Conditional probability, and probability trees (20)

PPT
DOCX
1 Probability Please read sections 3.1 – 3.3 in your .docx
PDF
Introduction to probability.pdf
PPT
Probability concept and Probability distribution
PPTX
Health probabilities & estimation of parameters
PPTX
loi de distribution 2024preventive medcine introduction in biostatistics
PPTX
4. PROBABILITY (2).pptxjjhhhhghhhhhhjjjj
PPTX
probability_statistics_presentation.pptx
PPTX
Binomial distribution
PPT
4 Probability and probability distn.ppt biostatistics
PDF
Probability concepts for Data Analytics
PDF
03 Probability.pdf
PPT
Binomial distribution and applications
PPT
34301
PPTX
Probability.pptx
PDF
Different types of distributions
PPTX
Basic probability concept
PPTX
BASIC PROBABILITY distribution - Copy.pptx
PPTX
conditional probability from probability.pptx
PDF
Biostatistics 2
1 Probability Please read sections 3.1 – 3.3 in your .docx
Introduction to probability.pdf
Probability concept and Probability distribution
Health probabilities & estimation of parameters
loi de distribution 2024preventive medcine introduction in biostatistics
4. PROBABILITY (2).pptxjjhhhhghhhhhhjjjj
probability_statistics_presentation.pptx
Binomial distribution
4 Probability and probability distn.ppt biostatistics
Probability concepts for Data Analytics
03 Probability.pdf
Binomial distribution and applications
34301
Probability.pptx
Different types of distributions
Basic probability concept
BASIC PROBABILITY distribution - Copy.pptx
conditional probability from probability.pptx
Biostatistics 2

More from Global Polis (10)

PPTX
Normal distribution
PPTX
Bayeasian inference
PPTX
Introduction to probability
PPTX
Observational Studies and Sampling
PPTX
Experimental Design and Blocking
PPTX
Data, Variables, Hypothesis
PPTX
Data Collection and Sampling
PPTX
Categorical Data
PPTX
Gender Discrimination: A case study
PPTX
Working with Numerical Data
Normal distribution
Bayeasian inference
Introduction to probability
Observational Studies and Sampling
Experimental Design and Blocking
Data, Variables, Hypothesis
Data Collection and Sampling
Categorical Data
Gender Discrimination: A case study
Working with Numerical Data

Recently uploaded (20)

PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PPTX
Business Acumen Training GuidePresentation.pptx
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PPT
Quality review (1)_presentation of this 21
PDF
Business Analytics and business intelligence.pdf
PDF
annual-report-2024-2025 original latest.
PPT
Reliability_Chapter_ presentation 1221.5784
PPTX
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PDF
Clinical guidelines as a resource for EBP(1).pdf
PPTX
IB Computer Science - Internal Assessment.pptx
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PPTX
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
PDF
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
PPTX
Introduction to Knowledge Engineering Part 1
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
Business Acumen Training GuidePresentation.pptx
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
Quality review (1)_presentation of this 21
Business Analytics and business intelligence.pdf
annual-report-2024-2025 original latest.
Reliability_Chapter_ presentation 1221.5784
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
IBA_Chapter_11_Slides_Final_Accessible.pptx
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
Clinical guidelines as a resource for EBP(1).pdf
IB Computer Science - Internal Assessment.pptx
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
Introduction to Knowledge Engineering Part 1
oil_refinery_comprehensive_20250804084928 (1).pptx

Conditional probability, and probability trees

  • 1. + Conditional Probability, and Probability Trees, Slides edited by Valerio Di Fonzo for www.globalpolis.org Based on the work of Mine Çetinkaya-Rundel of OpenIntro The slides may be copied, edited, and/or shared via the CC BY-SA license Some images may be included under fair use guidelines (educational purposes)
  • 2. Relapse Researchers randomly assigned 72 chronic users of cocaine into three groups: desipramine (antidepressant), lithium (standard treatment for cocaine) and placebo. Results of the study are summarized below. http://www.oswego.edu/~srp/stats/2_way_tbl_1.htm
  • 3. Marginal probability What is the probability that a patient relapsed? P(relapsed) = 48 / 72 ~ 0.67
  • 4. Joint probability What is the probability that a patient received the antidepressant (desipramine) and relapsed? P(relapsed and desipramine) = 10 / 72 ~ 0.14
  • 5. Conditional probability The conditional probability of the outcome of interest A given condition B is calculated as
  • 6. Conditional probability (cont.) If we know that a patient received the antidepressant (desipramine), what is the probability that they relapsed? P(relapse | desipramine) = 10 / 24 ~ 0.42
  • 7. Conditional probability (cont.) If we know that a patient received the antidepressant (desipramine), what is the probability that they relapsed? P(relapse | desipramine) = 10 / 24 ~ 0.42 P(relapse | lithium) = 18 / 24 ~ 0.75 P(relapse | placebo) = 20 / 24 ~ 0.83
  • 8. Conditional probability (cont.) If we know that a patient relapsed, what is the probability that they received the antidepressant (desipramine)? P(desipramine | relapse) = 10 / 48 ~ 0.21 P(lithium | relapse) = 18 / 48 ~ 0.38 P(placebo | relapse) = 20 / 48 ~ 0.42
  • 9. General multiplication rule ● Earlier we saw that if two events are independent, their joint probability is simply the product of their probabilities. If the events are not believed to be independent, the joint probability is calculated slightly differently. ● If A and B represent two outcomes or events, then P(A and B) = P(A | B) x P(B) ● Note that this formula is simply the conditional probability formula, rearranged. ● It is useful to think of A as the outcome of interest and B as the condition.
  • 10. Independence and conditional probabilities Consider the following (hypothetical) distribution of gender and major of students in an introductory statistics class: ● The probability that a randomly selected student is a social science major is 60 / 100 = 0.6. ● The probability that a randomly selected student is a social science major given that they are female is 30 / 50 = 0.6. ● Since P(SS | M) also equals 0.6, major of students in this class does not depend on their gender: P(SS | F) = P(SS).
  • 11. Independence and conditional probabilities (cont.) Generically, if P(A | B) = P(A) then the events A and B are said to be independent. ● Conceptually: Giving B doesn’t tell us anything about A. ● Mathematically: We know that if events A and B are independent, P(A and B) = P(A) x P(B). Then,
  • 14. If an individual from Swaziland has tested positive, what is the probability that he carries HIV? P(HIV | +) = 0.82 There is an 82% chance that an individual from Swaziland who has tested positive actually carries HIV.