Probabilities Rev Thomas Bayes 1702 1761 Bayes Theorem.

Slides:



Advertisements
Similar presentations
1/8 AND, OR and NOT b How many boys? b How many girls? b How many blue? b How many red?
Advertisements

Chapter 2 Probability. 2.1 Sample Spaces and Events.
Conditional Probability Life is full of random events! You need to get a "feel" for them to be a smart and successful person.
Revision Sheet 1.
Bayes’ Theorem.  An insurance company divides its clients into two categories: those who are accident prone and those who are not. Statistics show there.
Dependent and Independent Events. If you have events that occur together or in a row, they are considered to be compound events (involve two or more separate.
Lucy has a box of 30 chocolates. 18 are milk chocolate and the rest are dark chocolate. She takes a chocolate at random from the box and eats it. She then.
Lesson 11.9 Independent and Dependent Events
Vapnik-Chervonenkis Dimension Part II: Lower and Upper bounds.
Data-intensive Computing Algorithms: Classification Ref: Algorithms for the Intelligent Web 6/26/20151.
Conditional Probabilities
1 Some terminology Population - the set of all cases about which we have some interest. Sample - the cases we have selected from the population (randomly)
Probability : Combined events 2
Probability (2) Conditional Probability. For these 6 balls, if 2 are chosen randomly …. What is the probability they are a green and a red? P(G) = 2/6.
The Erik Jonsson School of Engineering and Computer Science Chapter 1 pp William J. Pervin The University of Texas at Dallas Richardson, Texas
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 2 Probability.
1 Conditional Probability and Bayes’ Theorem Dr. Jerrell T. Stracener, SAE Fellow EMIS 7370 STAT 5340 Probability and Statistics for Scientists and Engineers.
6/28/2014 CSE651C, B. Ramamurthy1.  Classification is placing things where they belong  Why? To learn from classification  To discover patterns  To.
“PROBABILITY” Some important terms Event: An event is one or more of the possible outcomes of an activity. When we toss a coin there are two possibilities,
8-5: Adding Probabilities English Casbarro Unit 8.
Probability Notes Math 309. Sample spaces, events, axioms Math 309 Chapter 1.
3 - 1 © 1998 Prentice-Hall, Inc. Chapter 3 Probability.
3 - 1 © 2000 Prentice-Hall, Inc. Statistics for Business and Economics Probability Chapter 3.
Samuel Chukwuemeka (Samdom For Peace) Bayes’ Theorem.
Random Experiment Random Variable: Continuous, Discrete Sample Space: S Event: A, B, E Null Event Complement of an Event A’ Union of Events (either, or)
Bayes’ Theorem Bayes’ Theorem allows us to calculate the conditional probability one way (e.g., P(B|A) when we know the conditional probability the other.
Bayes’ Theorem Thomas Bayes was a British mathematician ( ).
Uncertainty Uncertain Knowledge Probability Review Bayes’ Theorem Summary.
AP STATISTICS LESSON 6.3 (DAY 1) GENERAL PROBABILITY RULES.
Probability 2.0. Independent Events Events can be "Independent", meaning each event is not affected by any other events. Example: Tossing a coin. Each.
Mathematics Conditional Probability Science and Mathematics Education Research Group Supported by UBC Teaching and Learning Enhancement Fund
Recap from last lesson Compliment Addition rule for probabilities
1 Chapter 12 Probabilistic Reasoning and Bayesian Belief Networks.
12/7/20151 Math b Conditional Probability, Independency, Bayes Theorem.
Probability. Rules  0 ≤ P(A) ≤ 1 for any event A.  P(S) = 1  Complement: P(A c ) = 1 – P(A)  Addition: If A and B are disjoint events, P(A or B) =
Conditional Probability: the likelihood that an event will occur GIVEN that another event has already occurred. A two way table & tree diagrams can represent.
Education as a Signaling Device and Investment in Human Capital Topic 3 Part I.
Representing Data for Finding Probabilities There are 35 students 20 take math 25 take science 15 take both Venn Diagram Contingency table M^M.
Section 7.4 Use of Counting Techniques in Probability.
PROBABILITY AND STATISTICS
Probability A quantitative measure of uncertainty A quantitative measure of uncertainty A measure of degree of belief in a particular statement or problem.
Section Probability Models AP Statistics. AP Statistics, Section 6.3, Part 22 Age and overTotal Married7,84243,8088,27059,920 Never.
9-7Independent and Dependent Events 9-7 Independent and Dependent Events (pg ) Indicator: D7.
12-7 Probability of Compound Events (AND problems) Goal: Find the probability of a compound event. Eligible Content: A
STATISTICS 6.0 Conditional Probabilities “Conditional Probabilities”
16.2 Probability of Events Occurring Together
Aim: How do we find the conditional probability of an event? TEST TUESDAY.
Warm up - let me know when you and your partner are done You have a multiple choice quiz with 5 problems. Each problem has 4 choices. 1.What is the probability.
Chapter 15 Probability Rules Robert Lauzon. Probability Single Events ●When you are trying to find the probability of a single outcome it can be found.
PROBABILITY 1. Basic Terminology 2 Probability 3  Probability is the numerical measure of the likelihood that an event will occur  The probability.
Data-intensive Computing Algorithms: Classification Ref: Algorithms for the Intelligent Web 7/10/20161.
Chapter 4, part E Download this file. Download this file.
GCSE: Tree Diagrams and Frequency Trees
Section 7.6 Bayes’ Theorem.
Statistics for Business and Economics
STAT 203 Tree Diagrams and Bayes’ Rule
P(A and B) = P(A) x P(B) The ‘AND’ Rule
Chapter 4 – Part 2.
An introduction to tree diagrams (level 7-8)
QUANTITATIVE METHODS 1 SAMIR K. SRIVASTAVA.
Section 6.3 Probability Models
General Probability Rules
the addition law for events that are not mutually exclusive
Probability Conditional Probability
Probability Multiplication law for dependent events
Chapter 3 & 4 Notes.
Compound Events – Independent and Dependent
Lesson 56 – Probability of Dependent Events – Conditional Probabilty
Probability Notes Math 309 August 20.
Presentation transcript:

Probabilities Rev Thomas Bayes Bayes Theorem

Consider a box of 5 RED and 15 BLACK balls P(Ŕ) Probability of a RED P(R) Probability of NOT a RED P(R ⋂ B ) Probability of a RED AND a BLACK What is the probability of drawing a RED and then a BLACK ball from the box, Notation Probability of a BLACK P(B) P(B́) Probability of NOT a BLACK P(R U B ) Probability of a RED OR a BLACK P(R|B) Probability of A given B has happened P(B|R) Probability of B given A has happened

Consider a box of 5 RED and 15 BLACK balls Event R 5 20 P(R) P(Ŕ) P(B|R) P(B́|R) P(B|R) Event B P(R ⋂ B ) P(B ⋂ R) P(B ⋂ R ́́) Probability of B given R has happened

Event R 5 20 P(R) P(B|R) Event B P(R ⋂ B ) = P(R).P(B|R) = Event B P(B) P(R|B) 5 19 Event R P(R ⋂ B ) = P(B).P(R|B) = These are the same

From this we can write in general P(A ⋂ B ) = P(A).P(B|A) =P(B).P(A|B) Rearrange P(A).P(B|A) =P(B)P(A|B).  By P(A) P(B|A) = P(B)P(A|B). P(A) This is Bayes’ Theorem  In some text the summation sign is shown – more about this later

…….0.5 A simple problem A school has 60% Boys and 40% Girls. All the Boys wear trousers, while 50% of the Girls also wear trousers. Q. What is the probability of seeing in the distance that a pupil wearing trousers is a Girl. Let P(G) = probability of a Girl P(T|G) = probability of a Girl wearing trousers P(T) = Total probability a pupil in Trousers ……………………….0.4..…….0.8 P(G|T) = So P(T|G).P(G) P(T) = 0.5 x = 0.25

Try Two suppliers ( A and B) of M5 bolts are known to have 2% and 5% reject bolts in their production lines; due to stocking levels there is a 40:60 probability of taking suppliers A as against supplier B bolts from stores. Q. What is the probability of finding a reject bolt and it was from supplier A ( all boxes are unmarked ) Let P(A) = prob of Supplier A P(R|A) = prob of a Reject from Supplier A P(R|B) = Prob of a Reject from Supplier B ……………….0.4 …..…….0.05 P(A|R) = So P(R|A).P(A) P(R) = 0.02 x = 0.21 P(B) = prob of Supplier B ……………….0.6 Decision Tree Total prob of a reject = 0.4 x x 0.05 = 0.038

Event A P(A) P(B) P(R|A) P(Ŕ|A) P(R|B) P(A ⋂ R ) P(B ⋂ R) Event R = 0.21

Try the work sheet