Thinking with Probability

Size: px
Start display at page:

Download "Thinking with Probability"

Transcription

1 Thinking with Probability Thinking fast and slow Thinking by decomposing events formalising probability rules conditional probability Brain Teasers Tijms Problems, Chap 1 2 dice rolled; one is 6. What prob other is 6? Aged 22 Prob of death Monty Hall; Choose 1; Learn goat at 2. Pr(car at 3)? 2 babies dead. Pr(mother murderer)? ST Week 6 1

2 Thinking with Probability Thinking about systems by decomposing events Formalising probability rules conditional probability Forward modelling A makes B more likely Inverse thinking Have observed B; Pr(A B) Evaluating evidence Bayes Rule Using evidence in prediction Statistical Inference ST Week 6 2

3 Evaluating Evidence with Probs How does evidence lead to conclusions in situations of uncertainty? Bayes Theorem Data fusion, use of techniques that combine data from multiple sources and gather that information in order to achieve inferences, which will be more efficient and potentially more accurate than if they were achieved by means of a single source. Spam Cancer Screening Law.. ST Week 6 3

4 All Probs are Conditional Probability Measure of uncertainty about event given info Pr(A wins league, given probs for each match, and indep) Pr(A wins league, given that somebody wins, and probs, and indep) Pr(A wins league, given no info, other than probs, and indep) Pr info (event ) Pr(event info) Simple Forward Theory Subtle Inverse Inference ST Week 6 4

5 Bayes Rule Inverting the Conditioning Pr( Aand B) Pr( A B) Pr( B) Pr( B and A) Pr( B A) Pr( A) Pr( B) Pr( B A) Pr( A B) Pr( A) Multiple Possibilities B B OR B OR... B 1 2 Pr( B A) i Pr( A Bi)Pr( Bi) Pr( A B )Pr( B )... Pr( A B )Pr( B ) 1 1 n n n ST Week 6 5

6 Inversion 2 dice rolled; one is 6. What prob other is 6? 2 dice rolled; first is 6. What prob other is 6? ST Week 6 6

7 Serious Sally Clarke - Sudden Infant Death SID The case was widely criticised because of the way statistical evidence was misrepresented in the original trial, particularly by Meadow. He stated in evidence as an expert witness that "one sudden infant death in a family is a tragedy, two is suspicious and three is murder unless proven otherwise" (Meadow's law). He claimed that, for an affluent non-smoking family like the Clarks, the probability of a single cot death was 1 in 8,543, so the probability of two cot deaths in the same family was around "1 in 73 million" ( ). ST Week 6 7

8 Light Metro Wed 10 Nov 2010 Teens at risk from hyper-texting Teenagers who send more than 100 text messages per day are more likely to have had sex, tried drugs, research has revealed students at 20 schools; hyper-texting 19.2% Such teens 43% more likely to have tried alcohol. ST Week 6 8

9 Brain Teasers Monty Hall Game Show (Tijms, Ch 1, Q11) One car, behind one of three doors. Player selects one: say Door 1 Before opening this door host opens one of two others: say Door 2 GOAT! host offers chance to change selection. Issue Is there any point changing? Evidence in favour of (stay with) chosen door ST Week 6 9

10 Serious Life Expectancy in Ireland Average age at death = 75 Average age at death = 80 Average age at death, given survival to 60, = 79 ST Week 6 10

11 Cond Prob for Lifetimes Knowledge of current age impacts uncertainty on age at death Probability Distribution Poss LiveTimes Corresp Probs Pr(death at end day 3, given alive at start day 3) ST Week 6 11

12 Cond Prob for Lifetimes Knowledge of current age impacts uncertainty on age at death Poss Lives Probs Expt: Choose random component Pr(death at end day 3) = 0.30 Pr(alive at start day 3) = 0.70 What event ident ity? Pr(death at end day 3, given alive at start day 3) Pr(death 'at' 3 AND alive 'at' 3) Pr(death 'at' 3) 0.3 = = 0.43 Pr(alive 'at' 3) Pr(alive 'at' 3) 0.7 Pr(death end day k, given alive day 3) ,,, for k 3, 4,5,6 resp ST Week 6 12

13 Odds and Weight of Evidence Odds (in favour of A) Odds Pr A Twice as likely Home Advantage Risk Factor Pr Pr 1 A A ST Week 6 13

14 Odds and Weight of Evidence Odds Rule Form for Evidence Pr( A) Pr( A) Pr( A E) Pr( E A) ; Pr( A E) Pr( E A) Pr( E) Pr( E) Pr( A E) Pr( E A) Pr( A) Pr( A E) Pr( E A) Pr( A) ST Week 6 14

15 Weight of Evidence Pr( A E) Pr( E A) Pr( A) Pr( A E) Pr( E A) Pr( A) A Car behind door chosen (eg 1); E Host opens door (eg 2) Prior Odds(A) = 1 2 Pr( E A) Pr( E A) A Posterior Odds(A) Posterior Pr(A) = ST Week 6 15

16 Weight of Evidence Pr( A E) Pr( E A) Pr( A) Pr( A E) Pr( E A) Pr( A) A Car behind door chosen (eg 1); E Host opens door (eg 2) Prior Odds(A) = 1 2 Pr( E A) Pr( E A) A Posterior Odds(A) Posterior Pr(A) = ST Week 6 16

17 Brain Teasers Who is the murderer? (Tijms, Ch 1 Q6)? Murder committed; know either X or Y equally likely. Evidence: actual perp has blood group A 10% of people group A; X is group A Seek Pr( X is perp evidence) ST Week 6 17

18 Brain Teasers Who is the murderer? (Tijms, Ch 1 Q6)? Murder committed; know either X or Y equally likely. Evidence: actual perp has blood group A 10% of people group A; X is group A Seek Pr( X is perp evidence) Events are T /F Define Define H X murderer E Blood group A left at crime scene Pr( E H )Pr( H ) Pr( H E) Pr( E H )Pr( H ) Pr( E) Pr( H)? Pr( H)? Pr( E H )? Pr( E H )? Pr( H E)? ST Week 6 18

19 Brain Teasers Who is the murderer? (Tijms, Ch 1 Q6)? Murder committed; know either X or Y equally likely. Evidence: actual perp has blood group A 10% of people group A; X is group A Seek Pr( X is perp evidence) Define Define H X murderer E Blood group A left at crime scene Pr( E H )Pr( H ) Pr( H E) Pr( E H )Pr( H ) Pr( E) Pr( H) Pr( H) 0.5 Pr( E H ) 1; Pr( E H ) Pr( H E) ST Week 6 19

20 Weight of Evidence Evidence Fusion Pr( A E1AND... AND En) Pr( E1 A) Pr( En A) Pr( A)... Pr( A E AND... AND E ) Pr( E A) Pr( E A) Pr( A) 1 n 1 if evidence indep given AA, n ST Week 6 20

21 Serious Sally Clarke - Sudden Infant Death SID He claimed that, for an affluent non-smoking family like the Clarks, the probability of a single cot death was 1 in 8,543, so the probability of two cot deaths in the same family was around "1 in 73 million" ( ). Pr(2 Cot Deaths Normal Family) = Pr(Normal Family 2 Cot Deaths) Pr(Normal 2 Deaths) Pr(Normal ) Pr(2 Deaths Normal) = Pr(Not normal 2 Deaths) Pr(Not normal ) Pr(2 Deaths Not normal) ST Week 6 21

22 Serious Sally Clarke - Evidence Fusion Pr(Normal 2 Deaths) Pr(Normal ) Pr(1 Death Normal) = Pr(Not normal 2 Deaths) Pr(Not normal ) Pr(1 Death Not normal) nd Pr(2 Death Normal) nd Pr(2 Death Not normal) Formally Pr(2 Deaths Normal) = nd st Pr(2 Death 1 Death, Normal) Pr(1 Death Normal) ST Week 6 22

23 Background Overlaps completely with ST2351 ST Week 6 23

24 Decomposition via Conditional Probs Contestant chooses door 1, for example Car in fact behind each door with equal prob As car behind door 1 quiz master opens 2 or 3 with equal prob Contestant switches with prob 1 to Door: Goat Goat Car Contestant does not switch; remains with door 1 Car Car Goat Car Goat If car behind door 2 quiz master MUST open 3 ie prob = 1; sim ly if behind door 3 Prob wins = 2 3 ST Week

25 Inversion Survey of travellers in US finds: Pr A E Pr E A 20% have been to Europe; 15% have Amex card and have been to Europe; 55% have neither; What %age of Amex card holders have been to Europe? Amex Europe Europe Y N Y N Y 15% Y 15 Amex N 15% N 55 15% ST Week 6 25

26 Inversion Inverse Theory Prob ( 1 st Q, given 2 nd Q) Pr Q Q 1 2 PrQ Pr Q AND Q Pr Q Q Pr Q Pr Q Q Q Q Q Q Q Q Recall Pr Pr Pr Pr Pr Queens ST Week 6 26

27 Inversion Amex Europe Europe Y N Y N Y 15% Y 15 Amex N 15% N 55 15% Pr E A E Pr A AND E Pr A E Pr Pr A Pr Pr Pr Pr A E E A E E ST Week 6 27

28 Event Decomposition ( B OR B) Certain Event Pr( A) AND ( OR ) AND B OR A AND B A A B B A More generally B OR B OR... B Certain Event n A AND B OR A AND B... OR A AND B Pr( A) n A A AND A AND B OR B OR B 1 2 n ST Week 6 28

29 Event Identities Probability Monte Hall OR Choose Correct Door Choose Incorrect Door Certain Event Win by Staying Choose Correct Door Win by Switching Choose Incorrect Door Pr Win by Staying Pr( AOR B) Pr( A) Pr( B) Pr( A AND B) Important special case Pr( AOR B) Pr( A) Pr( B) when disjoint Addition Rule ST Week 6 29

30 Probability Rules Conditional Prob and Independence All computed probs: Sometimes Pr( A AND B) Pr( A B) Pr( B) Important special case Pr( A ANDB) Pr( A) Pr( B) when independent Pr Die 2AND Die Pr Die 2AND S need real world knowledge assumptions about real world useful to be explicit what - if Multiplication Rule ST Week 6 30

31 Chain Rule: Forward Theory Pr( Aand B) Pr( A B) Pr( B) Pr( A B) Extension Chain Rule Pr A AND B ANDC Pr( A AND B) C)Pr( C) But Pr( A AND B C) Pr( A B ANDC) Pr( B C) Pr( Aand B) Pr( B) Thus Pr A AND B ANDC Pr( A B ANDC)Pr( B C)Pr( C) Pr( A, BC, ) Pr( A B, C)Pr( B C)P r ( C) Special case Pr( A)Pr( B)Pr( C) if events probabilistically indep ST Week 6 31

32 Cards Forward Theory: Decompose By count By cond prob Prob 1 st two cards Queen? Define Pr Q, Q 1 2 Q ANDQ Pr Q Q Pr Q Simpler than combinatorics? Inverse Theory Prob ( 1 st Q, given 2 nd Q) Queens ST Week 6 32

33 Forward Theory: Decompose Cards Prob 2 nd card is Queen? Event Identity Q Q AND 2 2 whence Pr Q 2 ST Week 6 33

34 Forward Theory: Decompose Regular pack of cards; no replacement Focus Q 2 nd = 2 card is Q Decompose by considering Q Event Identity 1 Chance Tree Compute Pr( Q ) 2 Simulation equiv? Queens ST Week 6 34

35 Forward Theory: Decompose Password Draw 8 chars, unif at random, ABC XYZ Reject entire password if any dups within 8 Alt, reject char if same as any prev accepted char What is prob reject password (long run prop) ST Week 6 35

36 Password 8 from ABC XYZ (unif@rand, w/repl) Reject entire password if any dups within 8 N 7 N 6 N Pr Accept 8 N N N Pr Reject Forward Theory: Decompose Pr(at least one common birthday) = ST Week 6 36

37 Forward Theory: Decompose Password 8 from ABC XYZ (unif@rand, w/repl) Reject entire password if any dups within 8 Prob reject password Easier: Prob accept Define Seek A Accept first k chars from alphabet of N k Pr NOT A 8 A A AND A AND A A A AND A AND A Pr A A... AND A Pr A A... AND A Pr A1 Pr A A Pr A A... Pr A Event Identity Password OK =... Pr Pr N 7 N 6 N N N N Birthday problem ST Week 6 37

38 Forward Theory: Decompose Password 8 from ABC XYZ (unif@rand, w/repl) Reject entire password if any dups within 8 Prob reject password Easier: Prob accept Define A A AND A AND A Pr A A... AND A Pr A A... AND A... Pr A 8 Accept first kchars; Event Identity Password OK = A A AND A A AND A... AND A Pr Pr... Pr NOT A A k N 7 N 6 N N N N Birthday problem ST Week 6 38

39 Forward Recursion by Decomp: Dice Poss values of S are s 1,2, 6k k k k Pr S s p ; p 0, s 6( k 1) k s s S s S s ANDY any val k k k 1 Y y NDS s OR A y y1...6 k 1 k 1 Poss values of y 1,2, 6; Pr 1 Y y 6 k Y k p k s in terms of p k s p k1 ST Week 6 39

40 Conditional Independence A B C A C B C A B A AND B Formally Pr, Pr Pr Notation, A AND B A B Generalisation of Pr Pr Pr Example Markov Chain Y past Y Y Y Y Y t1 t1 t t1 t t1 Y Y Y Y Y Y Y Pr Pr Pr, Pr, Pr Pr t1 t1 t t1 t t1 t Subsys A using RAND() A Subsys C using RAND() C Subsys B using RAND() B Randomness in AC,BC dependent; eg AC large BC large (probably) Randomness in AC, BC cond indep, if we know the value of C ST Week 6 40

Lecture Stat 302 Introduction to Probability - Slides 5

Lecture Stat 302 Introduction to Probability - Slides 5 Lecture Stat 302 Introduction to Probability - Slides 5 AD Jan. 2010 AD () Jan. 2010 1 / 20 Conditional Probabilities Conditional Probability. Consider an experiment with sample space S. Let E and F be

More information

Slides 5: Reasoning with Random Numbers

Slides 5: Reasoning with Random Numbers Slides 5: Reasoning with Random Numbers Realistic Simulating What is convincing? Fast and efficient? Solving Problems Simulation Approach Using Thought Experiment or Theory Formal Language 1 Brain Teasers

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

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 14

Discrete 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 information

Probability, Statistics, and Bayes Theorem Session 3

Probability, Statistics, and Bayes Theorem Session 3 Probability, Statistics, and Bayes Theorem Session 3 1 Introduction Now that we know what Bayes Theorem is, we want to explore some of the ways that it can be used in real-life situations. Often the results

More information

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 10

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 10 EECS 70 Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 10 Introduction to Basic Discrete Probability In the last note we considered the probabilistic experiment where we flipped

More information

2.4 Conditional Probability

2.4 Conditional Probability 2.4 Conditional Probability The probabilities assigned to various events depend on what is known about the experimental situation when the assignment is made. Example: Suppose a pair of dice is tossed.

More information

First Digit Tally Marks Final Count

First Digit Tally Marks Final Count Benford Test () Imagine that you are a forensic accountant, presented with the two data sets on this sheet of paper (front and back). Which of the two sets should be investigated further? Why? () () ()

More information

Great Theoretical Ideas in Computer Science

Great Theoretical Ideas in Computer Science 15-251 Great Theoretical Ideas in Computer Science Probability Theory: Counting in Terms of Proportions Lecture 10 (September 27, 2007) Some Puzzles Teams A and B are equally good In any one game, each

More information

Formalizing Probability. Choosing the Sample Space. Probability Measures

Formalizing 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 information

1. When applied to an affected person, the test comes up positive in 90% of cases, and negative in 10% (these are called false negatives ).

1. When applied to an affected person, the test comes up positive in 90% of cases, and negative in 10% (these are called false negatives ). CS 70 Discrete Mathematics for CS Spring 2006 Vazirani Lecture 8 Conditional Probability A pharmaceutical company is marketing a new test for a certain medical condition. According to clinical trials,

More information

Chapter 1 Principles of Probability

Chapter 1 Principles of Probability Chapter Principles of Probability Combining independent probabilities You have applied to three medical schools: University of California at San Francisco (UCSF), Duluth School of Mines (DSM), and Harvard

More information

18.05 Problem Set 5, Spring 2014 Solutions

18.05 Problem Set 5, Spring 2014 Solutions 8.0 Problem Set, Spring 04 Solutions Problem. (0 pts.) (a) We know that y i ax i b = ε i N(0,σ ). y i = ε i + ax i + b N(ax i + b, σ ). That is, Therefore f(y i a, b, x i,σ)= e (y i ax i b) σ π σ. (b)

More information

Elementary Discrete Probability

Elementary Discrete Probability Elementary Discrete Probability MATH 472 Financial Mathematics J Robert Buchanan 2018 Objectives In this lesson we will learn: the terminology of elementary probability, elementary rules of probability,

More information

Lecture 3. January 7, () Lecture 3 January 7, / 35

Lecture 3. January 7, () Lecture 3 January 7, / 35 Lecture 3 January 7, 2013 () Lecture 3 January 7, 2013 1 / 35 Outline This week s lecture: Fast review of last week s lecture: Conditional probability. Partition, Partition theorem. Bayes theorem and its

More information

CS 361: Probability & Statistics

CS 361: Probability & Statistics February 12, 2018 CS 361: Probability & Statistics Random Variables Monty hall problem Recall the setup, there are 3 doors, behind two of them are indistinguishable goats, behind one is a car. You pick

More information

Conditional Probability P( )

Conditional 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 information

Introduction to Probability Theory, Algebra, and Set Theory

Introduction to Probability Theory, Algebra, and Set Theory Summer School on Mathematical Philosophy for Female Students Introduction to Probability Theory, Algebra, and Set Theory Catrin Campbell-Moore and Sebastian Lutz July 28, 2014 Question 1. Draw Venn diagrams

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

Conditional Probability, Independence, Bayes Theorem Spring 2018

Conditional Probability, Independence, Bayes Theorem Spring 2018 Conditional Probability, Independence, Bayes Theorem 18.05 Spring 2018 Slides are Posted Don t forget that after class we post the slides including solutions to all the questions. February 13, 2018 2 /

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

ORF 245 Fundamentals of Statistics Chapter 5 Probability

ORF 245 Fundamentals of Statistics Chapter 5 Probability ORF 245 Fundamentals of Statistics Chapter 5 Probability Robert Vanderbei Oct 2015 Slides last edited on October 14, 2015 http://www.princeton.edu/ rvdb Sample Spaces (aka Populations) and Events When

More information

Probability deals with modeling of random phenomena (phenomena or experiments whose outcomes may vary)

Probability deals with modeling of random phenomena (phenomena or experiments whose outcomes may vary) Chapter 14 From Randomness to Probability How to measure a likelihood of an event? How likely is it to answer correctly one out of two true-false questions on a quiz? Is it more, less, or equally likely

More information

Independence 1 2 P(H) = 1 4. On the other hand = P(F ) =

Independence 1 2 P(H) = 1 4. On the other hand = P(F ) = Independence Previously we considered the following experiment: A card is drawn at random from a standard deck of cards. Let H be the event that a heart is drawn, let R be the event that a red card is

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

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

Some Basic Concepts of Probability and Information Theory: Pt. 1

Some Basic Concepts of Probability and Information Theory: Pt. 1 Some Basic Concepts of Probability and Information Theory: Pt. 1 PHYS 476Q - Southern Illinois University January 18, 2018 PHYS 476Q - Southern Illinois University Some Basic Concepts of Probability and

More information

Conditional Probability, Independence, Bayes Theorem Spring January 1, / 28

Conditional Probability, Independence, Bayes Theorem Spring January 1, / 28 Conditional Probability, Independence, Bayes Theorem 18.05 Spring 2014 January 1, 2017 1 / 28 Sample Space Confusions 1. Sample space = set of all possible outcomes of an experiment. 2. The size of the

More information

Conditional Probability, Independence, Bayes Theorem Spring January 1, / 23

Conditional Probability, Independence, Bayes Theorem Spring January 1, / 23 Conditional Probability, Independence, Bayes Theorem 18.05 Spring 2014 January 1, 2017 1 / 23 Sample Space Confusions 1. Sample space = set of all possible outcomes of an experiment. 2. The size of the

More information

Lecture 3: Probability

Lecture 3: Probability Lecture 3: Probability 28th of October 2015 Lecture 3: Probability 28th of October 2015 1 / 36 Summary of previous lecture Define chance experiment, sample space and event Introduce the concept of the

More information

Probability. Patrick Breheny. September 1. Events and probability Working with probabilities Additional theorems/rules Summary

Probability. Patrick Breheny. September 1. Events and probability Working with probabilities Additional theorems/rules Summary Probability Patrick Breheny September 1 Patrick Breheny University of Iowa Biostatistical Methods I (BIOS 5710) 1 / 52 Probability Events and probability Mathematical definitions Meaning and interpretation

More information

Info 2950, Lecture 4

Info 2950, Lecture 4 Info 2950, Lecture 4 7 Feb 2017 More Programming and Statistics Boot Camps? This week (only): PG Wed Office Hour 8 Feb at 3pm Prob Set 1: due Mon night 13 Feb (no extensions ) Note: Added part to problem

More information

Security Analytics. Topic 3: Review of Probability. Purdue University Prof. Ninghui Li Based on slides by Prof. Jenifer Neville and Chris Clifton

Security Analytics. Topic 3: Review of Probability. Purdue University Prof. Ninghui Li Based on slides by Prof. Jenifer Neville and Chris Clifton Security Analytics Topic 3: Review of Probability Purdue University Prof. Ninghui Li Based on slides by Prof. Jenifer Neville and Chris Clifton Readings Chapter 4 Data Analysis and Uncertainty Sections

More information

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability Department of Electrical Engineering University of Arkansas ELEG 3143 Probability & Stochastic Process Ch. 1 Probability Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 Applications Elementary Set Theory Random

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

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

ORF 245 Fundamentals of Statistics Chapter 1 Probability

ORF 245 Fundamentals of Statistics Chapter 1 Probability ORF 245 Fundamentals of Statistics Chapter 1 Probability Robert Vanderbei Sept 2014 Slides last edited on September 19, 2014 http://www.princeton.edu/ rvdb Course Info Prereqs: Textbook: Three semesters

More information

Probability: Part 1 Naima Hammoud

Probability: Part 1 Naima Hammoud Probability: Part 1 Naima ammoud Feb 7, 2017 Motivation ossing a coin Rolling a die Outcomes: eads or ails Outcomes: 1, 2, 3, 4, 5 or 6 Defining Probability If I toss a coin, there is a 50% chance I will

More information

ST2004 Week 8 Probability Distributions

ST2004 Week 8 Probability Distributions ST004 Week 8 Probability Distributions Mathematical models for distributions The language of distributions Expected Values and Variances Law of Large Numbers ST004 0 Week 8 Probability Distributions Random

More information

Outline. Introduction. Bayesian Probability Theory Bayes rule Bayes rule applied to learning Bayesian learning and the MDL principle

Outline. Introduction. Bayesian Probability Theory Bayes rule Bayes rule applied to learning Bayesian learning and the MDL principle Outline Introduction Bayesian Probability Theory Bayes rule Bayes rule applied to learning Bayesian learning and the MDL principle Sequence Prediction and Data Compression Bayesian Networks Copyright 2015

More information

Probability II. Patrick Breheny. February 16. Basic rules (cont d) Advanced rules Summary

Probability II. Patrick Breheny. February 16. Basic rules (cont d) Advanced rules Summary Probability II Patrick Breheny February 16 Patrick Breheny University of Iowa Introduction to Biostatistics (BIOS 4120) 1 / 48 Balls in urns Basic rules (cont d) The multiplication rule Imagine a random

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

Chapter 7: Section 7-1 Probability Theory and Counting Principles

Chapter 7: Section 7-1 Probability Theory and Counting Principles Chapter 7: Section 7-1 Probability Theory and Counting Principles D. S. Malik Creighton University, Omaha, NE D. S. Malik Creighton University, Omaha, NE Chapter () 7: Section 7-1 Probability Theory and

More information

Where are we in CS 440?

Where are we in CS 440? Where are we in CS 440? Now leaving: sequential deterministic reasoning Entering: probabilistic reasoning and machine learning robability: Review of main concepts Chapter 3 Making decisions under uncertainty

More information

1 True/False. Math 10B with Professor Stankova Worksheet, Discussion #9; Thursday, 2/15/2018 GSI name: Roy Zhao

1 True/False. Math 10B with Professor Stankova Worksheet, Discussion #9; Thursday, 2/15/2018 GSI name: Roy Zhao Math 10B with Professor Stankova Worksheet, Discussion #9; Thursday, 2/15/2018 GSI name: Roy Zhao 1 True/False 1. True False When we solve a problem one way, it is not useful to try to solve it in a second

More information

Probability Experiments, Trials, Outcomes, Sample Spaces Example 1 Example 2

Probability Experiments, Trials, Outcomes, Sample Spaces Example 1 Example 2 Probability Probability is the study of uncertain events or outcomes. Games of chance that involve rolling dice or dealing cards are one obvious area of application. However, probability models underlie

More information

Homework 4 solutions

Homework 4 solutions Homework 4 solutions Due Thu, Sept 25, 2003 Problem 2 p.104 Certainly for i < 7 we know that this conditional probability must be zero (there aren t any negative numbers on the dice). i = 7 The first die

More information

Data Analysis and Statistical Methods Statistics 651

Data Analysis and Statistical Methods Statistics 651 Data Analysis and Statistical Methods Statistics 651 http://www.stat.tamu.edu/~suhasini/teaching.html Lecture 6 (MWF) Conditional probabilities and associations Suhasini Subba Rao Review of previous lecture

More information

1. Two useful probability results. Provide the reason for each step of the proofs. (a) Result: P(A ) + P(A ) = 1. = P(A ) + P(A ) < Axiom 3 >

1. Two useful probability results. Provide the reason for each step of the proofs. (a) Result: P(A ) + P(A ) = 1. = P(A ) + P(A ) < Axiom 3 > Textbook: D.C. Montgomery and G.C. Runger, Applied Statistics and Probability for Engineers, John Wiley & Sons, New York, 2003. Chapter 2, Sections 2.3 2.5. 1. Two useful probability results. Provide the

More information

Conditional Probability & Independence. Conditional Probabilities

Conditional 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 information

Expected Value II. 1 The Expected Number of Events that Happen

Expected Value II. 1 The Expected Number of Events that Happen 6.042/18.062J Mathematics for Computer Science December 5, 2006 Tom Leighton and Ronitt Rubinfeld Lecture Notes Expected Value II 1 The Expected Number of Events that Happen Last week we concluded by showing

More information

Where are we in CS 440?

Where are we in CS 440? Where are we in CS 440? Now leaving: sequential deterministic reasoning Entering: probabilistic reasoning and machine learning robability: Review of main concepts Chapter 3 Motivation: lanning under uncertainty

More information

Probability. VCE Maths Methods - Unit 2 - Probability

Probability. VCE Maths Methods - Unit 2 - Probability Probability Probability Tree diagrams La ice diagrams Venn diagrams Karnough maps Probability tables Union & intersection rules Conditional probability Markov chains 1 Probability Probability is the mathematics

More information

Lecture 1: Review of Probability

Lecture 1: Review of Probability EAS31136/B9036: Statistics in Earth & Atmospheric Sciences Lecture 1: Review of Probability Instructor: Prof. Johnny Luo www.sci.ccny.cuny.edu/~luo Dates Topic Reading (Based on the 2 nd Edition of Wilks

More information

2.4. Conditional Probability

2.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 information

Naive Bayes classification

Naive Bayes classification Naive Bayes classification Christos Dimitrakakis December 4, 2015 1 Introduction One of the most important methods in machine learning and statistics is that of Bayesian inference. This is the most fundamental

More information

Properties of Probability

Properties of Probability Econ 325 Notes on Probability 1 By Hiro Kasahara Properties of Probability In statistics, we consider random experiments, experiments for which the outcome is random, i.e., cannot be predicted with certainty.

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

Lecture 4: Independent Events and Bayes Theorem

Lecture 4: Independent Events and Bayes Theorem Lecture 4: Independent Events and Bayes Theorem Independent Events Law of Total Probability Bayes Theorem Case Study: Prosecutor s Fallacy Dr. Shaobo Han, STA111: Probability and Statistical Inference

More information

Discrete Probability

Discrete Probability MAT 258 Discrete Mathematics Discrete Probability Kenneth H. Rosen and Kamala Krithivasan Discrete Mathematics 7E Global Edition Chapter 7 Reproduced without explicit consent Fall 2016 Week 11 Probability

More information

Uncertainty. Michael Peters December 27, 2013

Uncertainty. Michael Peters December 27, 2013 Uncertainty Michael Peters December 27, 20 Lotteries In many problems in economics, people are forced to make decisions without knowing exactly what the consequences will be. For example, when you buy

More information

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. Date: Monday 22nd May 2017 Time: 09:45-11:45

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. Date: Monday 22nd May 2017 Time: 09:45-11:45 COMP 14112 Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE Fundamentals of Artificial Intelligence Date: Monday 22nd May 2017 Time: 09:45-11:45 Answer One Question from Section A and One

More information

Independence. Conditional Probability. Conditional Probability. Independence. SCONE Lab. Definition: Two events E and F are independent iff

Independence. Conditional Probability. Conditional Probability. Independence. SCONE Lab. Definition: Two events E and F are independent iff Independence Definition: Two events E and F are independent iff Seoul National University Example Pr(E F) = Pr(E) Pr(F) Flip a coin twice Event E: First trial is heads Event F: Second trial is tails Pr(E)

More information

Discrete Random Variables

Discrete Random Variables Discrete Random Variables An Undergraduate Introduction to Financial Mathematics J. Robert Buchanan Introduction The markets can be thought of as a complex interaction of a large number of random processes,

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

Machine Learning. CS Spring 2015 a Bayesian Learning (I) Uncertainty

Machine Learning. CS Spring 2015 a Bayesian Learning (I) Uncertainty Machine Learning CS6375 --- Spring 2015 a Bayesian Learning (I) 1 Uncertainty Most real-world problems deal with uncertain information Diagnosis: Likely disease given observed symptoms Equipment repair:

More information

Intermediate Math Circles November 15, 2017 Probability III

Intermediate Math Circles November 15, 2017 Probability III Intermediate Math Circles November 5, 07 Probability III Example : You have bins in which there are coloured balls. The balls are identical except for their colours. The contents of the containers are:

More information

Lecture Notes. Here are some handy facts about the probability of various combinations of sets:

Lecture Notes. Here are some handy facts about the probability of various combinations of sets: Massachusetts Institute of Technology Lecture 20 6.042J/18.062J: Mathematics for Computer Science April 20, 2000 Professors David Karger and Nancy Lynch Lecture Notes 1 Set Theory and Probability 1.1 Basic

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

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

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

Department of Mathematics

Department of Mathematics Department of Mathematics Ma /0 KC Border Introduction to Probability and Statistics Winter 08 Lecture 4: Bayes Law Relevant textbook passages: Pitman []:.4,.,.,. Larsen Marx [4]:.4,. 4. Conditional Probability

More information

Bi=[X=i] i=i,z, forma partition. Example

Bi=[X=i] i=i,z, forma partition. Example Example Suppose that a person plays a game in which his score must be one of the 50 numbers 1, 2,,50 and that each of these 50 numbers is equally likely to be his score The first time he plays the game,

More information

Lectures 5 & 6: Hypothesis Testing

Lectures 5 & 6: Hypothesis Testing Lectures 5 & 6: Hypothesis Testing in which you learn to apply the concept of statistical significance to OLS estimates, learn the concept of t values, how to use them in regression work and come across

More information

The rest of the course

The rest of the course The rest of the course Subtleties involved with maximizing expected utility: Finding the right state space: The wrong state space leads to intuitively incorrect answers when conditioning Taking causality

More information

Probability, Entropy, and Inference / More About Inference

Probability, Entropy, and Inference / More About Inference Probability, Entropy, and Inference / More About Inference Mário S. Alvim (msalvim@dcc.ufmg.br) Information Theory DCC-UFMG (2018/02) Mário S. Alvim (msalvim@dcc.ufmg.br) Probability, Entropy, and Inference

More information

Basic Statistics for SGPE Students Part II: Probability theory 1

Basic Statistics for SGPE Students Part II: Probability theory 1 Basic Statistics for SGPE Students Part II: Probability theory 1 Mark Mitchell mark.mitchell@ed.ac.uk Nicolai Vitt n.vitt@ed.ac.uk University of Edinburgh September 2016 1 Thanks to Achim Ahrens, Anna

More information

Discrete Random Variables

Discrete Random Variables Discrete Random Variables An Undergraduate Introduction to Financial Mathematics J. Robert Buchanan 2014 Introduction The markets can be thought of as a complex interaction of a large number of random

More information

Class 26: review for final exam 18.05, Spring 2014

Class 26: review for final exam 18.05, Spring 2014 Probability Class 26: review for final eam 8.05, Spring 204 Counting Sets Inclusion-eclusion principle Rule of product (multiplication rule) Permutation and combinations Basics Outcome, sample space, event

More information

4 Lecture 4 Notes: Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio

4 Lecture 4 Notes: Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio 4 Lecture 4 Notes: Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio Wrong is right. Thelonious Monk 4.1 Three Definitions of

More information

Bayesian decision theory. Nuno Vasconcelos ECE Department, UCSD

Bayesian decision theory. Nuno Vasconcelos ECE Department, UCSD Bayesian decision theory Nuno Vasconcelos ECE Department, UCSD Notation the notation in DHS is quite sloppy e.g. show that ( error = ( error z ( z dz really not clear what this means we will use the following

More information

AST 418/518 Instrumentation and Statistics

AST 418/518 Instrumentation and Statistics AST 418/518 Instrumentation and Statistics Class Website: http://ircamera.as.arizona.edu/astr_518 Class Texts: Practical Statistics for Astronomers, J.V. Wall, and C.R. Jenkins Measuring the Universe,

More information

(3) Review of Probability. ST440/540: Applied Bayesian Statistics

(3) Review of Probability. ST440/540: Applied Bayesian Statistics Review of probability The crux of Bayesian statistics is to compute the posterior distribution, i.e., the uncertainty distribution of the parameters (θ) after observing the data (Y) This is the conditional

More information

Uncertainty. Russell & Norvig Chapter 13.

Uncertainty. Russell & Norvig Chapter 13. Uncertainty Russell & Norvig Chapter 13 http://toonut.com/wp-content/uploads/2011/12/69wp.jpg Uncertainty Let A t be the action of leaving for the airport t minutes before your flight Will A t get you

More information

EE126: Probability and Random Processes

EE126: Probability and Random Processes EE126: Probability and Random Processes Lecture 1: Probability Models Abhay Parekh UC Berkeley January 18, 2011 1 Logistics 2 Introduction 3 Model 4 Examples What is this course about? Most real-world

More information

Random Sampling - what did we learn?

Random Sampling - what did we learn? Homework Assignment Chapter 1, Problems 6, 15 Chapter 2, Problems 6, 8, 9, 12 Chapter 3, Problems 4, 6, 15 Chapter 4, Problem 16 Due a week from Friday: Sept. 22, 12 noon. Your TA will tell you where to

More information

Random Sampling - what did we learn? Homework Assignment

Random Sampling - what did we learn? Homework Assignment Homework Assignment Chapter 1, Problems 6, 15 Chapter 2, Problems 6, 8, 9, 12 Chapter 3, Problems 4, 6, 15 Chapter 4, Problem 16 Due a week from Friday: Sept. 22, 12 noon. Your TA will tell you where to

More information

September 7, Introduction to Math 210: Mathematics in the Age of Information. Class Website: kazdan/210.

September 7, Introduction to Math 210: Mathematics in the Age of Information. Class Website:   kazdan/210. Math 210 Jerry L. Kazdan These are rough lecture notes from Math 210 in Fall 2006. It is far from polished or complete This section mainly covers the material on probability covered in September 2006.

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

CISC 1100/1400 Structures of Comp. Sci./Discrete Structures Chapter 7 Probability. Outline. Terminology and background. Arthur G.

CISC 1100/1400 Structures of Comp. Sci./Discrete Structures Chapter 7 Probability. Outline. Terminology and background. Arthur G. CISC 1100/1400 Structures of Comp. Sci./Discrete Structures Chapter 7 Probability Arthur G. Werschulz Fordham University Department of Computer and Information Sciences Copyright Arthur G. Werschulz, 2017.

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

Probability Review Lecturer: Ji Liu Thank Jerry Zhu for sharing his slides

Probability 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 information

Probability is related to uncertainty and not (only) to the results of repeated experiments

Probability is related to uncertainty and not (only) to the results of repeated experiments Uncertainty probability Probability is related to uncertainty and not (only) to the results of repeated experiments G. D Agostini, Probabilità e incertezze di misura - Parte 1 p. 40 Uncertainty probability

More information

MATH2206 Prob Stat/20.Jan Weekly Review 1-2

MATH2206 Prob Stat/20.Jan Weekly Review 1-2 MATH2206 Prob Stat/20.Jan.2017 Weekly Review 1-2 This week I explained the idea behind the formula of the well-known statistic standard deviation so that it is clear now why it is a measure of dispersion

More information

Maximizing expected utility

Maximizing expected utility Maximizing expected utility Earlier we looked at many decision rules: maximin minimax regret principle of insufficient reason... The most commonly used rule (and the one taught in business schools!) is

More information

Probability Pr(A) 0, for any event A. 2. Pr(S) = 1, for the sample space S. 3. If A and B are mutually exclusive, Pr(A or B) = Pr(A) + Pr(B).

Probability Pr(A) 0, for any event A. 2. Pr(S) = 1, for the sample space S. 3. If A and B are mutually exclusive, Pr(A or B) = Pr(A) + Pr(B). This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. Your use of this material constitutes acceptance of that license and the conditions of use of materials on this

More information

6 Event-based Independence and Conditional Probability. Sneak peek: Figure 3: Conditional Probability Example: Sneak Peek

6 Event-based Independence and Conditional Probability. Sneak peek: Figure 3: Conditional Probability Example: Sneak Peek 6 Event-based Independence and Conditional Probability Example Example Roll 6.1. a fair Roll dicea dice... Sneak peek: Figure 3: Conditional Probability Example: Sneak Peek Example 6.2 (Slides). Diagnostic

More information

CS1800 Probability 3: Bayes Rule. Professor Kevin Gold

CS1800 Probability 3: Bayes Rule. Professor Kevin Gold CS1800 Probability 3: Bayes Rule Professor Kevin Gold Brief Review of Probability - Counting Outcomes and Axioms Recall from before that we can calculate probabilities by counting success outcomes and

More information

Conditional Probability

Conditional Probability Conditional Probability Terminology: The probability of an event occurring, given that another event has already occurred. P A B = ( ) () P A B : The probability of A given B. Consider the following table:

More information

Sample Space: Specify all possible outcomes from an experiment. Event: Specify a particular outcome or combination of outcomes.

Sample Space: Specify all possible outcomes from an experiment. Event: Specify a particular outcome or combination of outcomes. Chapter 2 Introduction to Probability 2.1 Probability Model Probability concerns about the chance of observing certain outcome resulting from an experiment. However, since chance is an abstraction of something

More information