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.

Slides:



Advertisements
Similar presentations
Day 16 More on conditional probability, independence and total probability formula.
Advertisements

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Sets: Reminder Set S – sample space - includes all possible outcomes
SI485i : NLP Day 2 Probability Review. Introduction to Probability Experiment (trial) Repeatable procedure with well-defined possible outcomes Outcome.
Probability Sample Space Diagrams.
Probability By Laura Farrington 8GT. What is Probability? Probability is about the chance of something happening. When we talk about how probable something.
1 Introduction to Stochastic Models GSLM Outline  course outline course outline  Chapter 1 of the textbook.
CONDITIONAL PROBABILITY and INDEPENDENCE In many experiments we have partial information about the outcome, when we use this info the sample space becomes.
Section 1.2 Suppose A 1, A 2,..., A k, are k events. The k events are called mutually exclusive if The k events are called mutually exhaustive if A i 
Math 310 Section 7.1 Probability. What is a probability? Def. In common usage, the word "probability" is used to mean the chance that a particular event.
PROBABILITY IDEAS Random Experiment – know all possible outcomes, BUT
P robability Sample Space 郭俊利 2009/02/27. Probability 2 Outline Sample space Probability axioms Conditional probability Independence 1.1 ~ 1.5.
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.
Probability.
Conditional Probability Brian Carrico Nov 5, 2009.
Simple Mathematical Facts for Lecture 1. Conditional Probabilities Given an event has occurred, the conditional probability that another event occurs.
1 Probability. 2 Today’s plan Probability Notations Laws of probability.
Chapter 1 Probability Spaces 主講人 : 虞台文. Content Sample Spaces and Events Event Operations Probability Spaces Conditional Probabilities Independence of.
From Randomness to Probability
Special Topics. General Addition Rule Last time, we learned the Addition Rule for Mutually Exclusive events (Disjoint Events). This was: P(A or B) = P(A)
Dependent and Independent Events. Events are said to be independent if the occurrence of one event has no effect on the occurrence of another. For example,
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,
Probability Probability is the measure of how likely an event is. An event is one or more outcomes of an experiment. An outcome is the result of a single.
Chapter 16 Probability. Activity Rock-Paper-Scissors Shoot Tournament 1)Pair up and choose one person to be person A and the other person B. 2)Play 9.
Probability The calculated likelihood that a given event will occur
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.
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
Computing Fundamentals 2 Lecture 6 Probability Lecturer: Patrick Browne
1 Chapter 4, Part 1 Repeated Observations Independent Events The Multiplication Rule Conditional Probability.
Copyright © Cengage Learning. All rights reserved. Elementary Probability Theory 5.
Probability and Simulation Rules in Probability. Probability Rules 1. Any probability is a number between 0 and 1 0 ≤ P[A] ≤ 1 0 ≤ P[A] ≤ 1 2. The sum.
Conditional Probability Notes from Stat 391. Conditional Events We want to know P(A) for an experiment Can event B influence P(A)? –Definitely! Assume.
PROBABILITY IN OUR DAILY LIVES
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 3 – Conditional probability Farinaz Koushanfar ECE Dept., Rice University Sept 1, 2009.
Probability You’ll probably like it!. Probability Definitions Probability assignment Complement, union, intersection of events Conditional probability.
12/7/20151 Math b Conditional Probability, Independency, Bayes Theorem.
Introduction to Probability 1. What is the “chance” that sales will decrease if the price of the product is increase? 2. How likely that the Thai GDP will.
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) =
Probability Likelihood of an event occurring! Random Circumstances A random circumstance is one in which the outcome is unpredictable. Test results are.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
How likely is it that…..?. The Law of Large Numbers says that the more times you repeat an experiment the closer the relative frequency of an event will.
Natural Language Processing Giuseppe Attardi Introduction to Probability IP notice: some slides from: Dan Jurafsky, Jim Martin, Sandiway Fong, Dan Klein.
9-7Independent and Dependent Events 9-7 Independent and Dependent Events (pg ) Indicator: D7.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
Conditional Probability and the Multiplication Rule NOTES Coach Bridges.
Probability Experiments Problem Solving Sample Spaces Theoretical vs Experimental Compound Events Independent and Dependent Events.
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:
PROBABILITY AND BAYES THEOREM 1. 2 POPULATION SAMPLE PROBABILITY STATISTICAL INFERENCE.
STATISTICS 6.0 Conditional Probabilities “Conditional Probabilities”
Probability and Simulation The Study of Randomness.
3.2-Conditional Probability The probability of an event occurring given another event has already occurred. P(B|A) = “Probability of B, given A” # outcomes.
AP Statistics Probability Rules. Definitions Probability of an Outcome: A number that represents the likelihood of the occurrence of an outcome. Probability.
Math 1320 Chapter 7: Probability 7.3 Probability and Probability Models.
6.2 – Probability Models It is often important and necessary to provide a mathematical description or model for randomness.
Probability What is the probability of rolling “snake eyes” in one roll? What is the probability of rolling “yahtzee” in one roll?
Conditional Probability 423/what-is-your-favorite-data-analysis-cartoon 1.
Chapter 15 Probability Rules!.
Definitions Addition Rule Multiplication Rule Tables
Adding Probabilities 12-5
Conditional Probability & the Multiplication Rule
Chapter 6 6.1/6.2 Probability Probability is the branch of mathematics that describes the pattern of chance outcomes.
What is Probability? Quantification of uncertainty.
Basic Probability aft A RAJASEKHAR YADAV.
CSCI 5832 Natural Language Processing
Advanced Artificial Intelligence
Probability of TWO EVENTS
A random experiment gives rise to possible outcomes, but any particular outcome is uncertain – “random”. For example, tossing a coin… we know H or T will.
Chapter 1 Probability Spaces
Presentation transcript:

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 events A and B –P(A∩B)=P(A)P(B) –Two coin tosses A={first toss is a head}, B={second toss is a head} –Disjoint vs independent P(A∩B)=0, if P(A)>0 and P(B)>0, P(A∩B) < P(A)P(B). They are never independent. A={first toss is a head}, B={first toss is a tail} P(A)=0.5, P(B)=0.5, P(A∩B)=0

Conditional Probability 1.4 Total Probability Theorem and Bayes’ Rule

2 2 Conditional Probability A way to reason about the outcome given partial information Example1 –To toss a fair coin 100 times, what’s the probability that the first toss was a head? Fair coin 1/2 –To toss a fair coin 100 times, if 99 tails come up, what’s the probability that the first toss was a head? Very small? Example2 –A fair coin and an unfair coin (1/4 tail, 3/4 head) The first toss is fair, if the outcome is a head, use the fair coin for the 2 nd toss, if the outcome is a tail, use the unfair coin for the 2 nd toss. What’s the probability that the 2nd toss was a tail? –½x½ + ½x¼ = What’s the probability that the 2nd toss was a tail if we know that the first toss was a tail? –1/4

3 3 Conditional Probability Definition of a conditional probability –The probability of event A given event B (P(B)>0 ) –P(A|B)=P(A) if A and B are independent A new probability law (recall the definition of probability laws) –

4 4 Conditional Probability Examples –Two rolls of a die, what’s the probability that the first roll was a 1? –Fair dice 1/6 –Two rolls of a die, the sum of the two rolls is 6, what’s the probability that the first roll was a 1? B: (1,5) (2,4) (3,3) (4,2) (5,1), A and B: (1,5) P(A|B)= (1/36)/(5/36)=1/5 –Two rolls of a die, the sum of the two rolls is 6, what’s the probability that the first roll was EVEN? B: (1,5) (2,4) (3,3) (4,2) (5,1), A and B: (2,4) (4,2) P(A|B)= (2/36)/(5/36)=2/5

5 5 Conditional Probability The new universe is B P(A 1 )> P(A 2 ), does it mean that P(A 1 |B)> P(A 2 |B)? No! –An Example: Two rolls of a die B: the sum of the two rolls is 4, (1,3) (2,2) (3,1) A 1 : the first roll was 1 or 2 A 2 : the first roll was 3, 4, 5 or 6 –P(A 1 )=1/3 P(A 2 )=2/3 P(B)= 3/36 =1/12 –P(A 1 ∩ B) = 2/36 = 1/18 P(A 2 ∩ B) = 1/36 –P(A 1 | B)= (1/18)/(1/12) =2/3 P(A 2 | B)= (1/36)/(1/12) =1/3

6 6 Conditional Probability The Chain Rule

7 7 Conditional Independence Conditional independence, A and C are independent conditional on B, P(B)>0 P(A∩C|B)=P(A|B) P(C|B) Example (conditional independence ≠ independence): unfair coins, coin 1- (0.9 head, 0.1 tail) coin 2- (0.1 head, 0.9 tail), coin 3 is fair. –Toss coin 3 first. If it’s head, toss coin 1 twice. If it’s tail, toss coin 2 twice. –A= X H X, the event that the 2nd toss is a head –C= X X H, the event that the 3rd toss is a head –B= H X X, the event that the first toss is a head

8 8 Total Probability Theorem A 1, A 2, … A n be a partition of Ω –Recall the definition of a partition Total Probability Theorem

9 9 An example –A fair coin and an unfair coin (1/4 tail, 3/4 head) The first toss is fair, if the outcome is a head, use the fair coin for the 2nd and 3rd toss, if the outcome is a tail, use the unfair coin. –B={ the 2nd and 3rd tosses are both tails} –A 1 ={the first toss is an head}, A 2 ={the first toss is a tail}. A 1 and A 2 is a partition of the universe.. P(A 1 )=P(A 2 )= 1/2 –P(B|A 1 )= 1/4, P(B|A 2 )= 1/16

10 Bayes’ Rule A 1, A 2, … A n be a partition of Ω Bayes’ Rule

11 Bayes’ Rule An Example Question: –How likely is there a tumor given that a shade is observed? –P(A 2 |B)

12 Bayes’ Rule Bayes’ Rule from scratch

13 Sending a bit through a noisy channel Sender has a bit b- either 0 or 1 with equal probability to send to the receiver –p=0.1 –Question1: if the sender sends b once, and the receiver receives 1, what can the receiver say about b? –Question2: if the sender sends b 3 times, and the receiver receives 1,1,1 what can the receiver say about b? –Question3: if the sender sends b 3 times, and the receiver receives 1,0,1 what can the receiver say about b?