ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 2 – Conditional probability Farinaz Koushanfar ECE Dept., Rice University Aug 27, 2009.

Slides:



Advertisements
Similar presentations
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 6 – More Discrete Random Variables Farinaz Koushanfar ECE Dept., Rice University Sept 10,
Advertisements

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.
Lecture 10 – Introduction to Probability Topics Events, sample space, random variables Examples Probability distribution function Conditional probabilities.
1 1 PRESENTED BY E. G. GASCON Introduction to Probability Section 7.3, 7.4, 7.5.
Probability Theory and Statistics
Chapter 4 Probability.
1 Section 5.1 Discrete Probability. 2 LaPlace’s definition of probability Number of successful outcomes divided by the number of possible outcomes This.
Learning Goal 13: Probability Use the basic laws of probability by finding the probabilities of mutually exclusive events. Find the probabilities of dependent.
Engineering Probability and Statistics - SE-205 -Chap 2 By S. O. Duffuaa.
3.2 Conditional Probability & the Multiplication Rule Statistics Mrs. Spitz Fall 2008.
© Buddy Freeman, 2015Probability. Segment 2 Outline  Basic Probability  Probability Distributions.
Section 5.2 The Addition Rule and Complements
Review of Probability Theory. © Tallal Elshabrawy 2 Review of Probability Theory Experiments, Sample Spaces and Events Axioms of Probability Conditional.
The Erik Jonsson School of Engineering and Computer Science Chapter 1 pp William J. Pervin The University of Texas at Dallas Richardson, Texas
Lecture 10 – Introduction to Probability Topics Events, sample space, random variables Examples Probability distribution function Conditional probabilities.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 7 – Discrete Random Variables: Conditioning and Independence Farinaz Koushanfar ECE Dept.,
ELEC 303 – Random Signals Lecture 1 - General info, Sets and Probabilistic Models Farinaz Koushanfar ECE Dept., Rice University Aug 25, 2009.
1.5 Conditional Probability 1. Conditional Probability 2. The multiplication rule 3. Partition Theorem 4. Bayes’ Rule.
Chapter 7 With Question/Answer Animations. Section 7.1.
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 4 – Counting Farinaz Koushanfar ECE Dept., Rice University Sept 3, 2009.
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review Instructor: Anirban Mahanti Office: ICT Class.
Probability & Statistics I IE 254 Exam I - Reminder  Reminder: Test 1 - June 21 (see syllabus) Chapters 1, 2, Appendix BI  HW Chapter 1 due Monday at.
2-1 Sample Spaces and Events Random Experiments Figure 2-1 Continuous iteration between model and physical system.
2-1 Sample Spaces and Events Random Experiments Figure 2-1 Continuous iteration between model and physical system.
Chapter 4 Probability ©. Sample Space sample space.S The possible outcomes of a random experiment are called the basic outcomes, and the set of all basic.
Conditional Probability and the Multiplication Rule
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 3 – Conditional probability Farinaz Koushanfar ECE Dept., Rice University Sept 1, 2009.
13.3 Conditional Probability and Intersections of Events Understand how to compute conditional probability. Calculate the probability of the intersection.
Education as a Signaling Device and Investment in Human Capital Topic 3 Part I.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Natural Language Processing Giuseppe Attardi Introduction to Probability IP notice: some slides from: Dan Jurafsky, Jim Martin, Sandiway Fong, Dan Klein.
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Chapter Probability 3.
Section 3.2 Conditional Probability and the Multiplication Rule.
Conditional Probability and the Multiplication Rule.
EMIS 7300 SYSTEMS ANALYSIS METHODS Spring 2006 Dr. John Lipp Copyright © Dr. John Lipp.
Introduction Lecture 25 Section 6.1 Wed, Mar 22, 2006.
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:
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 9 – Continuous Random Variables: Joint PDFs, Conditioning, Continuous Bayes Farinaz Koushanfar.
ELEC 303 – Random Signals Lecture 17 – Hypothesis testing 2 Dr. Farinaz Koushanfar ECE Dept., Rice University Nov 2, 2009.
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 8 – Continuous Random Variables: PDF and CDFs Farinaz Koushanfar ECE Dept., Rice University.
2.5 Additive Rules: Theorem 2.10: If A and B are any two events, then: P(A  B)= P(A) + P(B)  P(A  B) Corollary 1: If A and B are mutually exclusive.
ELEC 303 – Random Signals Lecture 14 – Sample statistics, Limit Theorems Dr. Farinaz Koushanfar ECE Dept., Rice University Oct 21, 2010.
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 10 – Conditioning, Continuous Bayes rule Farinaz Koushanfar ECE Dept., Rice University.
Conditional Probability 423/what-is-your-favorite-data-analysis-cartoon 1.
Chapter 3 Probability.
Virtual University of Pakistan
Conditional Probability & the Multiplication Rule
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005
Chapter 4 Probability.
Natural Language Processing
Sec. 5-4: Multiplication Rule & Conditional P(x)
Natural Language Processing
Discrete Math for CS CMPSC 360 LECTURE 32 Last time: Review. Today:
Introduction to Probability
Probability Models Section 6.2.
CSCI 5832 Natural Language Processing
Lecture 12 Sections 5.3 Objectives: Conditional Probability Definition
Chapter 3 Probability.
Welcome to the wonderful world of Probability
Chapter 3 Probability Larson/Farber 4th ed.
If A and B are any two events, then: P(AB)= P(A) + P(B)  P(AB)
Conditional Probability, Total Probability Theorem and Bayes’ Rule
Counting Elements of Disjoint Sets: The Addition Rule
Conditional Probability, Total Probability Theorem and Bayes’ Rule
Conditional Probability, Total Probability Theorem and Bayes’ Rule
Conditional Probability, Total Probability Theorem and Bayes’ Rule
Sets, Combinatorics, Probability, and Number Theory
Presentation transcript:

ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 2 – Conditional probability Farinaz Koushanfar ECE Dept., Rice University Aug 27, 2009

ELEC 303, Koushanfar, Fall’09 Lecture outline Reading: Sections 1.3, 1.4 Review Conditional probability – Multiplication rule – Total probability theorem – Bayes rule

ELEC 303, Koushanfar, Fall’09 Probability theory -- review Mathematically characterizes random events Defined a sample space of possible outcomes Probability axioms: 1.(Nonnegativity) 0≤P(A)≤1 for every event A 2.(Additivity) If A and B are two disjoint events, then the probability P(A  B)=P(A)+P(B) 3.(Normalization) The probability of the entire sample space  is equal to 1, i.e., P(  )=1  A B

ELEC 303, Koushanfar, Fall’09 Discrete/continuous models -- review Discrete: finite number of possible outcomes – Enumerate the possible scenarios and count Continuous: the sample space is continuous – The probability of a point event is zero – Probability=area in the sample space

ELEC 303, Koushanfar, Fall’09 Conditional probability example 1 Student stage: (FR), (SO), (JU), (SI) Student standing: probation (P), acceptance (A), honor (H) Example courtesy of

ELEC 303, Koushanfar, Fall’09 Example (cont’d) What is the probability of a JU student? What is the probability of honors standing if the student is a FR? What is the probability of probation for a SU? P(A|B) is probability of A given B B is the new universe

ELEC 303, Koushanfar, Fall’09 Conditional probability Definition: Assuming P(B)  0, then P(A|B) = P(A  B) / P(B) Consequences: If P(A)  0 and P(B)  0, then P(A  B) = P(B).P(A|B) = P(A).P(B|A)  A B

ELEC 303, Koushanfar, Fall’09 Conditional probability example 2 1.What is the probability of both dices showing odd numbers given that their sum is 6? {1,5},{5,1},{2,4},{4,2},{3,3} {1,5},{5,1},{3,3} 2.Let B is the event: min (X,Y)=3, Let M = max{X,Y}. What are the probabilities for M over all of its possible values?

ELEC 303, Koushanfar, Fall’09 Conditional probability example 3 Radar detection vs. airplane presence What is the probability of having an airplane? What is the probability of airplane being there if the radar reads low? When should we decide there is an airplane and when should be decide there is none? Slide courtesy of Prof. Dahleh, MIT

ELEC 303, Koushanfar, Fall’09 Sequential description (A): aircraft present, (A c ): aircraft absent (L): low, (M): medium, (H): high P(A)=0.3 P(A c )=0.7 P(L|A)=0.066 P(M|A)=0.26 P(H|A)=0.66 P(L|A c )=0.643 P(M|A c )=0.286 P(H|A c )=0.071 Multiplication rule: Assuming that all of the conditioning events have positive probability,

ELEC 303, Koushanfar, Fall’09 Conditional probability example 4 Three cards are selected from a deck of 52 cards without replacement. Find the probability that none of the drawn cards is a picture, i.e., (J,Q,K)  drawn set

ELEC 303, Koushanfar, Fall’09 The Monty hall problem You are told that a prize is equally likely behind any of the 3 closed doors You randomly point to one of the doors A friend opens one of the remaining 2 doors, after ensuring that the prize is not behind it Consider the following strategies: – Stick to your initial choice – Switch to the other unopened door Picture courtesy of

ELEC 303, Koushanfar, Fall’09 Total probability theorem Divide and conquer Partition the sample space into A 1, A 2, A 3 For any even B: P(B) = P(A 1  B) + P(A 2  B) + P(A 3  B) = P(A 1 )P(B|A 1 )+P(A 2 )P(B|A 2 )+P(A 3 )P(B|A 3 ) A1A1 A2A2 A3A3 B B B BcBc BcBc BcBc A1BA1B A2BA2B A3BA3B Figure courtesy of Bertsekas&Tsitsiklis, Introduction to Probability, 2008

ELEC 303, Koushanfar, Fall’09 Radar example 3 (cont’d) P(Present) = 0.3 P(Medium|Present)=0.08/0.3 P(Present|low)=0.02/0.47 Example courtesy of Prof. Dahleh, MIT

ELEC 303, Koushanfar, Fall’09 Radar example 3 (cont’d) Given the radar reading, what is the best decision about the plane? Criterion for decision: minimize “probability of error” Decide absent or present for each reading Example courtesy of Prof. Dahleh, MIT

ELEC 303, Koushanfar, Fall’09 Radar example 3 (cont’d) Error={Present and decision is absent} or {Absent and decision is present} Disjoint events P(error)= Example courtesy of Prof. Dahleh, MIT

ELEC 303, Koushanfar, Fall’09 Extended radar example P(Threat)=Prior probability of threat = p Threat alert affects the outcome Example courtesy of Prof. Dahleh, MIT P(…|Threat) P(…|No threat)

ELEC 303, Koushanfar, Fall’09 Extended radar example A=Airplane, R=Radar reading If we let p=P(Threat), then we get: Example courtesy of Prof. Dahleh, MIT

ELEC 303, Koushanfar, Fall’09 Extended radar example Given the radar registered high and a plane was absent, what is the probability that there was a threat? How does the decision region behave as a function of p? Example courtesy of Prof. Dahleh, MIT

ELEC 303, Koushanfar, Fall’09 Extended radar example Example courtesy of Prof. Dahleh, MIT

ELEC 303, Koushanfar, Fall’09 Bayes rule The total probability theorem is used in conjunction with the Bayes rule: Let A 1,A 2,…,An be disjoint events that form a partition of the sample space, and assume that P(A i ) > 0, for all i. Then, for any event B such that P(B)>0, we have