SlideShare una empresa de Scribd logo
1 de 14
Descargar para leer sin conexión
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.

Más contenido relacionado

La actualidad más candente

Binomial probability distributions ppt
Binomial probability distributions pptBinomial probability distributions ppt
Binomial probability distributions ppt
Tayab Ali
 
Conditional Probability
Conditional ProbabilityConditional Probability
Conditional Probability
shannonrenee4
 

La actualidad más candente (20)

Hypergeometric distribution
Hypergeometric distributionHypergeometric distribution
Hypergeometric distribution
 
Bayes Theorem
Bayes TheoremBayes Theorem
Bayes Theorem
 
Probability Theory
Probability TheoryProbability Theory
Probability Theory
 
Probability basics and bayes' theorem
Probability basics and bayes' theoremProbability basics and bayes' theorem
Probability basics and bayes' theorem
 
Probability And Probability Distributions
Probability And Probability Distributions Probability And Probability Distributions
Probability And Probability Distributions
 
Math Studies conditional probability
Math Studies conditional probabilityMath Studies conditional probability
Math Studies conditional probability
 
Bernoulli distribution
Bernoulli distributionBernoulli distribution
Bernoulli distribution
 
Conditional Probability
Conditional ProbabilityConditional Probability
Conditional Probability
 
Binomial probability distributions ppt
Binomial probability distributions pptBinomial probability distributions ppt
Binomial probability distributions ppt
 
Probability
ProbabilityProbability
Probability
 
Sample Space and Event,Probability,The Axioms of Probability,Bayes Theorem
Sample Space and Event,Probability,The Axioms of Probability,Bayes TheoremSample Space and Event,Probability,The Axioms of Probability,Bayes Theorem
Sample Space and Event,Probability,The Axioms of Probability,Bayes Theorem
 
Addition Rule and Multiplication Rule
Addition Rule and Multiplication RuleAddition Rule and Multiplication Rule
Addition Rule and Multiplication Rule
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distribution
 
Bernoullis Random Variables And Binomial Distribution
Bernoullis Random Variables And Binomial DistributionBernoullis Random Variables And Binomial Distribution
Bernoullis Random Variables And Binomial Distribution
 
Bayes' theorem
Bayes' theoremBayes' theorem
Bayes' theorem
 
Probability Theory
Probability Theory Probability Theory
Probability Theory
 
Conditional Probability
Conditional ProbabilityConditional Probability
Conditional Probability
 
Lecture: Joint, Conditional and Marginal Probabilities
Lecture: Joint, Conditional and Marginal Probabilities Lecture: Joint, Conditional and Marginal Probabilities
Lecture: Joint, Conditional and Marginal Probabilities
 
Unit 1-probability
Unit 1-probabilityUnit 1-probability
Unit 1-probability
 
poisson distribution
poisson distributionpoisson distribution
poisson distribution
 

Similar a Chapter 4 part4- General Probability Rules

Probability Review Additions
Probability Review AdditionsProbability Review Additions
Probability Review Additions
rishi.indian
 
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
 
Triola t11 chapter4
Triola t11 chapter4Triola t11 chapter4
Triola t11 chapter4
babygirl5810
 
4Probability and probability distributions (1).pptx
4Probability and probability distributions (1).pptx4Probability and probability distributions (1).pptx
4Probability and probability distributions (1).pptx
AmanuelMerga
 

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

Addition rule and multiplication rule
Addition rule and multiplication rule  Addition rule and multiplication rule
Addition rule and multiplication rule
 
Complements conditional probability bayes theorem
Complements  conditional probability bayes theorem  Complements  conditional probability bayes theorem
Complements conditional probability bayes theorem
 
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 Review Additions
Probability Review AdditionsProbability Review Additions
Probability Review Additions
 
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
 
1615 probability-notation for joint probabilities
1615 probability-notation for joint probabilities1615 probability-notation for joint probabilities
1615 probability-notation for joint probabilities
 
probability_statistics_presentation.pptx
probability_statistics_presentation.pptxprobability_statistics_presentation.pptx
probability_statistics_presentation.pptx
 
Probability.pptx
Probability.pptxProbability.pptx
Probability.pptx
 
tps5e_Ch5_3.ppt
tps5e_Ch5_3.ppttps5e_Ch5_3.ppt
tps5e_Ch5_3.ppt
 
tps5e_Ch5_3.ppt
tps5e_Ch5_3.ppttps5e_Ch5_3.ppt
tps5e_Ch5_3.ppt
 
Probability and its basic concept
Probability and its basic conceptProbability and its basic concept
Probability and its basic concept
 
Triola t11 chapter4
Triola t11 chapter4Triola t11 chapter4
Triola t11 chapter4
 
Day 3.pptx
Day 3.pptxDay 3.pptx
Day 3.pptx
 
Stat11t chapter4
Stat11t chapter4Stat11t chapter4
Stat11t chapter4
 
Probability & Bayesian Theorem
Probability & Bayesian TheoremProbability & Bayesian Theorem
Probability & Bayesian Theorem
 
Probability concepts for Data Analytics
Probability concepts for Data AnalyticsProbability concepts for Data Analytics
Probability concepts for Data Analytics
 
4Probability and probability distributions (1).pptx
4Probability and probability distributions (1).pptx4Probability and probability distributions (1).pptx
4Probability and probability distributions (1).pptx
 
Lecture3
Lecture3Lecture3
Lecture3
 
2.statistical DEcision makig.pptx
2.statistical DEcision makig.pptx2.statistical DEcision makig.pptx
2.statistical DEcision makig.pptx
 
Week 2 notes.ppt
Week 2 notes.pptWeek 2 notes.ppt
Week 2 notes.ppt
 

Más de nszakir

Chapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical InferenceChapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical Inference
nszakir
 
Chapter 3 part2- Sampling Design
Chapter 3 part2- Sampling DesignChapter 3 part2- Sampling Design
Chapter 3 part2- Sampling Design
nszakir
 
Chapter 3 part1-Design of Experiments
Chapter 3 part1-Design of ExperimentsChapter 3 part1-Design of Experiments
Chapter 3 part1-Design of Experiments
nszakir
 
Chapter 2 part2-Correlation
Chapter 2 part2-CorrelationChapter 2 part2-Correlation
Chapter 2 part2-Correlation
nszakir
 
Chapter 2 part1-Scatterplots
Chapter 2 part1-ScatterplotsChapter 2 part1-Scatterplots
Chapter 2 part1-Scatterplots
nszakir
 
Chapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares RegressionChapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares Regression
nszakir
 
Density Curves and Normal Distributions
Density Curves and Normal DistributionsDensity Curves and Normal Distributions
Density Curves and Normal Distributions
nszakir
 
Describing Distributions with Numbers
Describing Distributions with NumbersDescribing Distributions with Numbers
Describing Distributions with Numbers
nszakir
 

Más de nszakir (20)

Chapter-4: More on Direct Proof and Proof by Contrapositive
Chapter-4: More on Direct Proof and Proof by ContrapositiveChapter-4: More on Direct Proof and Proof by Contrapositive
Chapter-4: More on Direct Proof and Proof by Contrapositive
 
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVEChapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relations
 
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
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 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
 
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
 
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
 
Chapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample MeanChapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample Mean
 
Chapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random VariablesChapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random Variables
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variables
 
Chapter 4 part1-Probability Model
Chapter 4 part1-Probability ModelChapter 4 part1-Probability Model
Chapter 4 part1-Probability Model
 
Chapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical InferenceChapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical Inference
 
Chapter 3 part2- Sampling Design
Chapter 3 part2- Sampling DesignChapter 3 part2- Sampling Design
Chapter 3 part2- Sampling Design
 
Chapter 3 part1-Design of Experiments
Chapter 3 part1-Design of ExperimentsChapter 3 part1-Design of Experiments
Chapter 3 part1-Design of Experiments
 
Chapter 2 part2-Correlation
Chapter 2 part2-CorrelationChapter 2 part2-Correlation
Chapter 2 part2-Correlation
 
Chapter 2 part1-Scatterplots
Chapter 2 part1-ScatterplotsChapter 2 part1-Scatterplots
Chapter 2 part1-Scatterplots
 
Chapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares RegressionChapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares Regression
 
Density Curves and Normal Distributions
Density Curves and Normal DistributionsDensity Curves and Normal Distributions
Density Curves and Normal Distributions
 
Describing Distributions with Numbers
Describing Distributions with NumbersDescribing Distributions with Numbers
Describing Distributions with Numbers
 
Displaying Distributions with Graphs
Displaying Distributions with GraphsDisplaying Distributions with Graphs
Displaying Distributions with Graphs
 

Último

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Último (20)

Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 

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.