Chapter 3 Conditional Probability and Independence. Wen-Guey Tzeng Computer Science Department National Chiao Tung University

Size: px
Start display at page:

Download "Chapter 3 Conditional Probability and Independence. Wen-Guey Tzeng Computer Science Department National Chiao Tung University"

Transcription

1 Chapter 3 Conditional Probability and Independence Wen-Guey Tzeng Computer Science Department National Chiao Tung University

2 Conditional probability P(A B) = the probability of event A given the occurrence of event B Knowing that B has occurred changes the probability of A s occurrence A S Definition. If P(B)>0, the conditional probability of A given B, P( AB) P( A B) P( B) 2014 Fall 2

3 A class of 80 students. 50 of them take Linear Algebra, 60 of them take Probability, and 30 of them take both. Randomly choose a student and find that the student takes Probability What is the probability that the student takes Linear Algebra also? Sol: Let B be event that a selected student takes Probability. Let A be the event that a selected student takes Linear Algebra. P(A B )= P(AB)/P(B) = (30/80) / (60/80) 2014 Fall 3

4 Draw 8 cards from a deck of 52 cards. Given 3 of them are spades, what is P(the remaining 5 are also spades 3 are spades)=? Sol: B: the event that at least 3 of them are spades A: the event that the remaining 5 are spades P(A B) = P(AB)/P(B) = 5.44 x 10-6 P(AB)=C(13,8)/C(52,8) P(B)=[C(13,3)C(39,5)+C(13,4)C(39,4)+ +C(13,8)] / C(52,8) 2014 Fall 4

5 Box 1: 2 red balls and 3 green balls Box 2: 4 red balls and 1 green balls Choose a box with P(Box 1)=0.6, P(Box 2)=0.4, and then randomly choose two balls from the box. What is the sample space? What is the probability of the event that Box 1 is chosen and two balls are both red? the event that two red balls are chosen under the condition that Box 2 is chosen? the event that one red and one green are chosen? the event that Box 1 is chosen under the condition that two balls are red and green? 2014 Fall 5

6 P(BiDj) D1: balls are GG D2: balls are RG D3: balls are GG B1: Box 1 is chosen B2: Box 2 is chosen 2014 Fall 6

7 From the set of all families with 2 children, a family is selected at random and is found to have a girl. Assume that in a 2-child family all sex distributions are equally probable. What is the probability that the other child of the family is a girl? Sol: All possible outcomes (equally likely): bb, bg, gb, gg Let B be the event that the family has a girl. Let A be the event that the other child of the family is a girl. P(A B)=P(AB)/P(B)=P({gg} / P({bg,gb,gg})=(1/4)/(3/4)=1/ Fall 7

8 From the set of all families with 2 children, a child is randomly selected and found to be a girl. Assume that in a 2-child family all sex distributions are equally probable. What is the probability that the other child of the family is a girl? Sol: Let B be the event that a randomly selected child is a girl. Let A be the event that the second child of the family is a girl. P(A B)= P(AB)/P(B) = (1/4)/(2/4)=1/2. How do you define a sample space for this problem? 2014 Fall 8

9 Conditional probability = reduction of sample space A S C S = B 2014 Fall 9

10 All probability theorems hold under conditional probability, for P(B) 0, P(A c B) = 1-P(A B) P(E F B) = P(E B)+P(F B)-P(EF B) IF C A, P(C B) P(A B) Inclusion-exclusion principle 2014 Fall 10

11 A child mixes 10 good and 3 dead batteries. To find the dead battery, the father tests batteries one by one and without replacement. If the first 4 batteries are good, what is the probability that the fifth is dead? Sol: Old sample space S = {all sequences of 10 good and 3 dead batteries} New sample space S = {all sequences of 6 good and 3 dead batteries} P(the fifth is dead the first 4 are good} -- in the old sample space S = P(the first is dead) -- in the new sample space S = 3/ Fall 11

12 There are three boxes. One contains a 100-dollar bill and the other two are empty. You select one of them randomly. What is the probability that you win 100 dollars? I open an empty box that is not selected by you. Will you switch to the other un-opened box? Yes, always switch. Why? No, never switch. Why? Fall 12

13 Sol: Assume that the bill is in box 1. reduce the sample space Let outcome=(x, y, z) x: your first choice y: the opened box z: the final choice (switched to) Yes: always switch The reduced sample space S={ (1, 2, 3), (1, 3, 2), (3, 2, 1), (2, 3, 1)} P({3,2,1}) = P({2,3,1}) = P({1,2,3), (1,3,2)}) = 1/3 P(you win)=p({(3,2,1), (2,3,1)})=2/3 No: never switch The reduced sample space S={(1,2,1), (1,3,1), (2,3,2), (3,2,3)} P(you win) = P({(1,2,1), (1,3,1)} = 1/ Fall 13

14 Law of multiplication P( A B) P( AB) P( B) P( AB) P( B) P( A B) P(AB) P(BA) P(B)P(A B) P(A)P(B A) Extension P(A 1 A2 A3 ) P(A 1 )P(A 2 A1 )P( A3 A1 A2) 2014 Fall 14

15 Suppose 5 good fuses and 2 defective ones have been mixed up. To find the defective fuses, we test them 1-by-1, at random and without replacement. What is the probability that we are lucky and find both of the defective fuses in the first two tests? Sol: Let D 1 and D 2 be the events of finding a defective fuse in the 1 st and 2 nd tests, respectively. P(D 1 D 2 ) = P(D 1 )P(D 2 D 1 ) = 2/7x1/6 = 1/21 P(find both defective fuses in exactly 3 tests) =? 2014 Fall 15

16 Law of total probability Theorem (Law of total probability) Let P(B)>0, and P(B c )>0, then P(A) = P(A B)P(B) + P(A B c )P(B c ) Proof: P(A) = P(AB) + P(AB c ) and use the law of multiplication Fall 16

17 An insurance company rents 35% of the cars for its customers from agency I and 65% from agency II. If 8% of the cars of agency I and 5% of the cars of agency II break down during the rental periods, what is the probability that a car rented by this insurance company breaks down? Sol: P(A) = P(A I)P(I)+ P(A II)P(II) = (0.08)(0.35)+(0.05)(0.65) = Table method? Tree diagram method? 2014 Fall 17

18 Gambler s ruin problem 2 gamblers play the game of heads or tails, in which each time a fair coin lands heads up, player A wins $1 from B, and each time it lands tails up, player B wins $1 from A. Suppose that the player A initially has a dollars and player B has b dollars. If they continue to play this game successively, what is the probability that A will be ruined? the game goes forever with nobody winning? 2014 Fall 18

19 Sol: Sample space? Let E be the event that A will be ruined if he starts with i dollars, and let p i =P(E). Our aim is to calculate p a. To do so we define F to be the event that A wins the 1 st game. Then P(E) = P(E F)P(F) + P(E F c )P(F c ) => p i = p i+1 (1/2)+p i-1 (1/2) => p i+1 p i = p i p i Fall 19

20 p 0 =1, p a+b =0, and let p 1 - p 0 = x p i+1 p i = p i p i-1 = = p 2 - p 1 = p 1 - p 0 = x Thus p 1 = p 0 + x p 2 = p 0 + 2x p i = p 0 + ix and p a+b = p 0 + (a+b)x => x = -1/(a+b) So p i = 1 i/(a+b). In particular p a = b/(a+b) 2014 Fall 20

21 The same method can be used with obvious modifications to calculate q i, the probability that B is ruined if he starts with i dollars. q i = 1 i/(a+b) Since B starts with b dollars, he will be ruined with probability q b = a/(a+b). Thus the probability that the game goes on forever with nobody winning is 1-(q b +p a )= Fall 21

22 Extension If {B 1, B 2,, B n } is a partition of the sample space S of an experiment and P(B i )>0 for all i. Then, for any event A of S, P(A) = P(A B 1 )P(B 1 ) + P(A B 2 )P(B 2 ) + + P(A B n )P(B n ) 2014 Fall 22

23 Suppose that 80% of the seniors, 70% of the juniors, 50% of the sophomores, and 30% of the freshmen of a college use the library of their campus frequently. If 30% of all students are freshmen, 25% are sophomores, 25% are juniors, and 20% are seniors, what percent of all students use the library frequently? Sol: P(A)= P(A F)P(F) + P(A O)P(O) + P(A J)P(J) + P(A E)P(E) = (0.30)(0.30) + (0.50)(0.25) + (0.70)(0.25) + (0.80)(0.20) = Fall 23

24 Bayes formula P B A = P(A B)P B P(A) = P(A B)P B P(A B)P B +P(A B c )P(B c ) A conditional probability formula with very important applications on Statistics. Prior probability: P(B), P(B c ) the probability of event (hypothesis) B is believed originally Likelihoods (observation probability) : P(A B), P(A B c ) Posterior probability: P(B A) the probability of B under that A is observed 2014 Fall 24

25 In a bolt factory, 30% and 70% of production is manufactured by machines I and II, respectively. 4% and 6% of the output of machines I and II are defective. What is the probability that a randomly selected bolt that is found to be defective is manufactured by machine I? probability A: defective A c : non-defective B: manufactured by I B c : manufactured by II We want to compute P(B A)? Prior probability P(B)=0.3 Likelihoods: P(A B)=0.04, P(A B c )=0.06 Post probability: P(B A)=0.04*0.3/(0.04* *0.7)= Fall 25

26 Tree diagram method? 2014 Fall 26

27 In a double homicide, a suspect, John, is caught. The jury believes that John is guilty with 15% Later, a DNA sample is found and match John s DNA By forensic estimation, the probability that the DNA does not come from John is How certain should the jury be about that John is guilty? Sol: G: the event that John is guilty, P(G) = 0.15 I: the event that John is innocent, P(I)=0.85 D: the event that the DNA matches John s DNA P(D G)=1, P(D I)=10-9 Compute P(G D)= 2014 Fall 27

28 A car insurance company needs to decide whether to accept a car insurance from a driver. By estimation, the percentage of good drivers is 80% The probability that a good driver has a car accident within a year is 10%, and the probability that a bad driver has a car accident within a year is 40% 2014 Fall 28

29 What is the probability that a driver who has a car accident in the first year is a good driver? 2014 Fall 29

30 What is the probability that a driver who has a car accident in the first year and no car accident in the second year is a good driver? 2014 Fall 30

31 What is the probability that a driver who has no car accidents in two consecutive years is a bad driver? 2014 Fall 31

32 Extension: B 1, B 2,, B n partition S. P(B k A) = P A B k P B k P A B 1 P B P A B n P(B n ) Prior probability: P(B k ), 1 k n Likelihoods: P(A B i ), 1 i n Post probability: P(B k A ) 2014 Fall 32

33 A box contains 7 red and 13 blue balls. 2 balls are selected at random and are discarded without their colors being seen. A 3 rd ball is drawn randomly and observed to be red, What is the probability that both of the discarded balls were blue? Sol: B 1 : discarded balls are RR, P(B 1 ) = B 2 : discarded balls are RB, P(B 2 ) = B 3 : discarded balls are BB, P(B 3 ) = A: the third ball is R P(A B 1 )= P(A B 2 )= P(A B 3 )= Want to compute P(B 3 A) 2014 Fall 33

34 Independence Two events A and B are independent if P(AB)=P(A)P(B) A B A B A B 2014 Fall 34

35 Theorem:A and B are independent if either one of the following holds P(AB) = P(A)P(B) P(A B) = P(A) P(B A) = P(B) Theorem: If A and B are independent, so are A and B c A c and B A c and B c What is good for independence? easy to compute 2014 Fall 35

36 A card is drawn from a deck of 52 cards. A: the event that an ace is drawn. B: the event that a heart is drawn. Are A and B independent? P(A) = P(B)= P(AB) = 2014 Fall 36

37 An urn contains 5 red and 7 blue balls. Suppose that 2 balls are selected at random with/without replacement. Let A and B be the events that the first and the second ball are red, respectively. Are A and B independent? With replacement P(A) = P(B) = P(AB) = P(B A)P(A) = Independent? Without replacement P(B A) = P(B) = P(B A)P(A)+P(B A c )P(A c ) = Dependent? 2014 Fall 37

38 Jailer s paradox Three prisoners Alex, Bill, and Tim. One of them is condemned to death. The other two will be freed. The jailor and the judge know who is condemned to death. Alex has written a letter to his fiancée and wants to give it to either Bill or Tim, whoever goes free, to deliver. Alex asks the jailer to tell him which of the two will be freed. The jailer refuses to give that information to Alex, explaining that, if he does, the probability of Alex dying increases from 1/3 to 1/2. Really? 2014 Fall 38

39 Sol-1: Let A, B, and T be the events that Alex dies, Bill dies, and Tim dies. Let w 1 =(T, the jailer tells Alex that Bill goes free) w 2 =(B, the jailer tells Alex that Tim goes free) w 3 =(A, the jailer tells Alex that Bill goes free) w 4 =(A, the jailer tells Alex that Tim goes free) The sample space S = {w 1, w 2, w 3, w 4 }. P(w 1 )=P(w 2 )=1/3, P(w 3 )=P(w 4 )=1/6 Let J be the event that the jailer tells Alex that Tim goes free Then, P( A J ) P( AJ ) P( J ) 1 P( w4 ) 1 6 P( w2 ) P( w4 ) Fall

40 Sol-2: Zweifel, in June 1986 issue of Mathematics Magazine, page 156 He analyzes this paradox by using Bayes formula: ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( C P C J P B P B J P A P A J P A P A J P J A P 2014 Fall 40

41 Remark: If A and B are disjoint (mutually exclusive), then A and B are dependent. If A B, then A and B are dependent 2014 Fall 41

42 Extension Events A, B, and C are independent if the following all hold: P(AB) = P(A)P(B) P(AC) = P(A)P(C) P(BC) = P(B)P(C) P(ABC) = P(A)P(B)P(C) 2014 Fall 42

43 We draw cards, one at a time, at random and successively from an ordinary deck of 52 cards with replacement. What is the probability that an ace appears before a face card? Sol: Let E be the event of an ace appearing before a face card. Let A, F, and B be the events of ace, face card, and neither in the first experiment, respectively. Then P(E) = P(E A)P(A) + P(E F)P(F) + P(E B)P(B) = 1(4/52) + 0(12/52)+ P(E B)(36/52) P(E B) = P(E) P(E)=4/52+P(E)(36/52) So, P(E)=1/ Fall 43

Chapter 3 Conditional Probability and Independence. Wen-Guey Tzeng Computer Science Department National Chiao Tung University

Chapter 3 Conditional Probability and Independence. Wen-Guey Tzeng Computer Science Department National Chiao Tung University Chapter 3 Conditional Probability and Independence Wen-Guey Tzeng Computer Science Department National Chiao Tung University Conditional probability P(A B) = the probability of event A given the occurrence

More information

Chapter 2. Conditional Probability and Independence. 2.1 Conditional Probability

Chapter 2. Conditional Probability and Independence. 2.1 Conditional Probability Chapter 2 Conditional Probability and Independence 2.1 Conditional Probability Example: Two dice are tossed. What is the probability that the sum is 8? This is an easy exercise: we have a sample space

More information

Chapter 2. Conditional Probability and Independence. 2.1 Conditional Probability

Chapter 2. Conditional Probability and Independence. 2.1 Conditional Probability Chapter 2 Conditional Probability and Independence 2.1 Conditional Probability Probability assigns a likelihood to results of experiments that have not yet been conducted. Suppose that the experiment has

More information

Probabilistic models

Probabilistic models Probabilistic models Kolmogorov (Andrei Nikolaevich, 1903 1987) put forward an axiomatic system for probability theory. Foundations of the Calculus of Probabilities, published in 1933, immediately became

More information

Conditional probability

Conditional probability CHAPTER 4 Conditional probability 4.1. Introduction Suppose there are 200 men, of which 100 are smokers, and 100 women, of which 20 are smokers. What is the probability that a person chosen at random will

More information

Probability the chance that an uncertain event will occur (always between 0 and 1)

Probability the chance that an uncertain event will occur (always between 0 and 1) Quantitative Methods 2013 1 Probability as a Numerical Measure of the Likelihood of Occurrence Probability the chance that an uncertain event will occur (always between 0 and 1) Increasing Likelihood of

More information

Outline Conditional Probability The Law of Total Probability and Bayes Theorem Independent Events. Week 4 Classical Probability, Part II

Outline Conditional Probability The Law of Total Probability and Bayes Theorem Independent Events. Week 4 Classical Probability, Part II Week 4 Classical Probability, Part II Week 4 Objectives This week we continue covering topics from classical probability. The notion of conditional probability is presented first. Important results/tools

More information

Introduction and basic definitions

Introduction and basic definitions Chapter 1 Introduction and basic definitions 1.1 Sample space, events, elementary probability Exercise 1.1 Prove that P( ) = 0. Solution of Exercise 1.1 : Events S (where S is the sample space) and are

More information

Probabilistic models

Probabilistic models Kolmogorov (Andrei Nikolaevich, 1903 1987) put forward an axiomatic system for probability theory. Foundations of the Calculus of Probabilities, published in 1933, immediately became the definitive formulation

More information

P (A B) P ((B C) A) P (B A) = P (B A) + P (C A) P (A) = P (B A) + P (C A) = Q(A) + Q(B).

P (A B) P ((B C) A) P (B A) = P (B A) + P (C A) P (A) = P (B A) + P (C A) = Q(A) + Q(B). Lectures 7-8 jacques@ucsdedu 41 Conditional Probability Let (Ω, F, P ) be a probability space Suppose that we have prior information which leads us to conclude that an event A F occurs Based on this information,

More information

Introduction to Probability Theory

Introduction to Probability Theory Introduction to Probability Theory 1 1.1. Introduction Any realistic model of a real-world phenomenon must take into account the possibility of randomness. That is, more often than not, the quantities

More information

Lecture 2: Probability, conditional probability, and independence

Lecture 2: Probability, conditional probability, and independence Lecture 2: Probability, conditional probability, and independence Theorem 1.2.6. Let S = {s 1,s 2,...} and F be all subsets of S. Let p 1,p 2,... be nonnegative numbers that sum to 1. The following defines

More information

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1 Topic -2 Probability Larson & Farber, Elementary Statistics: Picturing the World, 3e 1 Probability Experiments Experiment : An experiment is an act that can be repeated under given condition. Rolling a

More information

LECTURE NOTES by DR. J.S.V.R. KRISHNA PRASAD

LECTURE NOTES by DR. J.S.V.R. KRISHNA PRASAD .0 Introduction: The theory of probability has its origin in the games of chance related to gambling such as tossing of a coin, throwing of a die, drawing cards from a pack of cards etc. Jerame Cardon,

More information

HW MATH425/525 Lecture Notes 1

HW MATH425/525 Lecture Notes 1 HW MATH425/525 Lecture Notes 1 Definition 4.1 If an experiment can be repeated under the same condition, its outcome cannot be predicted with certainty, and the collection of its every possible outcome

More information

Statistical Theory 1

Statistical Theory 1 Statistical Theory 1 Set Theory and Probability Paolo Bautista September 12, 2017 Set Theory We start by defining terms in Set Theory which will be used in the following sections. Definition 1 A set is

More information

The enumeration of all possible outcomes of an experiment is called the sample space, denoted S. E.g.: S={head, tail}

The enumeration of all possible outcomes of an experiment is called the sample space, denoted S. E.g.: S={head, tail} Random Experiment In random experiments, the result is unpredictable, unknown prior to its conduct, and can be one of several choices. Examples: The Experiment of tossing a coin (head, tail) The Experiment

More information

Math Exam 1 Review. NOTE: For reviews of the other sections on Exam 1, refer to the first page of WIR #1 and #2.

Math Exam 1 Review. NOTE: For reviews of the other sections on Exam 1, refer to the first page of WIR #1 and #2. Math 166 Fall 2008 c Heather Ramsey Page 1 Math 166 - Exam 1 Review NOTE: For reviews of the other sections on Exam 1, refer to the first page of WIR #1 and #2. Section 1.5 - Rules for Probability Elementary

More information

2011 Pearson Education, Inc

2011 Pearson Education, Inc Statistics for Business and Economics Chapter 3 Probability Contents 1. Events, Sample Spaces, and Probability 2. Unions and Intersections 3. Complementary Events 4. The Additive Rule and Mutually Exclusive

More information

Chapter. Probability

Chapter. Probability Chapter 3 Probability Section 3.1 Basic Concepts of Probability Section 3.1 Objectives Identify the sample space of a probability experiment Identify simple events Use the Fundamental Counting Principle

More information

What is Probability? Probability. Sample Spaces and Events. Simple Event

What is Probability? Probability. Sample Spaces and Events. Simple Event What is Probability? Probability Peter Lo Probability is the numerical measure of likelihood that the event will occur. Simple Event Joint Event Compound Event Lies between 0 & 1 Sum of events is 1 1.5

More information

Chapter 3 : Conditional Probability and Independence

Chapter 3 : Conditional Probability and Independence STAT/MATH 394 A - PROBABILITY I UW Autumn Quarter 2016 Néhémy Lim Chapter 3 : Conditional Probability and Independence 1 Conditional Probabilities How should we modify the probability of an event when

More information

Denker FALL Probability- Assignment 6

Denker FALL Probability- Assignment 6 Denker FALL 2010 418 Probability- Assignment 6 Due Date: Thursday, Oct. 7, 2010 Write the final answer to the problems on this assignment attach the worked out solutions! Problem 1: A box contains n +

More information

Mutually Exclusive Events

Mutually Exclusive Events 172 CHAPTER 3 PROBABILITY TOPICS c. QS, 7D, 6D, KS Mutually Exclusive Events A and B are mutually exclusive events if they cannot occur at the same time. This means that A and B do not share any outcomes

More information

Lecture 4 Bayes Theorem

Lecture 4 Bayes Theorem 1 / 24 Lecture 4 Bayes Theorem September 09, 2010 2 / 24 Lesson Plan 1. Bayes Theorem 2. Simpson s Paradox 3. More worked problems 3 / 24 Why Study Probability? A probability model describes the random

More information

TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM

TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM Topic Concepts Degree of Importance References NCERT Book Vol. II Probability (i) Conditional Probability *** Article 1.2 and 1.2.1 Solved Examples 1 to 6 Q. Nos

More information

Lecture 04: Conditional Probability. Lisa Yan July 2, 2018

Lecture 04: Conditional Probability. Lisa Yan July 2, 2018 Lecture 04: Conditional Probability Lisa Yan July 2, 2018 Announcements Problem Set #1 due on Friday Gradescope submission portal up Use Piazza No class or OH on Wednesday July 4 th 2 Summary from last

More information

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability Lecture Notes 1 Basic Probability Set Theory Elements of Probability Conditional probability Sequential Calculation of Probability Total Probability and Bayes Rule Independence Counting EE 178/278A: Basic

More information

UNIT 5 ~ Probability: What Are the Chances? 1

UNIT 5 ~ Probability: What Are the Chances? 1 UNIT 5 ~ Probability: What Are the Chances? 1 6.1: Simulation Simulation: The of chance behavior, based on a that accurately reflects the phenomenon under consideration. (ex 1) Suppose we are interested

More information

STAT:5100 (22S:193) Statistical Inference I

STAT:5100 (22S:193) Statistical Inference I STAT:5100 (22S:193) Statistical Inference I Week 3 Luke Tierney University of Iowa Fall 2015 Luke Tierney (U Iowa) STAT:5100 (22S:193) Statistical Inference I Fall 2015 1 Recap Matching problem Generalized

More information

Conditional Probability

Conditional Probability Test 1 Results You will get back your test 1 papers on Friday. There is a generous nonlinear curve of the scores: if x is your raw score, your grade out of 100 can be computed as 100x x x = 10 44 = 50

More information

MA-250 Probability and Statistics. Nazar Khan PUCIT Lecture 21

MA-250 Probability and Statistics. Nazar Khan PUCIT Lecture 21 MA-250 Probability and Statistics Nazar Khan PUCIT Lecture 21 CONDITIONAL PROBABILITY Motivation So far, we have studied the probability of events. P(Pakistan winning a match) What if we have some background

More information

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events LECTURE 1 1 Introduction The first part of our adventure is a highly selective review of probability theory, focusing especially on things that are most useful in statistics. 1.1 Sample spaces and events

More information

Compound Events. The event E = E c (the complement of E) is the event consisting of those outcomes which are not in E.

Compound Events. The event E = E c (the complement of E) is the event consisting of those outcomes which are not in E. Compound Events Because we are using the framework of set theory to analyze probability, we can use unions, intersections and complements to break complex events into compositions of events for which it

More information

BASICS OF PROBABILITY CHAPTER-1 CS6015-LINEAR ALGEBRA AND RANDOM PROCESSES

BASICS OF PROBABILITY CHAPTER-1 CS6015-LINEAR ALGEBRA AND RANDOM PROCESSES BASICS OF PROBABILITY CHAPTER-1 CS6015-LINEAR ALGEBRA AND RANDOM PROCESSES COMMON TERMS RELATED TO PROBABILITY Probability is the measure of the likelihood that an event will occur Probability values are

More information

CHAPTER 3 PROBABILITY TOPICS

CHAPTER 3 PROBABILITY TOPICS CHAPTER 3 PROBABILITY TOPICS 1. Terminology In this chapter, we are interested in the probability of a particular event occurring when we conduct an experiment. The sample space of an experiment is the

More information

4. Conditional Probability P( ) CSE 312 Autumn 2012 W.L. Ruzzo

4. Conditional Probability P( ) CSE 312 Autumn 2012 W.L. Ruzzo 4. Conditional Probability P( ) CSE 312 Autumn 2012 W.L. Ruzzo 1 conditional probability Conditional probability of E given F: probability that E occurs given that F has occurred. Conditioning on F S Written

More information

Chapter 2 Probability

Chapter 2 Probability Basic Axioms and properties Chapter 2 Probability 1. 0 Pr(A) 1 2. Pr(S) = 1 3. A B Pr(A) Pr(B) 4. Pr(φ ) = 0 5. If A and B are disjoint i.e. A B φ P( A B) = P(A) + P(B). 6. For any two events A and B,

More information

With Question/Answer Animations. Chapter 7

With Question/Answer Animations. Chapter 7 With Question/Answer Animations Chapter 7 Chapter Summary Introduction to Discrete Probability Probability Theory Bayes Theorem Section 7.1 Section Summary Finite Probability Probabilities of Complements

More information

Conditional Probability. CS231 Dianna Xu

Conditional Probability. CS231 Dianna Xu Conditional Probability CS231 Dianna Xu 1 Boy or Girl? A couple has two children, one of them is a girl. What is the probability that the other one is also a girl? Assuming 50/50 chances of conceiving

More information

(a) Fill in the missing probabilities in the table. (b) Calculate P(F G). (c) Calculate P(E c ). (d) Is this a uniform sample space?

(a) Fill in the missing probabilities in the table. (b) Calculate P(F G). (c) Calculate P(E c ). (d) Is this a uniform sample space? Math 166 Exam 1 Review Sections L.1-L.2, 1.1-1.7 Note: This review is more heavily weighted on the new material this week: Sections 1.5-1.7. For more practice problems on previous material, take a look

More information

Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch

Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch Monty Hall Puzzle Example: You are asked to select one of the three doors to open. There is a large prize behind one of the doors and if you select that door, you win the prize. After you select a door,

More information

1 INFO 2950, 2 4 Feb 10

1 INFO 2950, 2 4 Feb 10 First a few paragraphs of review from previous lectures: A finite probability space is a set S and a function p : S [0, 1] such that p(s) > 0 ( s S) and s S p(s) 1. We refer to S as the sample space, subsets

More information

MA : Introductory Probability

MA : Introductory Probability MA 320-001: Introductory Probability David Murrugarra Department of Mathematics, University of Kentucky http://www.math.uky.edu/~dmu228/ma320/ Spring 2017 David Murrugarra (University of Kentucky) MA 320:

More information

Probability and Statistics Notes

Probability and Statistics Notes Probability and Statistics Notes Chapter One Jesse Crawford Department of Mathematics Tarleton State University (Tarleton State University) Chapter One Notes 1 / 71 Outline 1 A Sketch of Probability and

More information

CS626 Data Analysis and Simulation

CS626 Data Analysis and Simulation CS626 Data Analysis and Simulation Instructor: Peter Kemper R 104A, phone 221-3462, email:kemper@cs.wm.edu Today: Probability Primer Quick Reference: Sheldon Ross: Introduction to Probability Models 9th

More information

Dept. of Linguistics, Indiana University Fall 2015

Dept. of Linguistics, Indiana University Fall 2015 L645 Dept. of Linguistics, Indiana University Fall 2015 1 / 34 To start out the course, we need to know something about statistics and This is only an introduction; for a fuller understanding, you would

More information

More on conditioning and Mr. Bayes

More on conditioning and Mr. Bayes More on conditioning and Mr. Bayes Saad Mneimneh 1 Multiplication rule for conditioning We can generalize the formula P(A,B) P(A B)P(B) to more than two events. For instance, P(A,B,C) P(A)P(B A)P(C A,B).

More information

Problem # Number of points 1 /20 2 /20 3 /20 4 /20 5 /20 6 /20 7 /20 8 /20 Total /150

Problem # Number of points 1 /20 2 /20 3 /20 4 /20 5 /20 6 /20 7 /20 8 /20 Total /150 Name Student ID # Instructor: SOLUTION Sergey Kirshner STAT 516 Fall 09 Practice Midterm #1 January 31, 2010 You are not allowed to use books or notes. Non-programmable non-graphic calculators are permitted.

More information

PLEASE MARK YOUR ANSWERS WITH AN X, not a circle! 1. (a) (b) (c) (d) (e) 2. (a) (b) (c) (d) (e) (a) (b) (c) (d) (e) 4. (a) (b) (c) (d) (e)...

PLEASE MARK YOUR ANSWERS WITH AN X, not a circle! 1. (a) (b) (c) (d) (e) 2. (a) (b) (c) (d) (e) (a) (b) (c) (d) (e) 4. (a) (b) (c) (d) (e)... Math 020, Exam II October, 206 The Honor Code is in effect for this examination. All work is to be your own. You may use a calculator. The exam lasts for hour 5 minutes. Be sure that your name is on every

More information

Lectures Conditional Probability and Independence

Lectures Conditional Probability and Independence Lectures 5 11 Conditional Probability and Independence Purpose: Calculate probabilities under restrictions, conditions or partial information on the random experiment. Break down complex probabilistic

More information

PROBABILITY.

PROBABILITY. PROBABILITY PROBABILITY(Basic Terminology) Random Experiment: If in each trial of an experiment conducted under identical conditions, the outcome is not unique, but may be any one of the possible outcomes,

More information

STAT509: Probability

STAT509: Probability University of South Carolina August 20, 2014 The Engineering Method and Statistical Thinking The general steps of engineering method are: 1. Develop a clear and concise description of the problem. 2. Identify

More information

CMPSCI 240: Reasoning about Uncertainty

CMPSCI 240: Reasoning about Uncertainty CMPSCI 240: Reasoning about Uncertainty Lecture 4: Sequential experiments Andrew McGregor University of Massachusetts Last Compiled: February 2, 2017 Outline 1 Recap 2 Sequential Experiments 3 Total Probability

More information

2. Conditional Probability

2. Conditional Probability ENGG 2430 / ESTR 2004: Probability and Statistics Spring 2019 2. Conditional Probability Andrej Bogdanov Coins game Toss 3 coins. You win if at least two come out heads. S = { HHH, HHT, HTH, HTT, THH,

More information

Random processes. Lecture 17: Probability, Part 1. Probability. Law of large numbers

Random processes. Lecture 17: Probability, Part 1. Probability. Law of large numbers Random processes Lecture 17: Probability, Part 1 Statistics 10 Colin Rundel March 26, 2012 A random process is a situation in which we know what outcomes could happen, but we don t know which particular

More information

STAT 516: Basic Probability and its Applications

STAT 516: Basic Probability and its Applications Lecture 3: Conditional Probability and Independence Prof. Michael September 29, 2015 Motivating Example Experiment ξ consists of rolling a fair die twice; A = { the first roll is 6 } amd B = { the sum

More information

Axiomatic Foundations of Probability. Definition: Probability Function

Axiomatic Foundations of Probability. Definition: Probability Function Chapter 1 sections We will SKIP a number of sections Set theory SKIP Real number uncountability Definition of probability Finite sample spaces Counting methods Combinatorial methods SKIP tennis tournament

More information

Name: Exam 2 Solutions. March 13, 2017

Name: Exam 2 Solutions. March 13, 2017 Department of Mathematics University of Notre Dame Math 00 Finite Math Spring 07 Name: Instructors: Conant/Galvin Exam Solutions March, 07 This exam is in two parts on pages and contains problems worth

More information

Announcements. Topics: To Do:

Announcements. Topics: To Do: Announcements Topics: In the Probability and Statistics module: - Sections 1 + 2: Introduction to Stochastic Models - Section 3: Basics of Probability Theory - Section 4: Conditional Probability; Law of

More information

Lecture 4. Selected material from: Ch. 6 Probability

Lecture 4. Selected material from: Ch. 6 Probability Lecture 4 Selected material from: Ch. 6 Probability Example: Music preferences F M Suppose you want to know what types of CD s males and females are more likely to buy. The CD s are classified as Classical,

More information

What is the probability of getting a heads when flipping a coin

What is the probability of getting a heads when flipping a coin Chapter 2 Probability Probability theory is a branch of mathematics dealing with chance phenomena. The origins of the subject date back to the Italian mathematician Cardano about 1550, and French mathematicians

More information

Lecture Lecture 5

Lecture Lecture 5 Lecture 4 --- Lecture 5 A. Basic Concepts (4.1-4.2) 1. Experiment: A process of observing a phenomenon that has variation in its outcome. Examples: (E1). Rolling a die, (E2). Drawing a card form a shuffled

More information

Stat 225 Week 2, 8/27/12-8/31/12, Notes: Independence and Bayes Rule

Stat 225 Week 2, 8/27/12-8/31/12, Notes: Independence and Bayes Rule Stat 225 Week 2, 8/27/12-8/31/12, Notes: Independence and Bayes Rule The Fall 2012 Stat 225 T.A.s September 7, 2012 1 Monday, 8/27/12, Notes on Independence In general, a conditional probability will change

More information

(6, 1), (5, 2), (4, 3), (3, 4), (2, 5), (1, 6)

(6, 1), (5, 2), (4, 3), (3, 4), (2, 5), (1, 6) Section 7.3: Compound Events Because we are using the framework of set theory to analyze probability, we can use unions, intersections and complements to break complex events into compositions of events

More information

Introduction to Probability

Introduction to Probability Introduction to Probability Content Experiments, Counting Rules, and Assigning Probabilities Events and Their Probability Some Basic Relationships of Probability Conditional Probability Bayes Theorem 2

More information

CSC Discrete Math I, Spring Discrete Probability

CSC Discrete Math I, Spring Discrete Probability CSC 125 - Discrete Math I, Spring 2017 Discrete Probability Probability of an Event Pierre-Simon Laplace s classical theory of probability: Definition of terms: An experiment is a procedure that yields

More information

Origins of Probability Theory

Origins of Probability Theory 1 16.584: INTRODUCTION Theory and Tools of Probability required to analyze and design systems subject to uncertain outcomes/unpredictability/randomness. Such systems more generally referred to as Experiments.

More information

Consider an experiment that may have different outcomes. We are interested to know what is the probability of a particular set of outcomes.

Consider an experiment that may have different outcomes. We are interested to know what is the probability of a particular set of outcomes. CMSC 310 Artificial Intelligence Probabilistic Reasoning and Bayesian Belief Networks Probabilities, Random Variables, Probability Distribution, Conditional Probability, Joint Distributions, Bayes Theorem

More information

Determining Probabilities. Product Rule for Ordered Pairs/k-Tuples:

Determining Probabilities. Product Rule for Ordered Pairs/k-Tuples: Determining Probabilities Product Rule for Ordered Pairs/k-Tuples: Determining Probabilities Product Rule for Ordered Pairs/k-Tuples: Proposition If the first element of object of an ordered pair can be

More information

the time it takes until a radioactive substance undergoes a decay

the time it takes until a radioactive substance undergoes a decay 1 Probabilities 1.1 Experiments with randomness Wewillusethetermexperimentinaverygeneralwaytorefertosomeprocess that produces a random outcome. Examples: (Ask class for some first) Here are some discrete

More information

Basic Concepts of Probability. Section 3.1 Basic Concepts of Probability. Probability Experiments. Chapter 3 Probability

Basic Concepts of Probability. Section 3.1 Basic Concepts of Probability. Probability Experiments. Chapter 3 Probability Chapter 3 Probability 3.1 Basic Concepts of Probability 3.2 Conditional Probability and the Multiplication Rule 3.3 The Addition Rule 3.4 Additional Topics in Probability and Counting Section 3.1 Basic

More information

Exam III Review Math-132 (Sections 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 8.1, 8.2, 8.3)

Exam III Review Math-132 (Sections 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 8.1, 8.2, 8.3) 1 Exam III Review Math-132 (Sections 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 8.1, 8.2, 8.3) On this exam, questions may come from any of the following topic areas: - Union and intersection of sets - Complement of

More information

Conditional Probability P( )

Conditional Probability P( ) Conditional Probability P( ) 1 conditional probability and the chain rule General defn: where P(F) > 0 Implies: P(EF) = P(E F) P(F) ( the chain rule ) General definition of Chain Rule: 2 Best of 3 tournament

More information

F71SM STATISTICAL METHODS

F71SM STATISTICAL METHODS F71SM STATISTICAL METHODS RJG SUMMARY NOTES 2 PROBABILITY 2.1 Introduction A random experiment is an experiment which is repeatable under identical conditions, and for which, at each repetition, the outcome

More information

Lecture 4 Bayes Theorem

Lecture 4 Bayes Theorem Lecture 4 Bayes Theorem Thais Paiva STA 111 - Summer 2013 Term II July 5, 2013 Lecture Plan 1 Probability Review 2 Bayes Theorem 3 More worked problems Why Study Probability? A probability model describes

More information

STA 256: Statistics and Probability I

STA 256: Statistics and Probability I Al Nosedal. University of Toronto. Fall 2017 My momma always said: Life was like a box of chocolates. You never know what you re gonna get. Forrest Gump. Experiment, outcome, sample space, and sample point

More information

Year 10 Mathematics Probability Practice Test 1

Year 10 Mathematics Probability Practice Test 1 Year 10 Mathematics Probability Practice Test 1 1 A letter is chosen randomly from the word TELEVISION. a How many letters are there in the word TELEVISION? b Find the probability that the letter is: i

More information

Intro to Probability Day 4 (Compound events & their probabilities)

Intro to Probability Day 4 (Compound events & their probabilities) Intro to Probability Day 4 (Compound events & their probabilities) Compound Events Let A, and B be two event. Then we can define 3 new events as follows: 1) A or B (also A B ) is the list of all outcomes

More information

CHAPTER 4 PROBABILITY AND PROBABILITY DISTRIBUTIONS

CHAPTER 4 PROBABILITY AND PROBABILITY DISTRIBUTIONS CHAPTER 4 PROBABILITY AND PROBABILITY DISTRIBUTIONS 4.2 Events and Sample Space De nition 1. An experiment is the process by which an observation (or measurement) is obtained Examples 1. 1: Tossing a pair

More information

Probability 5-4 The Multiplication Rules and Conditional Probability

Probability 5-4 The Multiplication Rules and Conditional Probability Outline Lecture 8 5-1 Introduction 5-2 Sample Spaces and 5-3 The Addition Rules for 5-4 The Multiplication Rules and Conditional 5-11 Introduction 5-11 Introduction as a general concept can be defined

More information

Chapter 4 - Introduction to Probability

Chapter 4 - Introduction to Probability Chapter 4 - Introduction to Probability Probability is a numerical measure of the likelihood that an event will occur. Probability values are always assigned on a scale from 0 to 1. A probability near

More information

18.600: Lecture 7 Bayes formula and independence

18.600: Lecture 7 Bayes formula and independence 18.600 Lecture 7 18.600: Lecture 7 Bayes formula and independence Scott Sheffield MIT 18.600 Lecture 7 Outline Bayes formula Independence 18.600 Lecture 7 Outline Bayes formula Independence Recall definition:

More information

Conditional Probability and Bayes

Conditional Probability and Bayes Conditional Probability and Bayes Chapter 2 Lecture 5 Yiren Ding Shanghai Qibao Dwight High School March 9, 2016 Yiren Ding Conditional Probability and Bayes 1 / 13 Outline 1 Independent Events Definition

More information

2. AXIOMATIC PROBABILITY

2. AXIOMATIC PROBABILITY IA Probability Lent Term 2. AXIOMATIC PROBABILITY 2. The axioms The formulation for classical probability in which all outcomes or points in the sample space are equally likely is too restrictive to develop

More information

Lecture 7. Bayes formula and independence

Lecture 7. Bayes formula and independence 18.440: Lecture 7 Bayes formula and independence Scott Sheffield MIT 1 Outline Bayes formula Independence 2 Outline Bayes formula Independence 3 Recall definition: conditional probability Definition: P(E

More information

Conditional Probability

Conditional Probability Chapter 3 Conditional Probability 3.1 Definition of conditional probability In spite of our misgivings, let us persist with the frequency definition of probability. Consider an experiment conducted N times

More information

Business Statistics MBA Pokhara University

Business Statistics MBA Pokhara University Business Statistics MBA Pokhara University Chapter 3 Basic Probability Concept and Application Bijay Lal Pradhan, Ph.D. Review I. What s in last lecture? Descriptive Statistics Numerical Measures. Chapter

More information

Section 4.2 Basic Concepts of Probability

Section 4.2 Basic Concepts of Probability Section 4.2 Basic Concepts of Probability 2012 Pearson Education, Inc. All rights reserved. 1 of 88 Section 4.2 Objectives Identify the sample space of a probability experiment Identify simple events Use

More information

Problems and results for the ninth week Mathematics A3 for Civil Engineering students

Problems and results for the ninth week Mathematics A3 for Civil Engineering students Problems and results for the ninth week Mathematics A3 for Civil Engineering students. Production line I of a factor works 0% of time, while production line II works 70% of time, independentl of each other.

More information

4. Conditional Probability

4. Conditional Probability 1 of 13 7/15/2009 9:25 PM Virtual Laboratories > 2. Probability Spaces > 1 2 3 4 5 6 7 4. Conditional Probability Definitions and Interpretations The Basic Definition As usual, we start with a random experiment

More information

Session 1: An introduction to probability p. 1

Session 1: An introduction to probability p. 1 Session 1: An introduction to probability Susan Thomas http://www.igidr.ac.in/ susant susant@mayin.org IGIDR Bombay Session 1: An introduction to probability p. 1 The aim of this session 1. Why do we care

More information

Math 511 Exam #1. Show All Work No Calculators

Math 511 Exam #1. Show All Work No Calculators Math 511 Exam #1 Show All Work No Calculators 1. Suppose that A and B are events in a sample space S and that P(A) = 0.4 and P(B) = 0.6 and P(A B) = 0.3. Suppose too that B, C, and D are mutually independent

More information

STA 2023 EXAM-2 Practice Problems From Chapters 4, 5, & Partly 6. With SOLUTIONS

STA 2023 EXAM-2 Practice Problems From Chapters 4, 5, & Partly 6. With SOLUTIONS STA 2023 EXAM-2 Practice Problems From Chapters 4, 5, & Partly 6 With SOLUTIONS Mudunuru Venkateswara Rao, Ph.D. STA 2023 Fall 2016 Venkat Mu ALL THE CONTENT IN THESE SOLUTIONS PRESENTED IN BLUE AND BLACK

More information

Introduction to Probability 2017/18 Supplementary Problems

Introduction to Probability 2017/18 Supplementary Problems Introduction to Probability 2017/18 Supplementary Problems Problem 1: Let A and B denote two events with P(A B) 0. Show that P(A) 0 and P(B) 0. A A B implies P(A) P(A B) 0, hence P(A) 0. Similarly B A

More information

Chapter 01: Probability Theory (Cont d)

Chapter 01: Probability Theory (Cont d) Chapter 01: Probability Theory (Cont d) Section 1.5: Probabilities of Event Intersections Problem (01): When a company receives an order, there is a probability of 0.42 that its value is over $1000. If

More information

18.600: Lecture 7 Bayes formula and independence

18.600: Lecture 7 Bayes formula and independence 18.600: Lecture 7 Bayes formula and independence Scott Sheffield MIT Outline Bayes formula Independence Outline Bayes formula Independence Recall definition: conditional probability Definition: P(E F )

More information

STA 2023 EXAM-2 Practice Problems. Ven Mudunuru. From Chapters 4, 5, & Partly 6. With SOLUTIONS

STA 2023 EXAM-2 Practice Problems. Ven Mudunuru. From Chapters 4, 5, & Partly 6. With SOLUTIONS STA 2023 EXAM-2 Practice Problems From Chapters 4, 5, & Partly 6 With SOLUTIONS Mudunuru, Venkateswara Rao STA 2023 Spring 2016 1 1. A committee of 5 persons is to be formed from 6 men and 4 women. What

More information

Discrete Probability Models

Discrete Probability Models CHAPTER ONE Discrete Probability Models 1.1 INTRODUCTION The mathematical study of probability can be traced to the seventeenth-century correspondence between Blaise Pascal and Pierre de Fermat, French

More information

Chapter 7 Wednesday, May 26th

Chapter 7 Wednesday, May 26th Chapter 7 Wednesday, May 26 th Random event A random event is an event that the outcome is unpredictable. Example: There are 45 students in this class. What is the probability that if I select one student,

More information