SlideShare une entreprise Scribd logo
1  sur  16
Télécharger pour lire hors ligne
Bayes rule (Bayes Law)
Probability
 Probability is the measure of the likelihood that an
event will occur. Probability is quantified as a number
between 0 and 1 (where 0 indicates impossibility and
1 indicates certainty).
Example
 A simple example is the toss of a fair (unbiased) coin.
Since the two outcomes are equally probable, the
probability of "heads" equals the probability of "tails",
so the probability is 1/2 (or 50%) chance of either
"heads" or "tails".
Conditional Probability
 a conditional probability measures the probability of an
event given that (by assumption, presumption, assertion or
evidence) another event has occurred. If the event of
interest is A and the event B is known or assumed to have
occurred, "the conditional probability of A given B", or
"the probability of A under the condition B", is usually
written as P(A|B)
When to Apply Bayes' Theorem
 Part of the challenge in applying Bayes' theorem involves
recognizing the types of problems that warrant its use. You
should consider Bayes' theorem when the following conditions
exist.
 Within the sample space, there exists an event B, for which
P(B) > 0.
 The analytical goal is to compute a conditional probability of
the form: P( Ak | B ).
 You know at least one of the two sets of probabilities described
below.
 P( Ak ∩ B ) for each Ak
 P( Ak ) and P( B | Ak ) for each Ak
BAYES RULE
 The Bayes Theorem was developed and named for
Thomas Bayes(1702-1761)
 Show the Relation between one conditional
probability and its inverse.
 Provide a mathematical rule for revising an estimate
or forecast in light of experience and observation.
Continue…
In the 18th Century , Thomas Bayes,
 Ponder this question:
“Does God really exist?”
•Being interested in the mathematics, he attempt to develop a
formula to arrive at the probability that God does exist based on
the evidence that was available to him on earth.
Later, Laplace refined Bayes’ work and gave it the name
“Bayes’ Theorem”.
Definition
 In probability theory and statistics, Bayes'
theorem (alternatively Bayes' law or Bayes'
rule) describes the probability of an event,
based on conditions that might be related to the
event.
Continue…
 Bayes’ Theorem is a method of revising a probability,
given that additional information is obtained. For two
event:
Explanation…
 Where A and B are events:
 P(A) and P(B) are the probabilities of A and B
without regard to each other.
 P(A | B), a conditional probability, is the probability
of observing event A given that B is true.
 P(B | A) is the probability of observing event B given
that A is true.
Bayesian inference
 Bayesian inference is a method of statistical
inference in which Bayes' theorem is used to update
the probability for a hypothesis as evidence. It
Involves:
Prior Probability:
The initial Probability based on the present level of
information.
Posterior Probability:
A revised Probability based on additional information.
Example of Bayes Rule
 Marie is getting married tomorrow, at an outdoor
ceremony in the desert. In recent years, it has rained
only 5 days each year. Unfortunately, the weatherman
has predicted rain for tomorrow. When it actually
rains, the weatherman correctly forecasts rain 90% of
the time. When it doesn't rain, he incorrectly forecasts
rain 10% of the time. What is the probability that it
will rain on the day of Marie's wedding?
Solution…
 The sample space is defined by two mutually-exclusive
events - it rains or it does not rain. Additionally, a third
event occurs when the weatherman predicts rain. Notation
for these events appears below.
 Event A1. It rains on Marie's wedding.
 Event A2. It does not rain on Marie's wedding.
 Event B. The weatherman predicts rain.
 In terms of probabilities, we know the following:
 P( A1 ) = 5/365 =0.0136985 [It rains 5 days out of the year.]
 P( A2 ) = 360/365 = 0.9863014 [It does not rain 360 days out
of the year.]
 P( B | A1 ) = 0.9 [When it rains, the weatherman predicts rain
90% of the time.]
 P( B | A2 ) = 0.1 [When it does not rain, the weatherman
predicts rain 10% of the time.]
We want to know P( A1 | B ), the probability it will rain
on the day of Marie's wedding, given a forecast for rain
by the weatherman. The answer can be determined
from Bayes' theorem, as shown below.
THANK YOU !!!

Contenu connexe

Tendances (20)

Statistics: Probability
Statistics: ProbabilityStatistics: Probability
Statistics: Probability
 
Basic concepts of probability
Basic concepts of probabilityBasic concepts of probability
Basic concepts of probability
 
Maximum likelihood estimation
Maximum likelihood estimationMaximum likelihood estimation
Maximum likelihood estimation
 
Probability distributions & expected values
Probability distributions & expected valuesProbability distributions & expected values
Probability distributions & expected values
 
Probability And Its Axioms
Probability And Its AxiomsProbability And Its Axioms
Probability And Its Axioms
 
Probability
ProbabilityProbability
Probability
 
Point Estimation
Point EstimationPoint Estimation
Point Estimation
 
Basic concept of probability
Basic concept of probabilityBasic concept of probability
Basic concept of probability
 
Probability&Bayes theorem
Probability&Bayes theoremProbability&Bayes theorem
Probability&Bayes theorem
 
Probability concept and Probability distribution
Probability concept and Probability distributionProbability concept and Probability distribution
Probability concept and Probability distribution
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distribution
 
Probability
ProbabilityProbability
Probability
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
introduction to probability
introduction to probabilityintroduction to probability
introduction to probability
 
Random Variable
Random VariableRandom Variable
Random Variable
 
Probability distribution
Probability distributionProbability distribution
Probability 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
 
poisson distribution
poisson distributionpoisson distribution
poisson distribution
 

En vedette

Text mining - from Bayes rule to dependency parsing
Text mining - from Bayes rule to dependency parsingText mining - from Bayes rule to dependency parsing
Text mining - from Bayes rule to dependency parsingFlorian Leitner
 
Dealing with Uncertainty: What the reverend Bayes can teach us.
Dealing with Uncertainty: What the reverend Bayes can teach us.Dealing with Uncertainty: What the reverend Bayes can teach us.
Dealing with Uncertainty: What the reverend Bayes can teach us.OReillyStrata
 
Quantitative Methods for Lawyers - Class #1 - Why Quantitative Methods + Res...
Quantitative Methods for Lawyers - Class #1 -  Why Quantitative Methods + Res...Quantitative Methods for Lawyers - Class #1 -  Why Quantitative Methods + Res...
Quantitative Methods for Lawyers - Class #1 - Why Quantitative Methods + Res...Daniel Katz
 
Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributionsmandalina landy
 
Discrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsDiscrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsBabasab Patil
 

En vedette (7)

Baye's rule
Baye's ruleBaye's rule
Baye's rule
 
Text mining - from Bayes rule to dependency parsing
Text mining - from Bayes rule to dependency parsingText mining - from Bayes rule to dependency parsing
Text mining - from Bayes rule to dependency parsing
 
Dealing with Uncertainty: What the reverend Bayes can teach us.
Dealing with Uncertainty: What the reverend Bayes can teach us.Dealing with Uncertainty: What the reverend Bayes can teach us.
Dealing with Uncertainty: What the reverend Bayes can teach us.
 
Quantitative Methods for Lawyers - Class #1 - Why Quantitative Methods + Res...
Quantitative Methods for Lawyers - Class #1 -  Why Quantitative Methods + Res...Quantitative Methods for Lawyers - Class #1 -  Why Quantitative Methods + Res...
Quantitative Methods for Lawyers - Class #1 - Why Quantitative Methods + Res...
 
Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributions
 
Discrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsDiscrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec doms
 
Gprs architecture ppt
Gprs architecture pptGprs architecture ppt
Gprs architecture ppt
 

Similaire à Bayes rule (Bayes Law)

Introduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' TheoromIntroduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' TheoromYugal Gupta
 
Lecture3 Applied Econometrics and Economic Modeling
Lecture3 Applied Econometrics and Economic ModelingLecture3 Applied Econometrics and Economic Modeling
Lecture3 Applied Econometrics and Economic Modelingstone55
 
1-Probability-Conditional-Bayes.pdf
1-Probability-Conditional-Bayes.pdf1-Probability-Conditional-Bayes.pdf
1-Probability-Conditional-Bayes.pdfKrushangDilipbhaiPar
 
Naive bayes
Naive bayesNaive bayes
Naive bayesAyurdata
 
Probability decision making
Probability decision makingProbability decision making
Probability decision makingChristian Tobing
 
Probability basics and bayes' theorem
Probability basics and bayes' theoremProbability basics and bayes' theorem
Probability basics and bayes' theoremBalaji P
 
Chapter 05
Chapter 05Chapter 05
Chapter 05bmcfad01
 
Bayes primer2
Bayes primer2Bayes primer2
Bayes primer2MhAcKnI
 
Probability.pptx
Probability.pptxProbability.pptx
Probability.pptxmangalyap23
 
probability-150220234157-conversion-gate02.pdf
probability-150220234157-conversion-gate02.pdfprobability-150220234157-conversion-gate02.pdf
probability-150220234157-conversion-gate02.pdfssuserc7c104
 
vann dia and probability.pptx
vann dia and probability.pptxvann dia and probability.pptx
vann dia and probability.pptxMrMuhammadAsif1
 
Quantitative Methods for Lawyers - Class #9 - Bayes Theorem (Part 2), Skewnes...
Quantitative Methods for Lawyers - Class #9 - Bayes Theorem (Part 2), Skewnes...Quantitative Methods for Lawyers - Class #9 - Bayes Theorem (Part 2), Skewnes...
Quantitative Methods for Lawyers - Class #9 - Bayes Theorem (Part 2), Skewnes...Daniel Katz
 

Similaire à Bayes rule (Bayes Law) (20)

Introduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' TheoromIntroduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' Theorom
 
Lecture3 Applied Econometrics and Economic Modeling
Lecture3 Applied Econometrics and Economic ModelingLecture3 Applied Econometrics and Economic Modeling
Lecture3 Applied Econometrics and Economic Modeling
 
Bayes (1).pptx
Bayes (1).pptxBayes (1).pptx
Bayes (1).pptx
 
1-Probability-Conditional-Bayes.pdf
1-Probability-Conditional-Bayes.pdf1-Probability-Conditional-Bayes.pdf
1-Probability-Conditional-Bayes.pdf
 
Naive bayes
Naive bayesNaive bayes
Naive bayes
 
Probability decision making
Probability decision makingProbability decision making
Probability decision making
 
Probability basics and bayes' theorem
Probability basics and bayes' theoremProbability basics and bayes' theorem
Probability basics and bayes' theorem
 
AI_7 Statistical Reasoning
AI_7 Statistical Reasoning AI_7 Statistical Reasoning
AI_7 Statistical Reasoning
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
 
Probability.pptx
Probability.pptxProbability.pptx
Probability.pptx
 
Bayes primer2
Bayes primer2Bayes primer2
Bayes primer2
 
13-uncertainty.pdf
13-uncertainty.pdf13-uncertainty.pdf
13-uncertainty.pdf
 
Probability
ProbabilityProbability
Probability
 
Probability.pptx
Probability.pptxProbability.pptx
Probability.pptx
 
Probabilty1.pptx
Probabilty1.pptxProbabilty1.pptx
Probabilty1.pptx
 
probability-150220234157-conversion-gate02.pdf
probability-150220234157-conversion-gate02.pdfprobability-150220234157-conversion-gate02.pdf
probability-150220234157-conversion-gate02.pdf
 
vann dia and probability.pptx
vann dia and probability.pptxvann dia and probability.pptx
vann dia and probability.pptx
 
Chap005Lind.ppt
Chap005Lind.pptChap005Lind.ppt
Chap005Lind.ppt
 
Bab 5.ppt
Bab 5.pptBab 5.ppt
Bab 5.ppt
 
Quantitative Methods for Lawyers - Class #9 - Bayes Theorem (Part 2), Skewnes...
Quantitative Methods for Lawyers - Class #9 - Bayes Theorem (Part 2), Skewnes...Quantitative Methods for Lawyers - Class #9 - Bayes Theorem (Part 2), Skewnes...
Quantitative Methods for Lawyers - Class #9 - Bayes Theorem (Part 2), Skewnes...
 

Plus de Tish997

2 3 Trees Algorithm - Data Structure
2 3 Trees Algorithm - Data Structure2 3 Trees Algorithm - Data Structure
2 3 Trees Algorithm - Data StructureTish997
 
Assembly language (Example with mapping from C++ to Assembly)
Assembly language (Example with mapping from C++ to Assembly)Assembly language (Example with mapping from C++ to Assembly)
Assembly language (Example with mapping from C++ to Assembly)Tish997
 
Hermes 2.1 Ransomware (Malware)
Hermes 2.1 Ransomware (Malware)Hermes 2.1 Ransomware (Malware)
Hermes 2.1 Ransomware (Malware)Tish997
 
JS Bank (Evaluation of the Performance Appraisal System)
JS Bank (Evaluation of the Performance Appraisal System)JS Bank (Evaluation of the Performance Appraisal System)
JS Bank (Evaluation of the Performance Appraisal System)Tish997
 
Assembly language (Example with mapping from C++ to Assembly)
Assembly language (Example with mapping from C++ to Assembly)Assembly language (Example with mapping from C++ to Assembly)
Assembly language (Example with mapping from C++ to Assembly)Tish997
 
Energy Core Ecx - 2000 Processor
Energy Core Ecx - 2000 Processor Energy Core Ecx - 2000 Processor
Energy Core Ecx - 2000 Processor Tish997
 
Transition words - English
Transition words - EnglishTransition words - English
Transition words - EnglishTish997
 
Parts of Report - English Presentation
Parts of Report - English PresentationParts of Report - English Presentation
Parts of Report - English PresentationTish997
 
Theory of expectancy
Theory of expectancyTheory of expectancy
Theory of expectancyTish997
 
Online vehicle showroom DB project
Online vehicle showroom DB projectOnline vehicle showroom DB project
Online vehicle showroom DB projectTish997
 

Plus de Tish997 (10)

2 3 Trees Algorithm - Data Structure
2 3 Trees Algorithm - Data Structure2 3 Trees Algorithm - Data Structure
2 3 Trees Algorithm - Data Structure
 
Assembly language (Example with mapping from C++ to Assembly)
Assembly language (Example with mapping from C++ to Assembly)Assembly language (Example with mapping from C++ to Assembly)
Assembly language (Example with mapping from C++ to Assembly)
 
Hermes 2.1 Ransomware (Malware)
Hermes 2.1 Ransomware (Malware)Hermes 2.1 Ransomware (Malware)
Hermes 2.1 Ransomware (Malware)
 
JS Bank (Evaluation of the Performance Appraisal System)
JS Bank (Evaluation of the Performance Appraisal System)JS Bank (Evaluation of the Performance Appraisal System)
JS Bank (Evaluation of the Performance Appraisal System)
 
Assembly language (Example with mapping from C++ to Assembly)
Assembly language (Example with mapping from C++ to Assembly)Assembly language (Example with mapping from C++ to Assembly)
Assembly language (Example with mapping from C++ to Assembly)
 
Energy Core Ecx - 2000 Processor
Energy Core Ecx - 2000 Processor Energy Core Ecx - 2000 Processor
Energy Core Ecx - 2000 Processor
 
Transition words - English
Transition words - EnglishTransition words - English
Transition words - English
 
Parts of Report - English Presentation
Parts of Report - English PresentationParts of Report - English Presentation
Parts of Report - English Presentation
 
Theory of expectancy
Theory of expectancyTheory of expectancy
Theory of expectancy
 
Online vehicle showroom DB project
Online vehicle showroom DB projectOnline vehicle showroom DB project
Online vehicle showroom DB project
 

Dernier

AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxiammrhaywood
 
How to Print Employee Resume in the Odoo 17
How to Print Employee Resume in the Odoo 17How to Print Employee Resume in the Odoo 17
How to Print Employee Resume in the Odoo 17Celine George
 
CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapitolTechU
 
Human-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesHuman-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesMohammad Hassany
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICESayali Powar
 
Practical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxPractical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxKatherine Villaluna
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17Celine George
 
What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?TechSoup
 
How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17Celine George
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxDr. Asif Anas
 
Benefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationBenefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationMJDuyan
 
Presentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphPresentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphNetziValdelomar1
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...raviapr7
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptxmary850239
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17Celine George
 
The Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsThe Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsEugene Lysak
 
3.19.24 Urban Uprisings and the Chicago Freedom Movement.pptx
3.19.24 Urban Uprisings and the Chicago Freedom Movement.pptx3.19.24 Urban Uprisings and the Chicago Freedom Movement.pptx
3.19.24 Urban Uprisings and the Chicago Freedom Movement.pptxmary850239
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfMohonDas
 

Dernier (20)

AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
 
How to Print Employee Resume in the Odoo 17
How to Print Employee Resume in the Odoo 17How to Print Employee Resume in the Odoo 17
How to Print Employee Resume in the Odoo 17
 
CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptx
 
Human-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesHuman-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming Classes
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICE
 
Practical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxPractical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptx
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17
 
What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?
 
How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptx
 
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdfPersonal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
 
Benefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationBenefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive Education
 
Finals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quizFinals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quiz
 
Presentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphPresentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a Paragraph
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptx
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17
 
The Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsThe Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George Wells
 
3.19.24 Urban Uprisings and the Chicago Freedom Movement.pptx
3.19.24 Urban Uprisings and the Chicago Freedom Movement.pptx3.19.24 Urban Uprisings and the Chicago Freedom Movement.pptx
3.19.24 Urban Uprisings and the Chicago Freedom Movement.pptx
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdf
 

Bayes rule (Bayes Law)

  • 2. Probability  Probability is the measure of the likelihood that an event will occur. Probability is quantified as a number between 0 and 1 (where 0 indicates impossibility and 1 indicates certainty).
  • 3. Example  A simple example is the toss of a fair (unbiased) coin. Since the two outcomes are equally probable, the probability of "heads" equals the probability of "tails", so the probability is 1/2 (or 50%) chance of either "heads" or "tails".
  • 4. Conditional Probability  a conditional probability measures the probability of an event given that (by assumption, presumption, assertion or evidence) another event has occurred. If the event of interest is A and the event B is known or assumed to have occurred, "the conditional probability of A given B", or "the probability of A under the condition B", is usually written as P(A|B)
  • 5. When to Apply Bayes' Theorem  Part of the challenge in applying Bayes' theorem involves recognizing the types of problems that warrant its use. You should consider Bayes' theorem when the following conditions exist.  Within the sample space, there exists an event B, for which P(B) > 0.  The analytical goal is to compute a conditional probability of the form: P( Ak | B ).  You know at least one of the two sets of probabilities described below.  P( Ak ∩ B ) for each Ak  P( Ak ) and P( B | Ak ) for each Ak
  • 6. BAYES RULE  The Bayes Theorem was developed and named for Thomas Bayes(1702-1761)  Show the Relation between one conditional probability and its inverse.  Provide a mathematical rule for revising an estimate or forecast in light of experience and observation.
  • 7. Continue… In the 18th Century , Thomas Bayes,  Ponder this question: “Does God really exist?” •Being interested in the mathematics, he attempt to develop a formula to arrive at the probability that God does exist based on the evidence that was available to him on earth. Later, Laplace refined Bayes’ work and gave it the name “Bayes’ Theorem”.
  • 8. Definition  In probability theory and statistics, Bayes' theorem (alternatively Bayes' law or Bayes' rule) describes the probability of an event, based on conditions that might be related to the event.
  • 9. Continue…  Bayes’ Theorem is a method of revising a probability, given that additional information is obtained. For two event:
  • 10. Explanation…  Where A and B are events:  P(A) and P(B) are the probabilities of A and B without regard to each other.  P(A | B), a conditional probability, is the probability of observing event A given that B is true.  P(B | A) is the probability of observing event B given that A is true.
  • 11. Bayesian inference  Bayesian inference is a method of statistical inference in which Bayes' theorem is used to update the probability for a hypothesis as evidence. It Involves: Prior Probability: The initial Probability based on the present level of information. Posterior Probability: A revised Probability based on additional information.
  • 12. Example of Bayes Rule  Marie is getting married tomorrow, at an outdoor ceremony in the desert. In recent years, it has rained only 5 days each year. Unfortunately, the weatherman has predicted rain for tomorrow. When it actually rains, the weatherman correctly forecasts rain 90% of the time. When it doesn't rain, he incorrectly forecasts rain 10% of the time. What is the probability that it will rain on the day of Marie's wedding?
  • 13. Solution…  The sample space is defined by two mutually-exclusive events - it rains or it does not rain. Additionally, a third event occurs when the weatherman predicts rain. Notation for these events appears below.  Event A1. It rains on Marie's wedding.  Event A2. It does not rain on Marie's wedding.  Event B. The weatherman predicts rain.
  • 14.  In terms of probabilities, we know the following:  P( A1 ) = 5/365 =0.0136985 [It rains 5 days out of the year.]  P( A2 ) = 360/365 = 0.9863014 [It does not rain 360 days out of the year.]  P( B | A1 ) = 0.9 [When it rains, the weatherman predicts rain 90% of the time.]  P( B | A2 ) = 0.1 [When it does not rain, the weatherman predicts rain 10% of the time.]
  • 15. We want to know P( A1 | B ), the probability it will rain on the day of Marie's wedding, given a forecast for rain by the weatherman. The answer can be determined from Bayes' theorem, as shown below.

Notes de l'éditeur

  1. The higher the probability of an event, the more certain we are that the event will occur.
  2. Bayes rule is based on conditions that might be related to the event.
  3. When applied, the probabilities involved in Bayes' theorem may have different probability interpretations. In one of these interpretations, the theorem is used directly as part of a particular approach to statistical inference.