Chapter 3. Conditional Probability and Independence.

Slides:



Advertisements
Similar presentations
1 Probability Theory Dr. Deshi Ye
Advertisements

Probability Unit 3.
CONDITIONAL PROBABILITY. Conditional Probability Knowledge that one event has occurred changes the likelihood that another event will occur. Denoted:
Chapter 4 Probability: Probabilities of Compound Events
Probability Simple Events
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.
COUNTING AND PROBABILITY
© 2011 Pearson Education, Inc
Probability & Counting Rules Chapter 4 Created by Laura Ralston Revised by Brent Griffin.
Discrete Mathematics. When we toss two coins, the number of heads that turns up can be 0, 1, or 2. What is the chance you will get 1?
Chapter 4 Probability.
1 Introduction to Stochastic Models GSLM Outline  course outline course outline  Chapter 1 of the textbook.
Section 16.1: Basic Principles of Probability
1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.
Business and Economics 7th Edition
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 4-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Chap 4-1 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 4 Probability.
PROBABILITY (6MTCOAE205) Chapter 2 Probability.
INTRODUCTORY MATHEMATICAL ANALYSIS For Business, Economics, and the Life and Social Sciences  2007 Pearson Education Asia Chapter 8 Introduction to Probability.
Chapter 2. Axioms of Probability
Copyright © 2015, 2011, 2008 Pearson Education, Inc. Chapter 7, Unit A, Slide 1 Probability: Living With The Odds 7.
Conditional Probability. Conditional Probability of an Event Illustrating Example (1): Consider the experiment of guessing the answer to a multiple choice.
Counting Principles (Permutations and Combinations )
1 9/8/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
C4, L1, S1 Probabilities and Proportions. C4, L1, S2 I am offered two lotto cards: –Card 1: has numbers –Card 2: has numbers Which card should I take.
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.
1 Introduction to Discrete Probability Rosen, Section 6.1 Based on slides by Aaron Bloomfield and …
X of Z: MAJOR LEAGUE BASEBALL ATTENDANCE Rather than solving for z score first, we may be given a percentage, then we find the z score, then we find the.
2 Probability. A. A basketball player shoots three free throws. What are the possible sequences of hits (H) and misses (M)? H H H - HHH M … M M - HHM.
Review Chapter Chapter 1 Combinatorial Analysis Basic principle of counting Permutation Combination 2.
OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE Yrd. Doç. Dr. Didem Kivanc Tureli 14/10/2011Lecture 3.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Business Statistics: A First Course 5 th Edition.
 Basic Concepts in Probability  Basic Probability Rules  Connecting Probability to Sampling.
Seminar 7 MM150 Bashkim Zendeli. Chapter 7 PROBABILITY.
Chap 4-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 4 Using Probability and Probability.
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.
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
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.
1 Chapter 4 – Probability An Introduction. 2 Chapter Outline – Part 1  Experiments, Counting Rules, and Assigning Probabilities  Events and Their Probability.
P(A). Ex 1 11 cards containing the letters of the word PROBABILITY is put in a box. A card is taken out at random. Find the probability that the card.
1 CHAPTER 7 PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
Rules of Probability. Recall: Axioms of Probability 1. P[E] ≥ P[S] = 1 3. Property 3 is called the additive rule for probability if E i ∩ E j =
Natural Language Processing Giuseppe Attardi Introduction to Probability IP notice: some slides from: Dan Jurafsky, Jim Martin, Sandiway Fong, Dan Klein.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Basic Business Statistics 11 th Edition.
Introduction Lecture 25 Section 6.1 Wed, Mar 22, 2006.
Independence and Dependence 1 Krishna.V.Palem Kenneth and Audrey Kennedy Professor of Computing Department of Computer Science, Rice University.
Warm - up Lunch Choices Power point Probably Probability Guided Practice Chance and Probability Independent Practice Activity: Is This Fair? Probability.
Introduction Remember that probability is a number from 0 to 1 inclusive or a percent from 0% to 100% inclusive that indicates how likely an event is to.
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 ?
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Business Statistics: A First Course 5 th Edition.
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.
Probability. Definitions Probability: The chance of an event occurring. Probability Experiments: A process that leads to well- defined results called.
Conditional Probability and Independence Lecture Lecturer : FATEN AL-HUSSAIN.
Ch 11.7 Probability. Definitions Experiment – any happening for which the result is uncertain Experiment – any happening for which the result is uncertain.
Chapter5 Statistical and probabilistic concepts, Implementation to Insurance Subjects of the Unit 1.Counting 2.Probability concepts 3.Random Variables.
Yandell – Econ 216 Chap 4-1 Chapter 4 Basic Probability.
1 COMP2121 Discrete Mathematics Principle of Inclusion and Exclusion Probability Hubert Chan (Chapters 7.4, 7.5, 6) [O1 Abstract Concepts] [O3 Basic Analysis.
Introduction to Discrete Probability
You Bet Your Life - So to Speak
Natural Language Processing
Natural Language Processing
Discrete Probability Chapter 7 With Question/Answer Animations
Introduction to Probability
Basic Concepts An experiment is the process by which an observation (or measurement) is obtained. An event is an outcome of an experiment,
Great Theoretical Ideas In Computer Science
Probabilities and Proportions
Lecture 2: Probability.
Chapter 2.3 Counting Sample Points Combination In many problems we are interested in the number of ways of selecting r objects from n without regard to.
Probability Rules.
Presentation transcript:

Chapter 3. Conditional Probability and Independence

Introduction Statistics deals with uncertainty –Weather forecast –Stock prices –Hurricane prediction Availability of information reduces uncertainty –Weather forecast with more information 2

Toss two dice, suppose each of the possible 36 outcomes are equally likely. If we observed that the first die is a 3, what is the probability that the sum of the two dice equals to 8? Given the first die is 3, the sample space can be reduced to {(3,1), (3,2), (3,3), (3,4), (3,5), (3,6)} and the outcomes still equally likely. So the desired probability is 1/6. 3

S E: The sum of the two dice is 8 F: The first die is 3 P(E|F) = # outcomes in EF / # outcomes in F = (# outcomes in EF / # outcomes in S) / (# outcomes in F / # outcomes in S) = P(EF)/P(F) F E 4 (2,6) (4,4) (5,3) (6,2) (3,5) (3,1) (3,2) (3,3) (3,4) (3,6) (1,1) (1,2) (1,3) (1,4) (1,5) (1,6) (2,1) (2,2) (2,3) (2,4) (2,5) (4,1) (4,2) (4,3) (4,5) (4,6) (5,1) (5,2) (5,4) (5,5) (5,6) (6,1) (6,3) (6,4) (6,5) (6,6)

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 flip lands on heads? Let B = {(h,h)} be the event that both flips land on heads; let F = {(h,h),(h,t)} be the event that the first flip land on heads; and let A = {(h,h),(h,t),(t,h)} be the event that at least one flip lands on heads. 5

Toss two dice, suppose each of the possible 36 outcomes are equally likely. If you observed that the first die is a 3, and you bet on one of the following numbers: 4, 5, 6, 7, 8, 9, which all have the same probability of 1/6. Do you gain any advantage compared to not seeing the first die? If you had not seen the first die, there are 11 possible outcomes: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, which have probabilities, 1/36, 2/36, 3/36, 4/36, 5/36, 6/36, 5/36, 4/36, 3/36, 2/36, 1/36. The best bet is 7, which has the same probability of 1/6. 6

Digitalis therapy Digitalis therapy is often beneficial to patient who have suffered congestive heart failure, but there is the risk of digitalis intoxication, a serious side effect that is, moreover, difficult to diagnose. To improve the chances of a correct diagnosis, the concentration of digitalis in the blood can be measured. Bellar (1971) conducted a study of the relation of the concentration of digitalis in the blood to digitalis intoxication in 135 patients. Their results are simplified slightly in the following table. 7

T+ = high blood concentration (positive test) T- = low blood concentration (negative test) D+ = toxicity (disease present) D- = no toxicity (disease absent) D+D-Total T T Total of the 135 patients had a high blood concentration of digitalis and suffered toxicity. 8

P(T+) =.289, P(D+) =.318 If the patient has high blood concentration (T+), what is the probability of disease (D+)? P(D+|T+) = 25/39 =.64 P(D+|T+) = P(D+T+)/P(T+) =.185/.289 =.64 P(D+|T-) = P(D+T-)/P(T-) =.133/.711 =.187 D+D-Total T T Total

A student is taking a one-hour-time-limit makeup examination. Suppose the probability that the student will finish the exam in less than x hours is x/2, for all 0 < x < 1. Given that the student is still working after 0.75 hours, what is the conditional probability that the full hour is used? F: the full hour is used L k : exam finished in k hours 10

Ex 2e. Celine is undecided as to whether to take a French course or a chemistry course. She estimated that her probability of receiving an A grade would be ½ in a French course and 2/3 in a chemistry course. If she decides to base her decision on the flip of a fair coin, what is the probability that she gets an A in chemistry? What are the events? –A: receiving an A grade; C: taking chemistry; F: taking French. –P(A|F) = 1/2, P(A|C) = 2/3, P(C) = P(F) = 1/2. P(CA)? P(A|C) = P(AC)/P(C)  P(AC) = P(A|C)P(C) = (2/3)(1/2) = 1/3 11

Multiplication rule 12

What is the probability that Celine get an A from either French or chemistry? P(A) = P(AC) + P(AF) = P(C)P(A|C) + P(F)P(A|F) = (1/2)(2/3) + (1/2)(1/2) = 7/12 13

A useful formula for calculating probabilities 14

Ex 3a part 1 An insurance company believes that people can be divided into two classes: those who are accident prone and those who are not. Their statistics show that an accident-prone person will have an accident at some time within a fixed 1-year period with probability.4, whereas this probability decrease to.2 for a non-accident-prone person. If we assume that 30 percent of the population is accident prone, what is the probability that a new policyholder will have an accident within a year of purchasing a policy? The policyholder is either accident prone or not. A 1 : the policyholder will have an accident within a year of purchase. A: the policyholder is accident prone. P(A 1 |A) =.4; P(A 1 |A c ) =.2; P(A) =.3; P(A c ) =.7; P(A 1 ) = ? P(A 1 ) = P(A 1 |A)P(A) + P(A 1 |A c )P(A c ) = (.4)(.3) + (.2)(.7) =.26 15

Ex 3a part 2 Suppose that a new policyholder has an accident within a year of purchasing a policy. What is the probability that he or she is accident prone? P(A 1 |A) =.4; P(A 1 |A c ) =.2; P(A) =.3; P(A c )=.7 P(A|A 1 )? P(A|A 1 ) = P(AA 1 )/P(A 1 ) = P(A 1 |A)P(A)/P(A 1 ) = (.3)(.4)/.26 = 6/13 16

3d. A laboratory blood test is 99 percent effective in detecting a certain disease when it is, in fact, present. However, the test also yields a “false positive” result for 1 percent of the healthy persons tested. (That is, if a healthy person is tested, with probability 0.01, the test result will imply he or she has the disease.) If.2 percent of the population actually has the disease, what is the probability a person has the disease given that the test result is positive? D: Event that the tested person has the disease. E: Event that the test result is positive. 17

Ex 3f. At a certain stage of a criminal investigation the inspector in charge is 60 percent convinced of the guilty of a certain suspect. Suppose now that a new piece of evidence that shows the criminal has a certain characteristic (such as left- handedness, baldness, or brown hair) is uncovered. If 15 percent of the population possesses this characteristic, how certain of the guilty of the suspect should the inspector now be if it turns out that the suspect has this characteristic? G: event that the suspect is guilty C: event that he possesses the characteristic of the criminal P(G|C)? P(G|C) = P(GC)/P(C) = P(C|G)P(G) / [P(C|G)P(G) + P(C|G c )P(G c )] = 1(.6)/[1(.6) + (.15)(.4)] ≈.91 18

Monty Hall problem Suppose you're on a game show, and you're given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows what's behind the doors, opens another door, say No. 3, which has a goat. He then says to you, "Do you want to pick door No. 2?" Is it to your advantage to switch your choice? 19

Monty Hall problem C switch : get a car by switching C stay : get a car by staying E car : originally picked the car E goat : originally picked the goat P(C switch ) = P(C switch | E car )P(E car ) + P(C switch | E goat )P(E goat ) = 2/3 20

We can express the change in the probability of a hypothesis when new evidence is introduced in a compact form using change in the odds of the hypothesis. The odds of an event A is defined by P(A)/P(A c ) = P(A)/[1-P(A)] The odds of an event A tells how much more likely it is that the event A occurs than it is that it does not occur. 21

Change of probability with new evidence Hypothesis H with probability P(H). P(H|E) = P(E|H)P(H)/P(E) P(H c |E) = P(E|H c )P(H c )/P(E) 22

3g. In the world bridge championships held in Buenos Aires in May 1965 the famous British bridge partnership of Terrence Reese and Boris Schapiro was accused of cheating by using a system of finger signals that could indicate the number of hearts held by the players. Reese and Schapiro denied the accusation, and eventually a hearing was held by the British bridge league. The hearing was in the form of a legal proceeding with a prosecuting and defense team, both having the power to call and cross-examine witnesses. During the course of these proceedings the prosecutor examined specific hands played by Reese and Schapiro and claimed that their playing in these hands was consistent with the hypothesis that they were guilty of having illicit knowledge of the heart suit. At this point, the defense attorney pointed out that their play of these hands was also perfectly consistent with their standard line of play. However, the prosecution then argued that as long as their play was consistent with the hypothesis of guilt, then it must be counted as evidence toward this hypothesis. What do you think of the reasoning of the prosecution? 23

Bayes’ Formula 24

Occupational Mobility Suppose that occupations are grouped into upper (U), middle (M), and lower (L) levels. U 1 will denote the event that a father’s occupation is upper-level; U 2 will denote the event that a child’s occupation is upper-level, etc. (the subscripts index generations). Glass and Hall (1954) compiled the following statistics on occupation mobility in England and Wales: 25

This table is called transition probability matrix. If a father is in U, the probability that his son is in U is.45, the probability that his son is in M is.48, etc. Conditional probabilities such as P(U 2 |U 1 )=.45 U2U2 M2M2 L2L2 U1U M1M L1L

Suppose that of the father’s generation, 10% are in U, 40% in M, and 50% in L. What is the probability that a child in the next generation is in U? P(U 2 ) = P(U 2 |U 1 )P(U 1 ) + P(U 2 |M 1 )P(M 1 ) + P(U 2 |L 1 )P(L 1 ) =.45× × ×.50 =.07 U2U2 M2M2 L2L2 U1U M1M L1L

Suppose we ask: if a child has occupation status U 2, what is the probability that his father had occupational status U 1 ? P(U 1 |U 2 )? P(U 1 |U 2 ) = P(U 1 U 2 )/P(U 2 ) = P(U 2 |U 1 )P(U 1 ) / [P(U 2 |U 1 )P(U 1 ) + P(U 2 |M 1 )P(M 1 ) + P(U 2 |L 1 )P(L 1 ) ] =.45×.10 /.07 =.64 U2U2 M2M2 L2L2 U1U M1M L1L

Suppose that we have 3 cards identical in form except that both sides of the first card are colored red, both sides of the second card are colored black, and one side of the third card is colored red and the other side black. The 3 cards are mixed up in a hat, and 1 card is randomly selected and put down on the ground. If the upper side of the chosen card is colored red, what is the probability that the other side is colored black? 29

Let –RR: all red card –BB: all black card –RB: red-black card. –R: upturned side of the chosen card is red –P(RB|R)? 30