3.3 Conditional Probability 410211210 侯如恩. Suppose that each of two teams is to produce an item, and that the two items produced will be rated as either.

Slides:



Advertisements
Similar presentations
1 Chapter 3 Probability 3.1 Terminology 3.2 Assign Probability 3.3 Compound Events 3.4 Conditional Probability 3.5 Rules of Computing Probabilities 3.6.
Advertisements

COUNTING AND PROBABILITY
Sets: Reminder Set S – sample space - includes all possible outcomes
March 31, 2015Applied Discrete Mathematics Week 8: Advanced Counting 1 Discrete Probability Example I: A die is biased so that the number 3 appears twice.
MA-250 Probability and Statistics Nazar Khan PUCIT Lecture 13.
Probability Sample Space Diagrams.
1 Introduction to Stochastic Models GSLM Outline  course outline course outline  Chapter 1 of the textbook.
HW 5_solutions. Problem 1 Let’s modify Problem 7 (page 23) to a more general test. Assume a test has a probability p of indicating the disease among patients.
Probability and Statistics Dr. Saeid Moloudzadeh Sample Space and Events 1 Contents Descriptive Statistics Axioms of Probability Combinatorial.
Elementary Probability Theory
CONDITIONAL PROBABILITY and INDEPENDENCE In many experiments we have partial information about the outcome, when we use this info the sample space becomes.
Math 310 Section 7.1 Probability. What is a probability? Def. In common usage, the word "probability" is used to mean the chance that a particular event.
1 Copyright M.R.K. Krishna Rao 2003 Chapter 5. Discrete Probability Everything you have learned about counting constitutes the basis for computing the.
Conditional Probability
Chapter6 Jointly Distributed Random Variables
Probability and Statistics Dr. Saeid Moloudzadeh Axioms of Probability/ Basic Theorems 1 Contents Descriptive Statistics Axioms of Probability.
5.1 Basic Probability Ideas
Conditional Probability and Independence If A and B are events in sample space S and P(B) > 0, then the conditional probability of A given B is denoted.
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
“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,
Simple Mathematical Facts for Lecture 1. Conditional Probabilities Given an event has occurred, the conditional probability that another event occurs.
Principles of Statistics Chapter 2 Elements of Probability.
1 Probability. 2 Today’s plan Probability Notations Laws of probability.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 12.6 OR and AND Problems.
CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Instructor Longin Jan Latecki C2: Outcomes, events, and probability.
Section 7.2. Section Summary Assigning Probabilities Probabilities of Complements and Unions of Events Conditional Probability Independence Bernoulli.
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review Instructor: Anirban Mahanti Office: ICT Class.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin A Survey of Probability Concepts Chapter 5.
Computing Fundamentals 2 Lecture 6 Probability Lecturer: Patrick Browne
Mathematics Conditional Probability Science and Mathematics Education Research Group Supported by UBC Teaching and Learning Enhancement Fund
Dr. Ahmed Abdelwahab Introduction for EE420. Probability Theory Probability theory is rooted in phenomena that can be modeled by an experiment with an.
SECTION 11-3 Conditional Probability; Events Involving “And” Slide
Probability You’ll probably like it!. Probability Definitions Probability assignment Complement, union, intersection of events Conditional probability.
12/7/20151 Math b Conditional Probability, Independency, Bayes Theorem.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Chapter 2. Conditional Probability Weiqi Luo ( 骆伟祺 ) School of Data & Computer Science Sun Yat-Sen University :
Lecture 7 Dustin Lueker. 2STA 291 Fall 2009 Lecture 7.
Chapter three Conditional Probability and Independence
§2 Frequency and probability 2.1The definitions and properties of frequency and properties.
Week 21 Rules of Probability for all Corollary: The probability of the union of any two events A and B is Proof: … If then, Proof:
Chapter 4 Probability Concepts Events and Probability Three Helpful Concepts in Understanding Probability: Experiment Sample Space Event Experiment.
I can find probabilities of compound events.. Compound Events  Involves two or more things happening at once.  Uses the words “and” & “or”
1.7 Bayes Theorem Independent. Theorem 1.5 (Bayes’Rule) If the events B 1,B 2,…, B n constitute a partition of the sample space S,where then for any event.
Warm Up: Quick Write Which is more likely, flipping exactly 3 heads in 10 coin flips or flipping exactly 4 heads in 5 coin flips ?
3/7/20161 Now it’s time to look at… Discrete Probability.
Chance We will base on the frequency theory to study chances (or probability).
Mutually Exclusive & Independence PSME 95 – Final Project.
DO NOW 4/27/2016 Find the theoretical probability of each outcome. 1. rolling a 6 on a number cube. 2. rolling an odd number on a number cube. 3. flipping.
Introduction to probability (3) Definition: - The probability of an event A is the sum of the weights of all sample point in A therefore If A1,A2,…..,An.
1 What Is Probability?. 2 To discuss probability, let’s begin by defining some terms. An experiment is a process, such as tossing a coin, that gives definite.
Discrete Math Section 16.1 Find the sample space and probability of multiple events The probability of an event is determined empirically if it is based.
Probability and Statistics for Computer Scientists Second Edition, By: Michael Baron Chapter 2: Probability CIS Computational Probability and Statistics.
Probability and Statistics for Computer Scientists Second Edition, By: Michael Baron Chapter 2: Probability CIS Computational Probability and.
Virtual University of Pakistan
Now it’s time to look at…
Chapter 3: Probability Topics
What Is Probability?.
What is Probability? Quantification of uncertainty.
Discrete Probability Chapter 7 With Question/Answer Animations
Probability Models Section 6.2.
Probability and Statistics for Computer Scientists Second Edition, By: Michael Baron Chapter 2: Probability CIS Computational Probability and.
CONDITIONAL PROBABILITY
COUNTING AND PROBABILITY
Probability Notes Math 309.
Now it’s time to look at…
Wed + nes + day! Warm-Up… Quickwrite…
Section 12.6 OR and AND Problems
Probability Notes Math 309.
Probability Notes Math 309 August 20.
Presentation transcript:

3.3 Conditional Probability 侯如恩

Suppose that each of two teams is to produce an item, and that the two items produced will be rated as either acceptable or unacceptable. The sample space of this experiment will then consist of the following four outcomes: S = {(a, a), (a, u), (u, a), (u, u)}, where, for example, (a, u) means that the first team produced an acceptable item and the second team an unacceptable one. Suppose that the probabilities of these outcomes are as follows: P(a, a) = 0.54, P(a, u) = 0.28, P(u, a) = 0.14, P(u, u) = 0.04.

exactly one first  If we are given the information that exactly one of the items produced was acceptable, what is the probability that it was the one produced by the first team? To determine this probability, consider the following reasoning. Given that there was exactly one acceptable item produced, it follows that the outcome of the experiment was either (a, u) or (u, a). P(a, a) = 0.54, P(a, u) = 0.28, P(u, a) = 0.14, P(u, u) = Since the outcome (a, u) was initially twice as likely as the outcome(u, a), it should remain twice as likely given the information that one of them occurred. Therefore, the probability that the outcome was (a, u) is 2/3, whereas the probability that it was (u, a) is 1/3.

Let A = {(a, u), (a, a)} denote the event that the item produced by the first team is acceptable, and let B = {(a, u), (u, a)} be the event that exactly one of the produced items is acceptable. conditional probability 條件機率 The probability that the item produced by the first team was acceptable given that exactly one of the produced items was acceptable is called the conditional probability 條件機率 of A given that B has occurred 在 B 發生的狀況下 A 發生的機率, and is denoted asP(A|B)

A general formula for P(A|B) is obtained by an argument similar to the one just given. Namely, if the event B occurs, then in order for the event A to occur it is necessary that the occurrence be a point in both A and B; that is, it must be in AB. Now, since we know that B has occurred, it follows that B can be thought of as the new sample space, and hence the probability that the event AB occurs will equal the probability of AB relative to the probability of B. That is,P(A|B) = P(AB)/P(B)

 Example 3.3a A coin is flipped twice. Assuming that all four points in the sample space S = {(h, h), (h, t ), (t, h), (t, t)} are equally likely, what is the conditional probability that both flips land on heads, given that: (a) the first flip lands on heads; (b) at least one of the flips lands on heads?  Solution. Let A = {(h, h)} be the event that both flips land on heads; let B = {(h, h), (h, t)} be the event that the first flip lands on heads; and let C = {(h, h), (h, t ), (t, h)} be the event that at least one of the flips lands on heads. We have the following solutions: P(A|B) = P(AB)/P(B)= P({(h, h)})/P({(h, h), (h, t)})= (1/4)/(2/4)= 1/2

and P(A|C) = P(AC)/P(C)= P({(h, h)})/P({(h, h), (h, t ), (t, h)}) = (1/4)/(3/4)= 1/3. Many people are initially surprised that the answers to parts (a) and (b) are not identical. To understand why the answers are different,note first that – conditional on the first flip landing on heads – the second one is still equally likely to land on either heads or tails and so the probability in part (a) is 1/2. On the other hand, knowing that at least one of the flips lands on heads is equivalent to knowing that the outcome is not (t, t ). Thus, given that at least one of the flips lands on heads, there remain three equally likely possibilities – namely (h, h), (h, t ), and (t, h). This shows that the answer to part (b) is 1/3.

It follows from equation (3.1) that P(AB) = P(B)P(A|B). (3.5) multiplication theorem of probability That is, the probability that both A and B occur is the probability that B occurs multiplied by the conditional probability that A occurs given that B occurred; this result is often called the multiplication theorem of probability.

 Example 3.3b Suppose that two balls are to be withdrawn, without replacement, from an urn that contains nine blue and seven yellow balls.If each ball withdrawn is equally likely to be any of the balls in the urn at the time, what is the probability that both withdrawn balls are blue?  Solution. Let B1 and B2 denote, respectively, the events that the first and second balls withdrawn are blue. Now, given that the first ball withdrawn is blue, the second ball is equally likely to be any of the remaining 15 balls, of which 8 are blue.(9-1+7=15) Therefore, P(B2|B1) = 8/15. As P(B1) =9/16, we see that P(B1B2) = (9/16)*(8/15)= 3/10 P(AB) = P(B)P(A|B).

The preceding could also have been obtained as follows: P(B1B2) =(9 取 2)/(16 取 2)=3/10  The conditional probability of A, given that B has occurred, is not generally equal to the unconditional probability of A. In otherwords, knowing that the outcome of the experiment is an element of B generally changes the probability that it is an element of A. (What if A and B are mutually exclusive 互斥 ?) In the special case where P(A|B) is equal to P(A), We say that A is independent 獨立 of B. Because P(A|B) = P(AB)/P(B), we see that A is independent of B if P(AB) = P(A)P(B). This relation is symmetric in A and B, so it follows that, whenever A is independent of B, B is also independent of A – that is, A and B are independent events.

 Example 3.3c Suppose that each item produced by a firm 公司 is, independently of the quality of other items, of acceptable quality with probability Find the probability that two successively produced items are both of acceptable quality.  Solution. Let Ai be the event that item i is of acceptable quality. Then,by independence, P(A1A2) = P(A1)P(A2) = (0.99) 2 =