1 Conditional Probability When do you think the probability of snow is higher, in September or February? February, at least in Nebraska, right?

Slides:



Advertisements
Similar presentations
Dealing with Random Phenomena A random phenomenon is a situation in which we know what outcomes could happen, but we don’t know which particular outcome.
Advertisements

1 Conditional Probability. 2 As we have seen, P(A) refers to the probability that event A will occur. P(A|B) refers to the probability that A will occur.
Copyright © Cengage Learning. All rights reserved. 7 Probability.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Probability.
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.
Chapter 4 Probability and Probability Distributions
Introduction to Probability
Chapter 4 Using Probability and Probability Distributions
1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability.
1 Binomial Probability Distribution Here we study a special discrete PD (PD will stand for Probability Distribution) known as the Binomial PD.
Probability.
Chapter 4 Probability.
Visualizing Events Contingency Tables Tree Diagrams Ace Not Ace Total Red Black Total
Chapter Two Probability. Probability Definitions Experiment: Process that generates observations. Sample Space: Set of all possible outcomes of an experiment.
Chapter 4: Basic Probability
Learning Goal 13: Probability Use the basic laws of probability by finding the probabilities of mutually exclusive events. Find the probabilities of dependent.
1 Binomial Probability Distribution Here we study a special discrete PD (PD will stand for Probability Distribution) known as the Binomial PD.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Chapter 6 Probability.
© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
Chapter 4 Probability See.
5.1 Basic Probability Ideas
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 13, Slide 1 Chapter 13 From Randomness to Probability.
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
Lecture Slides Elementary Statistics Twelfth Edition
CHAPTER 5 Probability: Review of Basic Concepts
1 Chapters 6-8. UNIT 2 VOCABULARY – Chap 6 2 ( 2) THE NOTATION “P” REPRESENTS THE TRUE PROBABILITY OF AN EVENT HAPPENING, ACCORDING TO AN IDEAL DISTRIBUTION.
Probability Notes Math 309. Sample spaces, events, axioms Math 309 Chapter 1.
Special Topics. General Addition Rule Last time, we learned the Addition Rule for Mutually Exclusive events (Disjoint Events). This was: P(A or B) = P(A)
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin A Survey of Probability Concepts Chapter 5.
Copyright © 2014 Pearson Education, Inc. All rights reserved Chapter 5 Modeling Variation with Probability.
Stats Exam Prep. Dr. Lin Lin. WARNING The goal of this workshop is to go over some basic concepts in probability and statistic theories required for IS.
Chapter 4 Probability ©. Sample Space sample space.S The possible outcomes of a random experiment are called the basic outcomes, and the set of all basic.
C4, L1, S1 Chapter 3 Probability. C4, L1, S2 I am offered two lotto cards: –Card 1: has numbers –Card 2: has numbers Which card should I take so that.
AP STATISTICS LESSON 6.3 (DAY 1) GENERAL PROBABILITY RULES.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Topic 2: Intro to probability CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering.
Recap from last lesson Compliment Addition rule for probabilities
Class 2 Probability Theory Discrete Random Variables Expectations.
From Randomness to Probability Chapter 14. Dealing with Random Phenomena A random phenomenon is a situation in which we know what outcomes could happen,
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.
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. 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) =
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved. Essentials of Business Statistics: Communicating with Numbers By Sanjiv Jaggia and.
Representing Data for Finding Probabilities There are 35 students 20 take math 25 take science 15 take both Venn Diagram Contingency table M^M.
Basic Probability.
BIA 2610 – Statistical Methods
Chapter 4 Probability Concepts Events and Probability Three Helpful Concepts in Understanding Probability: Experiment Sample Space Event Experiment.
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
STATISTICS 6.0 Conditional Probabilities “Conditional Probabilities”
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
When a normal, unbiased, 6-sided die is thrown, the numbers 1 to 6 are possible. These are the ONLY ‘events’ possible. This means these are EXHAUSTIVE.
Chance We will base on the frequency theory to study chances (or probability).
Statistics 14 From Randomness to Probability. Probability This unit will define the phrase “statistically significant This chapter will lay the ground.
Probability. Definitions Probability: The chance of an event occurring. Probability Experiments: A process that leads to well- defined results called.
PROBABILITY 1. Basic Terminology 2 Probability 3  Probability is the numerical measure of the likelihood that an event will occur  The probability.
AP Statistics From Randomness to Probability Chapter 14.
Adding Probabilities 12-5
Chapter 3 Probability.
Multiplication Rule and Conditional Probability
Probability The term probability refers to indicate the likelihood that some event will happen. For example, ‘there is high probability that it will rain.
Applicable Mathematics “Probability”
Multiple Choice Practice
Introduction to Probability & Statistics Expectations
General Probability Rules
Probability Notes Math 309.
Presentation transcript:

1 Conditional Probability When do you think the probability of snow is higher, in September or February? February, at least in Nebraska, right?

2 Conditional Probability As we have seen, P(A) refers to the probability that event A will occur. P(A|B) refers to the probability that A will occur but with the understanding that B has already occurred and we know it. So, we say the probability of A given B. The given B part means that it is known that B has occurred. By definition P(A|B) = P(A and B)/P(B). Similarly P(B|A) = P(A and B)/P(A). Note P(A and B) = P(B and A)

3 Now we have by definition P(A|B) = P(A and B)/P(B). In this definition, B has already occurred. The P(B) is the denominator of P(A|B) and is thus the base of the conditional probability. The intersection of A and B is in the numerator. Since B has occurred, the only way A can have occurred is if there is an overlap of A and B. So we have the ratio probability of overlap/probability of known event. Let’s turn to an example where a person planned to make a purchase of a big TV and then there is a follow up to see if they actually made the purchase.

4 Conditional probability from joint probability table Actually Purchased Planned to purchase B (Yes)B’ (No)Total A (Yes) A’ (No) Total So, if we know B has occurred then we look at column B. The only way A could also have occurred is if we had the joint event A and B. Thus, P(A|B) =.2/.3 =.67 Similarily, if we know A has occurred then we look at the row A. The only way B could also have occurred is if we had the joint event A and B. P(B|A) =.2/.25 =.8

5 In the example on the last slide P(A) =.25, but P(A|B) =.67. Each is dealing with the probability of A. But, in this case having information about B gives a different view about A. When P(A|B) ≠ P(A) we say events A and B are dependent events. Similarly, when P(B|A) ≠ P(B) events A and B are dependent. In our example,.25 of the folks in general have what we called event A (planned to purchase). But, the conditional probability is indicating that if we know B occurred (a purchase was actually made) then the chance is even higher (in this case) that they planned to purchase. In this sense A and B are dependent. Independent Events Events A and B are said to be independent if P(A|B) = P(A) or P(B|A) = P(B).

6 Does a coin have a memory? In other words, does a coin remember how many times it has come up heads and will thus come up tails if it came up heads a lot lately? Say A is heads on the third flip, B is heads on the first two flips. Is heads on the third flip influenced by the first two heads. No, coins have no memory! Thus A and B are independent. (Note I am not concerned here about the probability of getting three heads!) Have you ever heard the saying, “Pink sky in the morning, sailors take warning, pink sky at night sailors delight.” I just heard about it recently. Apparently it is a rule of thumb about rain. Pink sky in the morning would serve as a warning for rain that day. If A is rain in the day and B is pink sky in the morning, then it seems that the P(A|B) ≠ P(A) and thus the probability of rain is influenced by morning sky color (color is really just an indicator of conditions).

7 Let’s think about one more example. If you watched a football team all year you could use the empirical approach to find the probability that it will throw a pass on a given play. Say P(pass)=0.4. This means the probability it will pass on a given play is 0.4. But, if there are 5 minutes left in the game and the team is down 14 points the team will want to pass more. SO, P(pass|down 14 with 5 minutes left) = 0.75, for example. This means the probability of a pass depends on the score and time remaining!

8 I have used some examples to give you a feel about when events are independent and when they are dependent. By simple equation manipulation we change the conditional probability definition to the rule called the multiplication law or rule for the intersection of events: P(A and B) = P(B)P(A ⃒ B) or P(A and B) = P(A)P(B ⃒ A). Now this rule simplifies if A and B are independent. The conditional probabilities revert to regular probabilities. We would then have P(A and B) = P(B)P(A) = P(A)P(B). Note the given part shows up in the other term.

9 Say, as a new example, we have A and B with P(A)=.5, P(B)=.6 and P(A and B) =.4 Then a. P(A ⃒ B) =.4/.6 =.667 b. P(B ⃒ A) =.4/.5 =.8 c. A and B are not independent because we do NOT have P(A ⃒ B) = P(A), or P(B ⃒ A) = P(B). Say, as another example, we have A and B with P(A)=.3 and P(B)=.4 and here we will say A and B are mutually exclusive. This means P(A and B) = 0 (in a Venn Diagram A and B have no overlap), then a. P(A ⃒ B) = 0/.4 = 0Here A and B are not independent.

10 Y Y1Y2Totals XX1P(X1 and Y1) P(X1 and Y2)P(X1) X2P(X2 and Y1) P(X2 and Y2) P(X2) TotalsP(Y1) P(Y2)1.00 Here I put the joint probability table again in general terms. Question X has mutually exclusive and collectively exhaustive events X1 and X2. For Y we have a similar set-up. Note here each has only two responses, but what we will see below would apply if there are more than 2 responses. Let’s review some of the probability rules we just went through and then we will add one more rule.

11 Inside the joint probability table we find joint probabilities (like P(X1 and Y1) and in the margins we find the marginal probabilities (like P(X1)). Marginal Probability Rule P(X1) = P(X1 and Y1) + P(X1 and Y2) General Addition Rule P(X1 or Y1) = P(X1) + P(Y1) – P(X1 and Y1) Conditional Probability P(X1|Y1) = P(X1 and Y1)/P(Y1) Multiplication Rule P(X1 and Y1) = P(X1|Y1)P(Y1)

12 The new part is to view the marginal probability rule as taking each part and use the multiplication rule. So, Marginal Probability Rule P(X1) = P(X1 and Y1) + P(X1 and Y2) =P(X1|Y1)P(Y1) + P(X1|Y2)P(Y2) Where Y1 and Y2 are mutually exclusive and collectively exhaustive.

13 example The joint probability table associated with the problem is BB’total A A’ total (Some off due to rounding) P(A|B) =.11/.33 =.33,P(A|B’) =.22/.67 =.33 P(A’|B) =.22/.33 =.67Since P(A) = P(A|B) =.33 events A and B are independent. To see if you have independent events you just compare the marginal (like P(A)) with the conditional (like P(A|B)). If equal, you have independent events.

14 Another Example The joint probability table associated with the example is BB’total A A’ total a. P(B’|A’) =.08/.26 =.31,b. P(B’|A) =.03/.74 =.04 c. P(B|A) =.71/.74 =.96.Since P(B) =.89 ≠ P(B|A) the events A and B are NOT independent. To see if you have independent events you just compare the marginal (like P(B)) with the conditional (like P(B|A)). If equal, you have independent events.