Chapter 3 Conditional Probability and Independence. Wen-Guey Tzeng Computer Science Department National Chiao Tung University
|
|
- Alexis Baldwin
- 5 years ago
- Views:
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 D A Definition. If P(B)>0, the conditional probability of A given B, P( AB) P( A B) P( B) 2016 Fall 2 F S
3 Examples Pr(Sunny day) Pr(Sunny day summer) Pr(Sunny day winter) Pr(Pass the course) Pr(Pass the course study hard) Pr(Pass the course cut class) 2016 Fall 3
4 S (each sample has two attributes: number, color) Red P(Odd Red) = P(Red Odd) = P(>2) = P(>2 Red) = P(>2 Odd) = 2016 Fall 4
5 Example: A class of 80 students. 50 of them take Linear Algebra, 60 of them take Calculus, and 30 of them take both. Randomly choose a student and find that the student takes Calculus. What is the probability that the student takes Linear Algebra also? Sol: Linear Algebra Calculus S1 X 0 S2 0 0 S3 X 0 S4 0 X Let B be event that a selected student takes Calculus. You only consider these 60 students. Let A be the event that a selected student takes Linear Algebra. P(A B )= P(AB)/P(B) = (30/80) / (60/80) 2016 Fall 5
6 Example: Draw 8 cards from a deck of 52 cards. Given 3 of them are spades, what is the probability that the remaining 5 are spades? We want to compute P(the remaining 5 are also spades 3 are spades)=? Sol: S={2S 4H JH KD 5C 4C 8S AD, } permuations out of 52 cards --- all outcomes are equally likely 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)x8!/(C(52,8)x8!) P(B)=[C(13,3)C(39,5)+C(13,4)C(39,4)+ +C(13,8)C(39,0)]x8! / (C(52,8)x8!) 2016 Fall 6
7 2016 Fall 7
8 Example: 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? 2016 Fall 8
9 Contingency table P(BiDj) D1: balls are RR D2: balls are RG D3: balls are GG B1: Box 1 is chosen B2: Box 2 is chosen 2016 Fall 9
10 Conditional probability = reduction of sample space A S C P(. B) S = B: New sample space New probabilities for events 2016 Fall 10
11 S (each sample has two attributes: number, color) Red Adjusted probability Fall 11 5
12 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 2016 Fall 12
13 Example: (revisited) Draw 8 cards from a deck of 52 cards. Given 3 of them are spades, what is the probability that the remaining 5 are spades? We want to compute P(the remaining 5 are also spades 3 are spades)=? Sol: 2016 Fall 13
14 Example: 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} P(the fifth is dead the first 4 are good) New sample space S = {all sequences of 6 good and 3 dead batteries} P(the first is dead) -- in the new sample space S =3/ Fall 14
15 A mind game: 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? Randomly, why? Fall 15
16 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) No: never switch The reduced sample space S={(1,2,1), (1,3,1), (2,3,2), (3,2,3)} P({(2,3,2)}) = P({(3,2,3)}) =1/3, P({(1,2,1)}=P({(1,3,1)}) = 1/6 P(you win) = P({(1,2,1), (1,3,1)} = 1/3 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)}) = 1/3, P({(1,2,3)})=P({(1,3,2)}) = 1/6 P(you win)=p({(3,2,1), (2,3,1)})=2/ Fall 16
17 Law of multiplication P( AB) P( B) P( A B) P( A) P( B A) Think A and B in temporal or logical order Extension: P(A A A ) P(A )P(A A )P( A3 A1 A2) 2016 Fall 17
18 Example: 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) =? 2016 Fall 18
19 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 19
20 Example: 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) = Tree diagram method? 2016 Fall 20
21 Gambler s ruin problem 2 gamblers play the game of heads or tails 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 until one is ruined. What is the probability that A will be ruined? What is the probability that the game goes forever with nobody winning? 2016 Fall 21
22 Sol: Sample space? a+b a Fall 22
23 Let E i be the event that A will be ruined if he starts with i dollars, and let p i =P(E i ). Note: total amount is a+b. Our aim is to calculate p a. Initially, p 0 =1, p a+b =0 For 0< i < a+b Let F be the event that A wins the 1 st game. Then P(E i ) = P(E i F) + P(E i F c ) = P(E i F) P(F) + P(E i F c ) P(F c ) = P(E i+1 ) P(F) + P(E i-1 ) 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 23
24 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) 2016 Fall 24
25 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 25
26 Casino s paradox: (unfair game) A gambler goes to a casino for playing roulette with $1000 in pocket. He wins with probability 18/37 by betting $1 on red/black His strategy is to go home if he wins $100 or go broke. What is the probability that he goes home happily? What would happen if he starts with $1,000,000 in pocket? 2016 Fall 26
27 Sol: Sample space? Similar with a=1000, b=100 But with different probability function for samples. Recurrence equation: Let the gambler start with a dollars. He goes home after winning b dollars or going broke. p i = the probability that he goes home sadly, with i dollars in pocket in the beginning. p 0 = 1, p a+b = 0 p i = P(E i F) P(F) + P(E i F c ) P(F c ) = p i+1 (18/37)+p i-1 (19/37) Let r=18/37. p i = r p i+1 + (1-r) p i Fall 27
28 Equation solution: 1 < i < a+b p i = rp i r p i 1 r p i+1 p i = 1 r (p i p i 1 ) p i = 1 1 r 1 r r 1 r a+b i a+b p a = 1 r b 1 r r a+b > r r 1 r b 2016 Fall 28
29 The more money (b) you want to win, the higher probability you will be ruined. Surprisingly, no matter how much money the gambler carries, the probability of going home happily is no more than (18/19) Why? 2016 Fall 29
30 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 ) 2016 Fall 30
31 Example: 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 31
32 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 The later information (event A occurs) help correct the prior probability Fall 32
33 Application 1: determine fake coin We have a bag of 100 coins. 60 of them are genuine and 40 of them are fake. We randomly pick one. Prior probability Event B: the picked one is genuine. P(B) = 0.6 and P(B c ) = 0.4 Assume: the toss of a genuine coin is fair. The toss of a fake coin is unfair with head probability 0.4. We toss the picked coin 5 times and get HHTTT. This is the event A. Posterior probability P(B A) and P(B c A) 2016 Fall 33
34 Application 2: election poll In some area, by the record of past elections, Republican supporters are 55% and Democrat supporters are 45%. From experience, a Republican votes for Democrat is 10% and a Democrat votes for Republican is 12%. In the upcoming election, some poll company is doing a poll on the area for a party. The poll company can use one of the following methods to write the poll report Fall 34
35 Method 1: Ask the opinions of 1000 people in the area. Report: the supporting rate by the ratio from the answers. For example, if 60% of the answers are in favor of Democratic. The supporting rate of Democratic at the area in this election is 60%. Method 2: Let B the event that a person is a Republican supporter. From the past, Let P(B) = 55% and P(B c ) = 45%. P(Vote for Dem B) = 10% and P(Vote for Rep B c )= 12%. Ask the opinions of 1000 people in the area. Let the result be event A. Report: the supporting rate for Republican is P(B A) and the supporting rate for Democratic is P(B c A). Which one is better? 2015 Fall 35
36 Application 3: economic prediction In the past 50 years. 30 years have growing economies and 20 years have recession economies. By the statistics, in growing year, the probability that stock market rises is 80%. In recession year, the probability that stock market rises is 30%. We want to predict whether the economy grows in this year by looking at the stock market. What is the probability that the economy grows in this year after seeing a down stock market? 2016 Fall 36
37 80% Stock up 60% Grow 20% Stock down 40% Recess 30% Stock up 70% Stock down 2016 Fall 37
38 Example: 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 Posterior probability: P(B A)=0.04*0.3/(0.04* *0.7)= Fall 38
39 Tree diagram method? 2016 Fall 39
40 Example: 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)= 2016 Fall 40
41 Example: Cathy goes to hospital for a rare cancer test. The accuracy rate of the test is 99%. If no cancer, the probability of testing negative is 99%. There is still 1% of error. Cathy is tested positive for the cancer. Is this the end of the world for Cathy? Sol: By statistics, P(a person has the cancer) = 0.1% Accuracy rate: P(test positive no cancer) = 1%. P(test positive have cancer) = 100% Thus, P(have cancer test positive) = 9.1% 2016 Fall 41
42 Example: Spam detector A spam mail: Subject: Can You Remaimber The Last Time You Were In UNBELIEVABLE Pain Content: Hi Guys, As a college football player, I've had a ton of injuries over the years. This led to me studying all the best and most effective pain relief methods people have used for thousands of years before the invention of prescription drugs Fall 42
43 Statistics from the past s: B: the event that an is spam. G: the event that an is normal. Word list: w 1, w 2,, w N Wi: the event that word w i appears in an . P(Wi B): the prob. that a spam contains word w i P(Wi G): the prob. that a normal contains word w i Detection: A received M contains words w 1, w 5, w 10. We compute p1=p(b W1, W5, W10) p2=p(g W1, W5, W10) If p1>p2, then say M is spam, else M is normal Fall 43
44 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 Posterior probability: P(B k A ) 2016 Fall 44
45 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: Prior probability 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 the observation Likelihood P(A B 1 )= P(A B 2 )= P(A B 3 )= Want to compute P(B 3 A) 2016 Fall 45
46 Independence Two events A and B are independent if P(B A ) = P(B): Explanation: the occurrence of event A does not affect the occurrence probability of event B Example 1: toss a coin twice A: the first result is head B: the second result is head A and B are independent. Example 2: toss a coin three times A: the first 2 results are both head B: the last2 results are both tail A and B are not independent Fall 46
47 Theorem:A and B are independent if either one of the following holds P(AB) = P(A)P(B) --- independence is a very strict condition 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 2016 Fall 47
48 P(AB)=P(A)P(B) A B A B A B 2016 Fall 48
49 Remark: If A and B are disjoint (mutually exclusive), then A and B are dependent. If A B, then A and B are dependent 2016 Fall 49
50 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) 2016 Fall 50
51 What is good for independence? easy to compute To compute P(AB) If A and B are not independent, P(AB) = P(A)+P(B) P(AUB) If A and B are independent, P(AB)=P(A)P(B) To compute P(B A) If A and B are not independent, P(B A) = P(AB)/P(A) If A and B are independent, P(B A) = P(B) 2016 Fall 51
52 Example: A card is drawn from a deck of 52 cards and placed back. Then, a second card is drawn. A: the event that the first card is an ace B: the event that the second card is also an ace Are A and B independent? P(A) = P(B)= P(AB) = If the first drawn card is not placed back, then A and B are not independent Fall 52
53 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? 2016 Fall 53
54 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
55 Sol-2: Zweifel, in June 1986 issue of Mathematics Magazine, page 156 He analyzes this paradox by using Bayes formula: ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( T P T J P B P B J P A P A J P A P A J P J A P 2016 Fall 55
56 Example: 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 N 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 N)P(N) = 1x(4/52) + 0x(12/52)+ P(E N)x(36/52) Since E and N are independent (think!), P(E N) = P(E). P(E)=4/52+P(E)(36/52) So, P(E)=1/ Fall 56
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 informationSTAT: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 information2011 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 informationRandom 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 informationChapter 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(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 informationLECTURE 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 informationChapter 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 informationProbability 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 informationWhat 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 informationThe 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 informationP (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 informationLECTURE 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 informationLecture 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 informationMath 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 informationOutline 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 informationLecture 3 Probability Basics
Lecture 3 Probability Basics Thais Paiva STA 111 - Summer 2013 Term II July 3, 2013 Lecture Plan 1 Definitions of probability 2 Rules of probability 3 Conditional probability What is Probability? Probability
More informationUNIT 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 informationExam 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 informationStatistics for Managers Using Microsoft Excel (3 rd Edition)
Statistics for Managers Using Microsoft Excel (3 rd Edition) Chapter 4 Basic Probability and Discrete Probability Distributions 2002 Prentice-Hall, Inc. Chap 4-1 Chapter Topics Basic probability concepts
More informationName: 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 informationChapter 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 informationProbabilistic 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 informationIntroduction 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 informationLecture 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 information2. 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 informationSTAT509: 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 information4. 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 informationConditional 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 information3 PROBABILITY TOPICS
Chapter 3 Probability Topics 135 3 PROBABILITY TOPICS Figure 3.1 Meteor showers are rare, but the probability of them occurring can be calculated. (credit: Navicore/flickr) Introduction It is often necessary
More informationIntroduction 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 informationMutually 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 informationStatistical 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 informationLecture 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 information2.6 Tools for Counting sample points
2.6 Tools for Counting sample points When the number of simple events in S is too large, manual enumeration of every sample point in S is tedious or even impossible. (Example) If S contains N equiprobable
More informationEvent A: at least one tail observed A:
Chapter 3 Probability 3.1 Events, sample space, and probability Basic definitions: An is an act of observation that leads to a single outcome that cannot be predicted with certainty. A (or simple event)
More informationChapter. 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 informationan event with one outcome is called a simple event.
Ch5Probability Probability is a measure of the likelihood of a random phenomenon or chance behavior. Probability describes the long-term proportion with which a certain outcome will occur in situations
More informationBASICS 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 informationDept. 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 informationConditional Probability & Independence. Conditional Probabilities
Conditional Probability & Independence Conditional Probabilities Question: How should we modify P(E) if we learn that event F has occurred? Definition: the conditional probability of E given F is P(E F
More informationConditional Probability P( )
Conditional Probability P( ) 1 conditional probability where P(F) > 0 Conditional probability of E given F: probability that E occurs given that F has occurred. Conditioning on F Written as P(E F) Means
More informationWith 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 informationTOPIC 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 informationTopic -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 informationCDA6530: Performance Models of Computers and Networks. Chapter 1: Review of Practical Probability
CDA6530: Performance Models of Computers and Networks Chapter 1: Review of Practical Probability Probability Definition Sample Space (S) which is a collection of objects (all possible scenarios or values).
More informationIntroduction to Probability, Fall 2009
Introduction to Probability, Fall 2009 Math 30530 Review questions for exam 1 solutions 1. Let A, B and C be events. Some of the following statements are always true, and some are not. For those that are
More informationIntroduction to probability
Introduction to probability 4.1 The Basics of Probability Probability The chance that a particular event will occur The probability value will be in the range 0 to 1 Experiment A process that produces
More informationChapter 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 informationPROBABILITY.
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 informationLecture 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 informationI - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability
What is Probability? the chance of an event occuring eg 1classical probability 2empirical probability 3subjective probability Section 2 - Probability (1) Probability - Terminology random (probability)
More informationConditional 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 informationStatistics for Managers Using Microsoft Excel/SPSS Chapter 4 Basic Probability And Discrete Probability Distributions
Statistics for Managers Using Microsoft Excel/SPSS Chapter 4 Basic Probability And Discrete Probability Distributions 1999 Prentice-Hall, Inc. Chap. 4-1 Chapter Topics Basic Probability Concepts: Sample
More information18.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 information18.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 information2.4. Conditional Probability
2.4. Conditional Probability Objectives. Definition of conditional probability and multiplication rule Total probability Bayes Theorem Example 2.4.1. (#46 p.80 textbook) Suppose an individual is randomly
More informationLecture 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 informationProbabilistic 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 informationAP Statistics Ch 6 Probability: The Study of Randomness
Ch 6.1 The Idea of Probability Chance behavior is unpredictable in the short run but has a regular and predictable pattern in the long run. We call a phenomenon random if individual outcomes are uncertain
More informationConditional 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 informationLecture 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 informationProbability 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 informationIntro 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 informationDetermining 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 informationEcon 325: Introduction to Empirical Economics
Econ 325: Introduction to Empirical Economics Lecture 2 Probability Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-1 3.1 Definition Random Experiment a process leading to an uncertain
More informationHW 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 informationIntroduction 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 informationIntroduction 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 informationCS626 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 informationSTAT 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 informationDiscrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 14
CS 70 Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 14 Introduction One of the key properties of coin flips is independence: if you flip a fair coin ten times and get ten
More informationConditional 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 informationMA : 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 informationLectures 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 informationCompound 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 information1 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 informationFormalizing Probability. Choosing the Sample Space. Probability Measures
Formalizing Probability Choosing the Sample Space What do we assign probability to? Intuitively, we assign them to possible events (things that might happen, outcomes of an experiment) Formally, we take
More informationCHAPTER 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 informationTopic 5: Probability. 5.4 Combined Events and Conditional Probability Paper 1
Topic 5: Probability Standard Level 5.4 Combined Events and Conditional Probability Paper 1 1. In a group of 16 students, 12 take art and 8 take music. One student takes neither art nor music. The Venn
More informationConditional Probability & Independence. Conditional Probabilities
Conditional Probability & Independence Conditional Probabilities Question: How should we modify P(E) if we learn that event F has occurred? Definition: the conditional probability of E given F is P(E F
More informationMA-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 informationLecture 2. Conditional Probability
Math 408 - Mathematical Statistics Lecture 2. Conditional Probability January 18, 2013 Konstantin Zuev (USC) Math 408, Lecture 2 January 18, 2013 1 / 9 Agenda Motivation and Definition Properties of Conditional
More informationWhat 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 informationAnnouncements. Lecture 5: Probability. Dangling threads from last week: Mean vs. median. Dangling threads from last week: Sampling bias
Recap Announcements Lecture 5: Statistics 101 Mine Çetinkaya-Rundel September 13, 2011 HW1 due TA hours Thursday - Sunday 4pm - 9pm at Old Chem 211A If you added the class last week please make sure to
More informationIntro to Probability Day 3 (Compound events & their probabilities)
Intro to Probability Day 3 (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 informationChapter 2.5 Random Variables and Probability The Modern View (cont.)
Chapter 2.5 Random Variables and Probability The Modern View (cont.) I. Statistical Independence A crucially important idea in probability and statistics is the concept of statistical independence. Suppose
More informationExam 1 Solutions. Problem Points Score Total 145
Exam Solutions Read each question carefully and answer all to the best of your ability. Show work to receive as much credit as possible. At the end of the exam, please sign the box below. Problem Points
More informationChapter 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 informationThe possible experimental outcomes: 1, 2, 3, 4, 5, 6 (Experimental outcomes are also known as sample points)
Chapter 4 Introduction to Probability 1 4.1 Experiments, Counting Rules and Assigning Probabilities Example Rolling a dice you can get the values: S = {1, 2, 3, 4, 5, 6} S is called the sample space. Experiment:
More informationthe 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 informationThe probability of an event is viewed as a numerical measure of the chance that the event will occur.
Chapter 5 This chapter introduces probability to quantify randomness. Section 5.1: How Can Probability Quantify Randomness? The probability of an event is viewed as a numerical measure of the chance that
More informationYear 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 informationChapter 1 Axioms of Probability. Wen-Guey Tzeng Computer Science Department National Chiao University
Chapter 1 Axioms of Probability Wen-Guey Tzeng Computer Science Department National Chiao University What is probability? A branch of mathematics that deals with calculating the likelihood of a given event
More informationProbability Review Lecturer: Ji Liu Thank Jerry Zhu for sharing his slides
Probability Review Lecturer: Ji Liu Thank Jerry Zhu for sharing his slides slide 1 Inference with Bayes rule: Example In a bag there are two envelopes one has a red ball (worth $100) and a black ball one
More informationMATH MW Elementary Probability Course Notes Part I: Models and Counting
MATH 2030 3.00MW Elementary Probability Course Notes Part I: Models and Counting Tom Salisbury salt@yorku.ca York University Winter 2010 Introduction [Jan 5] Probability: the mathematics used for Statistics
More informationTerm Definition Example Random Phenomena
UNIT VI STUDY GUIDE Probabilities Course Learning Outcomes for Unit VI Upon completion of this unit, students should be able to: 1. Apply mathematical principles used in real-world situations. 1.1 Demonstrate
More informationDenker 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 informationBusiness 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 informationDiscrete Random Variables (1) Solutions
STAT/MATH 394 A - PROBABILITY I UW Autumn Quarter 06 Néhémy Lim Discrete Random Variables ( Solutions Problem. The probability mass function p X of some discrete real-valued random variable X is given
More information