MA305 Conditional Probability Bayes’ Theorem

Slides:



Advertisements
Similar presentations
Review of Probability Jake Blanchard Spring 2010 Uncertainty Analysis for Engineers1.
Advertisements

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Chapter 3. Conditional Probability and Independence Section 3.3. Theorem of Total Probability and Bayes’
1 Probability Theory Dr. Deshi Ye
Probability Denoted by P(Event) This method for calculating probabilities is only appropriate when the outcomes of the sample space are equally likely.
Chapter 2 Probability. 2.1 Sample Spaces and Events.
7 Probability Experiments, Sample Spaces, and Events
Conditional Probability and Independence. Learning Targets 1. I can calculate conditional probability using a 2-way table. 2. I can determine whether.
For Thursday, Feb. 20 Bring Conditional Probability Worksheet to class Exam #1:March 4 Project Presentations Start March 6 Team Homework #4 due Feb. 25.
Bayes’ Theorem Suppose we have estimated prior probabilities for events we are concerned with, and then obtain new information. We would like to a sound.
Bayes Theorem Mutually exclusive events A collection of events (B1, B2, …, Bk) is said to be mutually exclusive if no two of them overlap. If mutually.
Chapter 4 Basic Probability
ENM 207 Lecture 7. Example: There are three columns entitled “Art” (A),“Books” (B) and “Cinema” (C) in a new magazine. Reading habits of a randomly selected.
Problem 1 The following facts are known regarding two events A and B: Pr(A∩B) = 0.2,Pr(AUB) = 0.6,Pr(A | B) = 0.5 Find the following: (i)Pr (A) (ii)Pr.
Conditional Probability and Independent Events. Conditional Probability if we have some information about the result…use it to adjust the probability.
Conditional Probability
PROBABILITY (6MTCOAE205) Chapter 2 Probability.
© Buddy Freeman, 2015Probability. Segment 2 Outline  Basic Probability  Probability Distributions.
Engineering Probability and Statistics
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.
Probability Denoted by P(Event) This method for calculating probabilities is only appropriate when the outcomes of the sample space are equally likely.
AP STATISTICS Section 6.2 Probability Models. Objective: To be able to understand and apply the rules for probability. Random: refers to the type of order.
Using Probability and Discrete Probability Distributions
Engineering Probability and Statistics Dr. Leonore Findsen Department of Statistics.
Samuel Chukwuemeka (Samdom For Peace) Bayes’ Theorem.
Chapter 4 Probability. Probability Defined A probability is a number between 0 and 1 that measures the chance or likelihood that some event or set of.
Ch Counting Techniques Product Rule If the first element or object of an ordered pair can be used in n 1 ways, and for each of these n1 ways.
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)
Section 1.6 Suppose that S = B 1  B 2  …  B m is an outcome space with B i  B j =  for i  j, that is, B 1, B 2, …, B m are mutually exclusive and.
1 STAT 500 – Statistics for Managers STAT 500 Statistics for Managers.
2-1 Sample Spaces and Events Random Experiments Figure 2-1 Continuous iteration between model and physical system.
2-1 Sample Spaces and Events Random Experiments Figure 2-1 Continuous iteration between model and physical system.
EQT 272 PROBABILITY AND STATISTICS
Mathematics Conditional Probability Science and Mathematics Education Research Group Supported by UBC Teaching and Learning Enhancement Fund
Basic Business Statistics Assoc. Prof. Dr. Mustafa Yüzükırmızı
Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 2 Probability.
12/7/20151 Math b Conditional Probability, Independency, Bayes Theorem.
Topic 2 – Probability Basic probability - pages Conditional probability and independence - pages Bayes rule - pages 72 -
Introduction to Probability 1. What is the “chance” that sales will decrease if the price of the product is increase? 2. How likely that the Thai GDP will.
Probability: Terminology  Sample Space  Set of all possible outcomes of a random experiment.  Random Experiment  Any activity resulting in uncertain.
Probability Rules In the following sections, we will transition from looking at the probability of one event to the probability of multiple events (compound.
Rules of Probability. The additive rule P[A  B] = P[A] + P[B] – P[A  B] and if P[A  B] =  P[A  B] = P[A] + P[B]
Using Tables in Probability Problems -how to make problems easier.
Stat 1510: General Rules of Probability. Agenda 2  Independence and the Multiplication Rule  The General Addition Rule  Conditional Probability  The.
Asst. Professor in Mathematics
MA305 Binomial Distribution and Poisson Distribution By: Prof. Nutan Patel Asst. Professor in Mathematics IT-NU A-203 patelnutan.wordpress.com MA305 Mathematics.
Probability and Simulation The Study of Randomness.
2.5 Additive Rules: Theorem 2.10: If A and B are any two events, then: P(A  B)= P(A) + P(B)  P(A  B) Corollary 1: If A and B are mutually exclusive.
MA305 Mean, Variance Binomial Distribution By: Prof. Nutan Patel Asst. Professor in Mathematics IT-NU A-203 patelnutan.wordpress.com MA305 Mathematics.
Review Conditional Probability –Denoted P(A|B), it represents the probability that A will occur given that B occurred. Independent events –Two events A.
HL2 Math - Santowski Lesson 93 – Bayes’ Theorem. Bayes’ Theorem  Main theorem: Suppose we know We would like to use this information to find if possible.
Conditional Probability 423/what-is-your-favorite-data-analysis-cartoon 1.
Bayes’ Theorem Suppose we have estimated prior probabilities for events we are concerned with, and then obtain new information. We would like to a sound.
Sampling Distributions
Copyright © Cengage Learning. All rights reserved.
Conditional Probability
Section 7.6 Bayes’ Theorem.
From Randomness to Probability
Bayes’ Theorem Suppose we have estimated prior probabilities for events we are concerned with, and then obtain new information. We would like to a sound.
In-Class Exercise: Bayes’ Theorem
Statistics for 8th Edition Chapter 3 Probability
Probability.
Probability Models Section 6.2.
Lecture 12 Sections 5.3 Objectives: Conditional Probability Definition
If A and B are any two events, then: P(AB)= P(A) + P(B)  P(AB)
The so-called “classical probability concept” is nothing more than what you’ve heard before called “equally likely outcomes”... In many experiments, the.
More About Probability
Chapter 5 – Probability Rules
Presentation transcript:

MA305 Conditional Probability Bayes’ Theorem By: Prof. Nutan Patel Asst. Professor in Mathematics IT-NU A-203 patelnutan.wordpress.com MA305 Mathematics for ICE Mathematics for ICE

Conditional Probability Definition: If A and B are two events associated with the same sample space of a random experiment, the conditional probability of the event A given that B has occurred, i.e. P (A|B) is given by Properties: MA305 Mathematics for ICE

General Multiplication Rule If A and B are any events in S, then P(AB) =P(A)P(B|A), if P(A) ≠ 0 =P(B)P(A|B), if P(B) ≠ 0. Ex- Two cards are drawn at random from an ordinary deck of 52 playing cards. What is the probability of getting two aces if The first card is replaced before the second card is drawn; The first card is not replaced before the second card is drawn? Ans: Let event A be first card is ace and B be second card is ace. Since there are four aces among the 52 playing cards, we get P(AB)= 4 52 . 4 52 = 1 169 . (b) P(AB) =P(A)P(B|A)= 4 52 . 3 51 = 1 221 . MA305 Mathematics for ICE

Ex-2. The supervisor of a group of 20 workers wants to get the opinion of 2 of them (to be selected random) about certain new safety regulations. If 12 of them favour the new regulations and the other 8 are against it, what is the probability that both of the workers chosen by the supervisor will be against safety regulations? Ans- the probability that the first worker selected will be against the new safety regulations is P(A)= 8 20 , and the probability that the second worker selected will be against the new safety regulations given that the first one is against them is P(B|A)= 7 19 . Thus, the desired probability is P(AB)=P(A)P(B|A)= 8 20 x 7 19 = 14 95 . MA305 Mathematics for ICE

Both parts should have gone to Vadodara; MA305 Ex-3. Among 60 automobile repair parts loaded on a truck in Bombay, 45 are destined for Vadodara and 15 for Ahmedabad. If two of parts are unloaded in Surat by mistake and the “selection” is random, what are the probabilities that Both parts should have gone to Vadodara; Both parts should have gone to Ahmedabad; One should have gone to Vadodara and one to Ahmedabad. Ans- (a) 45 60 x 44 59 = 33 59 =0.5593 (b) 15 60 x 14 59 = 7 118 = 0.059322 (c) 1-( 33 59 + 7 118 )=0.381 or = 45 60 x 15 59 + 15 60 x 45 59 = 0.381 MA305 Mathematics for ICE Mathematics for ICE

A B C 0.11 U 0.24 0.09 0.19 Ex-4. With reference to Figure, find P(A|B) P(B|C’) P(AB|C) P(BC|A’) P(A|BC) P(A|BC) P(ABC|BC) P(ABC|BC) Ans: (a) 0.25 (b) 0.417 (c) 0.1 (d) 0.78 (e) 0.4 (f) 0.267 (g) 0.267 (h) 0.062 0.06 0.11 0.16 0.04 MA305 Mathematics for ICE

Rule of total probability Example: Suppose that an assembly plant receives its voltage regulators from three different suppliers, 60% from supplier B1, 30% from supplier B2, and 10 % from supplier B3. If 95% of the voltage regulators from B1, 80% of those from B2, and 65% of those from B3 perform according to specifications, what is the probability that any one voltage regulator received by the plant will perform according to specifications. Ans: If A denotes the event that a voltage regulator received by the plant performs according to specifications, and B1, B2 and B3 are the events that it comes from respective suppliers, We can write A = A(B1  B2  B3 ) = (A B1)(A B2)(A B3) and P(A) = P((A B1)(A B2)(A B3)) = P(A B1)+P(A B2)+P(A B3) (as B1  B2  B3 =) = P(B1)P(A| B1)+P(B2)P(A| B2)+P(B3)P(A| B3) = (0.60)(0.95)+(0.30)(0.80)+(0.10)(0.65) = 0.875 MA305 Mathematics for ICE

Rule of total probability If B1, B2, … , Bn are mutually exclusive events of which one must occur, then P(A)= 𝑖=0 𝑛 𝑃 Bi 𝑃(𝐴|Bi ) Ex: (continue) Suppose we want to know the probability that a particular voltage regulator perform according to specifications, came from supplier B3. i.e. P(B3|A) We write 𝑃 𝐵 3 𝐴 = 𝑃(𝐴∩ 𝐵 3 ) 𝑃(𝐴) = P(B3)P(A| B3) 𝑖=0 3 P(Bi)P(A| Bi) 𝑃 𝐵 3 𝐴 = P(B3)P(A| B3) P(B1)P(A| B1)+P(B2)P(A| B2)+P(B3)P(A| B3) = (0.10)(0.65) 0.875 =0.074. Note that the probability that a voltage regulator is supplied by B3 decreases from 0.10 to 0.074 once it is known that it perform according to specifications. MA305 Mathematics for ICE

Bayes’ Theorem If B1, B2, … , Bn are mutually exclusive events of which one must occur, then 𝑃 𝐵 𝑚 𝐴 = P(Bm)P(A| Bm) 𝑖=0 𝑛 P(Bi)P(A| Bi) , for m=1, 2, … , n. Bayes’ theorem provides a formula for finding the probability that the “effect” A was “caused” by event Bm. MA305 Mathematics for ICE

By Tree Diagram P(A| B1) A P(B1) P(B2) P(A| B2) A P(B3) P(A| B3) A Total Probability: P(A)= 𝑖=0 𝑛 𝑃 Bi 𝑃(𝐴|Bi ) = P(B1)P(A| B1)+P(B2)P(A| B2)+P(B3)P(A| B3) Bayes’ Theorem: 𝑃 𝐵 3 𝐴 = P(B3)P(A| B3) P(B1)P(A| B1)+P(B2)P(A| B2)+P(B3)P(A| B3) MA305 Mathematics for ICE

What is the probability that it came from X? Example: A Manufacturer buys an item from three subcontractors, X, Y ans Z. X has the better quality control, only 2% of its item are defective. X furnishes the manufacturer with 50% of items. Y furnishes 30% of the items, and 5% of its items are defective. Z furnishes 20% of the items, and 6% of its items are defective. The manufacturer finds an item defective What is the probability that it came from X? What is the probability that it came from Y? What is the probability that it came from Z? Ans: P(A)=0.037 i. P(X|A)= 0.2703 ii. P(Y|A)=0.4054 iii. P(Z|A)=0.3243 MA305 Mathematics for ICE

What is the probability that bad tires came from D? Example: A consulting firm rents cars from three agencies, 20% from agency D, 20% from agency E, and 60% from agency F. if 10% of the cars from D, 12% of the cars from E, and 4% of the cars from F have bad tires, what is the probability that the firm will get a car with bad tires? What is the probability that bad tires came from D? What is the probability that bad tires came from E? What is the probability that bad tires from F? Ans: 0.0684 0.2923 0.3508 MA305 Mathematics for ICE

A Company manufactures integrated circuits on silicon chips at three different plants X, Y, and Z. out of every 1000 chips produced, 400 come from X, 350 come from Y, and 250 come from Z. it has been estimates that of the 400 from X 10 are defective, wheres five of those from Y are defective, and only two of those from Z are defective. Determine the probability that a defective chip came from plant Y. Ans: 0.324 MA305 Mathematics for ICE