SlideShare a Scribd company logo
2
Most read
5
Most read
6
Most read
INTRODUCTION TO
STATISTICS & PROBABILITY
Chapter 4:
Probability: The Study of Randomness
(Part 4)
Dr. Nahid Sultana
1
Chapter 4
Probability: The Study of Randomness
4.1 Randomness
4.2 Probability Models
4.3 Random Variables
4.4 Means and Variances of Random Variables
4.5 General Probability Rules*
2
4.5 General Probability Rules
3
 Rules of Probability
 General Addition Rules
 Conditional Probability
 General Multiplication Rules
 Bayes’s Rule
 Independence
4
Probability Rules
Return to the laws of probabilities:
Rule 1. The probability P(A) of any event A satisfies 0 ≤ P(A) ≤ 1.
Rule 2. If S is the sample space in a probability model, then P(S) = 1.
Rule 3. If A and B are disjoint, P(A or B) = P(A) + P(B).
Rule 4. For any event A, P(AC) = 1 – P(A).
Rule 5. If A and B are independent, P(A and B) = P(A)P(B).
5
The General Addition Rule
Addition Rule for Unions of Two
Events
The probability that A occurs, B occurs,
or both occurs is:
P(A or B) = P(A) + P(B) – P(A and B)
Addition Rule for Disjoint Events: If A, B, and C are disjoint in the
sense that no two have any in common, then:
P( A or B or C) = P(A) + P(B) + P(C)
6
Conditional Probability
Rule 5. If A and B are independent, P(A and B) = P(A)P(B).
The probability an event can change if we know that some other event
has occurred. This idea is the key to many applications of probability.
The conditional probability reflects how the probability of an event
can change if we know that some other event has already occurred.
When P(A) > 0, the conditional probability of B given A is
)(
)and(
)|(
AP
BAP
ABP =
7
The General Multiplication Rule
The probability that any two events A and B both occur is
P(A and B) = P(A) P(B | A)
This is the general multiplication rule, where P(B | A) is the conditional
probability that event B occurs given that event A has already occurred.
Conditional probability  rule for the probability that both of two event
occur.
Note: If Two events A and B are independent, P(A and B) = P(A)P(B).
Therefore, If A and B that both have positive probability are
independent if:
P(B|A) = P(B)
)(
)and(
)|(
AP
BAP
ABP =
8
The General Multiplication Rule
Example:
Suppose 29% of Internet users download music files, and 67% of
downloaders say they don’t care if the music is copyrighted.
What is the percent of Internet users who download music and don’t care
about copyright.
Example:
Employed Unemployed Total
Male 460 40 500
Female 140 260 400
Total 600 300 900
9
Probability Trees
Conditional probabilities can get complex, and it is often good strategy
to build a probability tree that represents all possible outcomes
graphically and assigns conditional probabilities to subsets of events..
Consider flipping a coin
twice.
What is the probability of
getting two heads?
Sample Space:
HH HT TH TT
So, P(two heads) = P(HH) = 1/4
10
Probability Trees: Example
The Pew Internet and American Life Project finds that 93% of
teenagers (ages 12 to 17) use the Internet, and that 55% of online
teens have posted a profile on a social-networking site.
What percent of teens are online and have posted a profile?
55.0)online|profile(
93.0)online(
=
=
P
P
51.15% of teens are online and have
posted a profile.
P(A and B) = P(A) P(B | A)
5115.0
)55.0)(93.0(
online)|(profile(online)
profile)haveand(online
=
=
⋅= PP
P
11
Probability Trees: Example
29% of adult Internet users are 18 to 29 years old (event A1), another 47%
are 30 to 49 (event A2), and the remaining 24% are 50 and over (event A3).
47% of the 18 to 29 age group chat, as do 21% of the 30 to 49 age
group and just 7% of those 50 and over. What is the probability that a
randomly chosen user of the Internet participates in chat rooms?
P(C) = 0.1363 + 0.0987 + 0.0168
= 0.2518
12
Bayes’s Rule
If a woman in her 20s gets screened for breast cancer and receives a
positive test result, what is the probability that she does have breast
cancer?
Cancer
No cancer
Mammography
Positive
Negative
Positive
Negative
Disease
incidence
Diagnosis
sensitivity
Diagnosis
specificity
False negative
False positive
0.0004
0.9996
0.8
0.2
0.1
0.9
Incidence of breast cancer
among women ages 20–30
Mammography
performance
Example
13
Bayes’s Rule (Cont…)
Example
If a woman in her 20s gets screened for breast cancer and receives a positive test
result, what is the probability that she does have breast cancer?
A1 is cancer, A2 is no cancer, C is a positive test result.
%3.0
)9996.0(1.0)004.0(8.0
)0004.0(8.0
)cancerno()cancerno|pos()cancer()cancer|pos(
)cancer()cancer|pos(
)pos|cancer(
≈
+
=
+
=
PPPP
PP
P
Cancer
No cancer
Mammography
Positive
Negative
Positive
Negative
Disease
incidence
Diagnosis
sensitivity
Diagnosis
specificity
False negative
False positive
0.0004
0.9996
0.8
0.2
0.1
0.9
Incidence of breast
cancer among
women ages 20–30 Mammography
performance
14
Bayes’s Rule (Cont…)
 If a sample space is decomposed in k disjoint events, A1, A2, … , Ak
none with a null probability and P(A1) + P(A2) + … + P(Ak) = 1
 And if C is any other event such that P(C) is not 0 or 1, then:
However, it is often intuitively much easier to work out answers with a
probability tree than with these lengthy formulas.

More Related Content

PDF
Regression Analysis
PDF
Simple linear regression
PPTX
Conditional probability
PPTX
Logistic regression
PPTX
Basic concepts of probability
PPT
Basic concept of probability
PPTX
conditional probabilty
PPT
Linear regression
Regression Analysis
Simple linear regression
Conditional probability
Logistic regression
Basic concepts of probability
Basic concept of probability
conditional probabilty
Linear regression

What's hot (20)

PPTX
Basic probability concept
PPT
Introduction to Probability and Probability Distributions
PPTX
introduction to probability
PPTX
Joint probability
PPTX
The binomial distributions
PPT
Conditional Probability
PPTX
Binomial distribution
PPTX
Correlation and Regression
DOCX
Probability distribution
PPTX
Introduction to Maximum Likelihood Estimator
PPT
Regression analysis ppt
PPTX
Binomial distribution
PPTX
Theorems And Conditional Probability
PPTX
Principal Component Analysis (PCA) and LDA PPT Slides
PDF
Probability Distributions
PDF
Bayesian inference
PPT
Probability
PPTX
Bayes rule (Bayes Law)
PPTX
Bayes Theorem
PPT
Basic Concept Of Probability
Basic probability concept
Introduction to Probability and Probability Distributions
introduction to probability
Joint probability
The binomial distributions
Conditional Probability
Binomial distribution
Correlation and Regression
Probability distribution
Introduction to Maximum Likelihood Estimator
Regression analysis ppt
Binomial distribution
Theorems And Conditional Probability
Principal Component Analysis (PCA) and LDA PPT Slides
Probability Distributions
Bayesian inference
Probability
Bayes rule (Bayes Law)
Bayes Theorem
Basic Concept Of Probability
Ad

Similar to Chapter 4 part4- General Probability Rules (20)

PPTX
BSM with Sofware package for Social Sciences
PPT
Lesson 5.ppt
PPTX
Probability-Understanding-Chance-and-Randomness.pptx
PPT
Triola t11 chapter4
PDF
03 Probability.pdf
PDF
1-Probability-Conditional-Bayes.pdf
PPT
Stat11t chapter4
PDF
Probability for engineering student module (2).pdf
PPT
probability
PPT
tps5e_Ch5_3.ppt
PPT
tps5e_Ch5_3.ppt
PDF
Warmup_New.pdf
PPT
Probability Part 2.ppt
PPT
Probability Part 2.ppt HELPFUL IN STATISTICS
PPTX
PROBABILITY STATS PPT.pptx
PPTX
Probability and Randomness
PPTX
Decoding Chance: Probability in Everyday Life
PPTX
REVIEW OF BASIC PROBABILITY (1) (1).pptx
PPTX
probability a chance for anything(from impossible to sure )
BSM with Sofware package for Social Sciences
Lesson 5.ppt
Probability-Understanding-Chance-and-Randomness.pptx
Triola t11 chapter4
03 Probability.pdf
1-Probability-Conditional-Bayes.pdf
Stat11t chapter4
Probability for engineering student module (2).pdf
probability
tps5e_Ch5_3.ppt
tps5e_Ch5_3.ppt
Warmup_New.pdf
Probability Part 2.ppt
Probability Part 2.ppt HELPFUL IN STATISTICS
PROBABILITY STATS PPT.pptx
Probability and Randomness
Decoding Chance: Probability in Everyday Life
REVIEW OF BASIC PROBABILITY (1) (1).pptx
probability a chance for anything(from impossible to sure )
Ad

More from nszakir (20)

PDF
Chapter-4: More on Direct Proof and Proof by Contrapositive
PDF
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
PDF
Chapter 2: Relations
PDF
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
PDF
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
PDF
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
PDF
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
PDF
Chapter 5 part1- The Sampling Distribution of a Sample Mean
PDF
Chapter 4 part3- Means and Variances of Random Variables
PDF
Chapter 4 part2- Random Variables
PDF
Chapter 4 part1-Probability Model
PDF
Chapter 3 part3-Toward Statistical Inference
PDF
Chapter 3 part2- Sampling Design
PDF
Chapter 3 part1-Design of Experiments
PDF
Chapter 2 part2-Correlation
PDF
Chapter 2 part1-Scatterplots
PDF
Chapter 2 part3-Least-Squares Regression
PDF
Density Curves and Normal Distributions
PDF
Describing Distributions with Numbers
PDF
Displaying Distributions with Graphs
Chapter-4: More on Direct Proof and Proof by Contrapositive
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter 2: Relations
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
Chapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 4 part3- Means and Variances of Random Variables
Chapter 4 part2- Random Variables
Chapter 4 part1-Probability Model
Chapter 3 part3-Toward Statistical Inference
Chapter 3 part2- Sampling Design
Chapter 3 part1-Design of Experiments
Chapter 2 part2-Correlation
Chapter 2 part1-Scatterplots
Chapter 2 part3-Least-Squares Regression
Density Curves and Normal Distributions
Describing Distributions with Numbers
Displaying Distributions with Graphs

Recently uploaded (20)

PDF
Digital Logic Computer Design lecture notes
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPT
Project quality management in manufacturing
PPTX
UNIT 4 Total Quality Management .pptx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Geodesy 1.pptx...............................................
PPTX
Construction Project Organization Group 2.pptx
PPTX
Welding lecture in detail for understanding
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Digital Logic Computer Design lecture notes
Embodied AI: Ushering in the Next Era of Intelligent Systems
Operating System & Kernel Study Guide-1 - converted.pdf
Project quality management in manufacturing
UNIT 4 Total Quality Management .pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Automation-in-Manufacturing-Chapter-Introduction.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Mechanical Engineering MATERIALS Selection
Geodesy 1.pptx...............................................
Construction Project Organization Group 2.pptx
Welding lecture in detail for understanding
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
573137875-Attendance-Management-System-original
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx

Chapter 4 part4- General Probability Rules

  • 1. INTRODUCTION TO STATISTICS & PROBABILITY Chapter 4: Probability: The Study of Randomness (Part 4) Dr. Nahid Sultana 1
  • 2. Chapter 4 Probability: The Study of Randomness 4.1 Randomness 4.2 Probability Models 4.3 Random Variables 4.4 Means and Variances of Random Variables 4.5 General Probability Rules* 2
  • 3. 4.5 General Probability Rules 3  Rules of Probability  General Addition Rules  Conditional Probability  General Multiplication Rules  Bayes’s Rule  Independence
  • 4. 4 Probability Rules Return to the laws of probabilities: Rule 1. The probability P(A) of any event A satisfies 0 ≤ P(A) ≤ 1. Rule 2. If S is the sample space in a probability model, then P(S) = 1. Rule 3. If A and B are disjoint, P(A or B) = P(A) + P(B). Rule 4. For any event A, P(AC) = 1 – P(A). Rule 5. If A and B are independent, P(A and B) = P(A)P(B).
  • 5. 5 The General Addition Rule Addition Rule for Unions of Two Events The probability that A occurs, B occurs, or both occurs is: P(A or B) = P(A) + P(B) – P(A and B) Addition Rule for Disjoint Events: If A, B, and C are disjoint in the sense that no two have any in common, then: P( A or B or C) = P(A) + P(B) + P(C)
  • 6. 6 Conditional Probability Rule 5. If A and B are independent, P(A and B) = P(A)P(B). The probability an event can change if we know that some other event has occurred. This idea is the key to many applications of probability. The conditional probability reflects how the probability of an event can change if we know that some other event has already occurred. When P(A) > 0, the conditional probability of B given A is )( )and( )|( AP BAP ABP =
  • 7. 7 The General Multiplication Rule The probability that any two events A and B both occur is P(A and B) = P(A) P(B | A) This is the general multiplication rule, where P(B | A) is the conditional probability that event B occurs given that event A has already occurred. Conditional probability  rule for the probability that both of two event occur. Note: If Two events A and B are independent, P(A and B) = P(A)P(B). Therefore, If A and B that both have positive probability are independent if: P(B|A) = P(B) )( )and( )|( AP BAP ABP =
  • 8. 8 The General Multiplication Rule Example: Suppose 29% of Internet users download music files, and 67% of downloaders say they don’t care if the music is copyrighted. What is the percent of Internet users who download music and don’t care about copyright. Example: Employed Unemployed Total Male 460 40 500 Female 140 260 400 Total 600 300 900
  • 9. 9 Probability Trees Conditional probabilities can get complex, and it is often good strategy to build a probability tree that represents all possible outcomes graphically and assigns conditional probabilities to subsets of events.. Consider flipping a coin twice. What is the probability of getting two heads? Sample Space: HH HT TH TT So, P(two heads) = P(HH) = 1/4
  • 10. 10 Probability Trees: Example The Pew Internet and American Life Project finds that 93% of teenagers (ages 12 to 17) use the Internet, and that 55% of online teens have posted a profile on a social-networking site. What percent of teens are online and have posted a profile? 55.0)online|profile( 93.0)online( = = P P 51.15% of teens are online and have posted a profile. P(A and B) = P(A) P(B | A) 5115.0 )55.0)(93.0( online)|(profile(online) profile)haveand(online = = ⋅= PP P
  • 11. 11 Probability Trees: Example 29% of adult Internet users are 18 to 29 years old (event A1), another 47% are 30 to 49 (event A2), and the remaining 24% are 50 and over (event A3). 47% of the 18 to 29 age group chat, as do 21% of the 30 to 49 age group and just 7% of those 50 and over. What is the probability that a randomly chosen user of the Internet participates in chat rooms? P(C) = 0.1363 + 0.0987 + 0.0168 = 0.2518
  • 12. 12 Bayes’s Rule If a woman in her 20s gets screened for breast cancer and receives a positive test result, what is the probability that she does have breast cancer? Cancer No cancer Mammography Positive Negative Positive Negative Disease incidence Diagnosis sensitivity Diagnosis specificity False negative False positive 0.0004 0.9996 0.8 0.2 0.1 0.9 Incidence of breast cancer among women ages 20–30 Mammography performance Example
  • 13. 13 Bayes’s Rule (Cont…) Example If a woman in her 20s gets screened for breast cancer and receives a positive test result, what is the probability that she does have breast cancer? A1 is cancer, A2 is no cancer, C is a positive test result. %3.0 )9996.0(1.0)004.0(8.0 )0004.0(8.0 )cancerno()cancerno|pos()cancer()cancer|pos( )cancer()cancer|pos( )pos|cancer( ≈ + = + = PPPP PP P Cancer No cancer Mammography Positive Negative Positive Negative Disease incidence Diagnosis sensitivity Diagnosis specificity False negative False positive 0.0004 0.9996 0.8 0.2 0.1 0.9 Incidence of breast cancer among women ages 20–30 Mammography performance
  • 14. 14 Bayes’s Rule (Cont…)  If a sample space is decomposed in k disjoint events, A1, A2, … , Ak none with a null probability and P(A1) + P(A2) + … + P(Ak) = 1  And if C is any other event such that P(C) is not 0 or 1, then: However, it is often intuitively much easier to work out answers with a probability tree than with these lengthy formulas.