CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics. 2007 Instructor Longin Jan Latecki C3: Conditional Probability And.

Slides:



Advertisements
Similar presentations
A Survey of Probability Concepts
Advertisements

Chapter 4 Probability: Probabilities of Compound Events
0 0 Review Probability Axioms –Non-negativity P(A)≥0 –Additivity P(A U B) =P(A)+ P(B), if A and B are disjoint. –Normalization P(Ω)=1 Independence of two.
COUNTING AND PROBABILITY
Sets: Reminder Set S – sample space - includes all possible outcomes
1 1 PRESENTED BY E. G. GASCON Introduction to Probability Section 7.3, 7.4, 7.5.
CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Slides by Michael Maurizi Instructor Longin Jan Latecki C9:
NIPRL Chapter 1. Probability Theory 1.1 Probabilities 1.2 Events 1.3 Combinations of Events 1.4 Conditional Probability 1.5 Probabilities of Event Intersections.
Chapter 7 Probability 7.1 Experiments, Sample Spaces, and Events
For Thursday, Feb. 20 Bring Conditional Probability Worksheet to class Exam #1:March 4 Project Presentations Start March 6 Team Homework #4 due Feb. 25.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Introduction Let’s say you and your friends draw straws to see who has to do some unpleasant activity, like cleaning out the class pet’s cage. If everyone.
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
Econ 140 Lecture 51 Bivariate Populations Lecture 5.
Chapter 4 Probability See.
MATH 3033 based on Dekking et al. A Modern Introduction to Probability and Statistics Slides by Tim Birbeck Instructor Longin Jan Latecki C2: Outcomes,
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Copyright © Cengage Learning. All rights reserved. Elementary Probability Theory 5.
A.P. STATISTICS LESSON 6.3 ( DAY 2 ) GENERAL PROBABILITY RULES ( EXTENDED MULTIPLICATION RULES )
From Randomness to Probability
Econ 3790: Business and Economics Statistics Instructor: Yogesh Uppal
Some Probability Rules Compound Events
CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Instructor Longin Jan Latecki C2: Outcomes, events, and probability.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin A Survey of Probability Concepts Chapter 5.
LECTURE 15 THURSDAY, 15 OCTOBER STA 291 Fall
Basic Probability Rules Let’s Keep it Simple. A Probability Event An event is one possible outcome or a set of outcomes of a random phenomenon. For example,
November 2004CSA4050: Crash Concepts in Probability1 CSA4050: Advanced Topics in NLP Probability I Experiments/Outcomes/Events Independence/Dependence.
AP STATISTICS LESSON 6.3 (DAY 1) GENERAL PROBABILITY RULES.
Computing Fundamentals 2 Lecture 6 Probability Lecturer: Patrick Browne
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Recap from last lesson Compliment Addition rule for probabilities
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin A Survey of Probability Concepts Chapter 5.
Section 3.2 Notes Conditional Probability. Conditional probability is the probability of an event occurring, given that another event has already occurred.
Copyright © Cengage Learning. All rights reserved. Elementary Probability Theory 5.
Probability. Rules  0 ≤ P(A) ≤ 1 for any event A.  P(S) = 1  Complement: P(A c ) = 1 – P(A)  Addition: If A and B are disjoint events, P(A or B) =
Introduction  Probability Theory was first used to solve problems in gambling  Blaise Pascal ( ) - laid the foundation for the Theory of Probability.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Probability Rules In the following sections, we will transition from looking at the probability of one event to the probability of multiple events (compound.
STT 315 This lecture note is based on Chapter 3
Week 21 Rules of Probability for all Corollary: The probability of the union of any two events A and B is Proof: … If then, Proof:
I can find probabilities of compound events.. Compound Events  Involves two or more things happening at once.  Uses the words “and” & “or”
STATISTICS 6.0 Conditional Probabilities “Conditional Probabilities”
© 2013 Pearson Education, Inc. Reading Quiz For use with Classroom Response Systems Introductory Statistics: Exploring the World through Data, 1e by Gould.
Lecture 19 Dr. MUMTAZ AHMED MTH 161: Introduction To Statistics.
AP Statistics Probability Rules. Definitions Probability of an Outcome: A number that represents the likelihood of the occurrence of an outcome. Probability.
AP Statistics From Randomness to Probability Chapter 14.
Introduction to probability (3) Definition: - The probability of an event A is the sum of the weights of all sample point in A therefore If A1,A2,…..,An.
Probability Rules Chapter 15. Sample Space The sample space of a trial is the set of all possible outcomes and is labeled S. The outcomes do NOT need.
Probability and Statistics for Computer Scientists Second Edition, By: Michael Baron Chapter 2: Probability CIS Computational Probability and Statistics.
Probability and Statistics for Computer Scientists Second Edition, By: Michael Baron Chapter 2: Probability CIS Computational Probability and.
Definitions Addition Rule Multiplication Rule Tables
Virtual University of Pakistan
A Survey of Probability Concepts
4 Elementary Probability Theory
Lecture 5 0f 6 TOPIC 10 Independent Events.
What is Probability? Quantification of uncertainty.
AP Statistics Chapter 6 Review
A Survey of Probability Concepts
A Survey of Probability Concepts
4 Elementary Probability Theory
Probability and Statistics for Computer Scientists Second Edition, By: Michael Baron Chapter 2: Probability CIS Computational Probability and.
C3: Conditional Probability And Independence
C3: Conditional Probability And Independence
Chapter 2.3 Counting Sample Points Combination In many problems we are interested in the number of ways of selecting r objects from n without regard to.
How to Interpret Probability Mathematically, the probability that an event will occur is expressed as a number between 0 and 1. Notationally, the.
C3: Conditional Probability And Independence
Note 9: Laws of Probability
Lesson 56 – Probability of Dependent Events – Conditional Probabilty
Probability.
Presentation transcript:

CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Instructor Longin Jan Latecki C3: Conditional Probability And Independence

3.1 – Conditional Probability  Conditional Probability: the probability that an event will occur, given that another event has occurred that changes the likelihood of the event Provided P(C) > 0 For any events A and C: 3.2 – Multiplication Rule

 Example: If event L is “person was born in a long month”, and event R is “person was born in a month with the letter ‘R’ in it”, then P(R) is affected by whether or not L has occurred. The probability that R will happen, given that L has already happened is written as: P(R|L) What is P(R c | L)?

Show that P(A | C) + P(A c | C) = 1. Hence the rule P(A c ) = 1 – P(A) also holds for conditional probabilities.

3.3 – Total Probability & Bayes Rule The Law of Total Probability Suppose C 1, C 2, …,C M are disjoint events such that C 1 U C 2 U … U C M = Ω. The probability of an arbitrary event A can be expressed as: Or equivalently expressed as:

3.1 Your lecturer wants to walk from A to B (see the map). To do so, he first randomly selects one of the paths to C, D, or E. Next he selects randomly one of the possible paths at that moment (so if he first selected the path to E, he can either select the path to A or the path to F), etc. What is the probability that he will reach B after two selections?

3.1 Your lecturer wants to walk from A to B (see the map). To do so, he first randomly selects one of the paths to C, D, or E. Next he selects randomly one of the possible paths at that moment (so if he first selected the path to E, he can either select the path to A or the path to F), etc. What is the probability that he will reach B after two selections? Define: B = event “point B is reached on the second step,” C = event “the path to C is chosen on the first step,” and similarly D and E. P(B) = P(B ∩ C) + P(B ∩ D) + P(B ∩ E) = P(B | C) P(C) + P(B | D) P(D) + P(B | E) P(E)

3.3 – Total Probability & Bayes Rule Bayes Rule: Suppose the events C 1, C 2, … C M are disjoint and C 1 U C 2 U … U C M = Ω. The conditional probability of C i, given an arbitrary event A, can be expressed as: or

3.4 – Independence Definition: An event A is called independent of B if: That is to say that A is independent of B if the probability of A occurring is not changed by whether or not B occurs.

3.4 – Independence Tests for Independence To show that A and B are independent we have to prove just one of the following: A and/or B can both be replaced by their complement.

3.4 – Independence Independence of Two or More Events Events A 1, A 2, …, A m are called independent if: This statement holds true if any event or events is/are replaced by their complement throughout the equation.

3.2 A fair die is thrown twice. A is the event “sum of the throws equals 4,” B is “at least one of the throws is a 3.” a. Calculate P(A|B). b. Are A and B independent events?

3.2 A fair die is thrown twice. A is the event “sum of the throws equals 4,” B is “at least one of the throws is a 3.” a. Calculate P(A|B). b. Are A and B independent events? a.Event A has three outcomes, event B has 11 outcomes, and A ∩ B = {(1, 3), (3, 1)}. Hence we find P(B) = 11/36 and P(A ∩ B) = 2/36 so that b. Because P(A) = 3/36 = 1/12 and this is not equal to P(A|B) = 2/11 the events A and B are dependent.

A computer program is tested by 3 independent tests. When there is an error, these tests will discover it with probabilities 0.2, 0.3, and 0.5, respectively. Suppose that the program contains an error. What is the probability that it will be found by at least one test? (Baron 2.5)

Example 2.18 from Baron (Reliability of backups). There is a 1% probability for a hard drive to crash. Therefore, it has two backups, each having a 2% probability to crash, and all three components are independent of each other. The stored information is lost only in an unfortunate situation when all three devices crash. What is the probability that the information is saved?

Example 2.18 from Baron (Reliability of backups). There is a 1% probability for a hard drive to crash. Therefore, it has two backups, each having a 2% probability to crash, and all three components are independent of each other. The stored information is lost only in an unfortunate situation when all three devices crash. What is the probability that the information is saved?

Example from Baron Suppose that a shuttle's launch depends on three key devices that operate independently of each other and malfunction with probabilities 0.01, 0.02, and 0.02, respectively. If any of the key devices malfunctions, the launch will be postponed. Compute the probability for the shuttle to be launched on time, according to its schedule.

Example from Baron Suppose that a shuttle's launch depends on three key devices that operate independently of each other and malfunction with probabilities 0.01, 0.02, and 0.02, respectively. If any of the key devices malfunctions, the launch will be postponed. Compute the probability for the shuttle to be launched on time, according to its schedule.