# Week 2: Conditional Probability and Bayes formula

Save this PDF as:

Size: px
Start display at page:

## Transcription

1 Week 2: Conditional Probability and Bayes formula We ask the following question: suppose we know that a certain event B has occurred. How does this impact the probability of some other A. This question is addressed by conditional probabilities. We write P (A B) = the conditional probability of A given B Example: Suppose a family has two children and suppose one of the children is a boy. What is the probability that both children are boys? To answer this question we suppose that it is equally likely to have boys or girls. The the sample space for the children is S = {BB, BG, GB, GG} where for example BG means that the first child is a boy and the second is a girl. We have Let us consider the events and P (BB) = P (BG) = P (GB) = P (GG) = 1 4 A = {BG, GB, BB}, one of the children is a boy B = {BB}, both children are boys Since all events are equally likely we if we know that F has occurred, we assign now the new probabilities 1/3 to all three events in F and thus we obtain P (A B) = 1 3 Definition of conditional probability: Given an event B, we assign new probabilities for each outcome in the sample space p(i B). Since we know that B has occurred then we must have p(i B) = 0, for i B and if i B we require that the probabilities p(i B) have the same relative magnitude than p(i). That is we require that for some constant c p(i B) = cp(i) for i B 1

2 But we must have and thus So we define 1 = i B p(i B) = c i B c = 1 p(i) = c Condititional probability of i given B : p(i B) = p(i), i B If we consider an event A then we have P (A B) = P (i B) = i A and so obtain i A B p(i) = P (A B) Condititional probability of A given B : P (A B) = P (A B) It is also useful to think of this formula in a different way: we can write P (A B) = P (A B) that is to compute the probability that both A and B occurs can be computed as the probability that B occurs time the conditional probability that A occurs given B. Finally we give one more application of this formula: Suppose you want to compute the probability of an event F. Sometimes it is much easier to compute P (F E) or P (F E). We write P (A) = P (A B) + P (A B) = P (A B) + P ( A B ) P ( B ) This formula is often very useful if one chooses B in a smart way. 2

3 Conditioning : P (A) = P (A B) + P (A B) More generally we can condition on a collection of n events provided they are pairwise disjoint and add up to all the sample space. If S = B 1 B 2 B n and the B i are pairwise disjoint B i B j =, i j then we have Conditioning : P (A) = P (A B 1 )P (B 1 ) + P (A B 2 )P (B 2 ) + + P (A B n )P (B n ) Example: The game of crap The game of crap is played as follows: Roll two dice and add the numbers obtained. If the total is 7 or 11 you win. If the total is 2, 3, 12 you loose. If the total is any other number (i.e., 4, 5, 6, 8, 9, 10) then this number is called the point. Roll the pair of dice repeatedly until you obtain either the point or a 7. If you roll a 7 first you loose. If you roll the point first you win. We compute the probability to win at this game. To do this we condition on the following events first roll is 7 or 11, the first roll is 2, 3, 12 the point is 4, the point is 5, etc... We have then P (Win) = P (Win first roll 7 or 11)P (first roll 7 or 11) +P (Win first roll 2 3 or 12)P (first roll 2, 3, or 12) + P (Win point is i)p (point is i) i {4,5,6,8,9,10} Most of these probabilities are easy to compute: The only one which requires some thought is P (Win point is i). Take for example the point to be 4. To compute this probability we argue that we roll the dice until we get a 4 or a 7 at which point the game 3

4 stop. It does not matter how many times we roll the dice, the only thing which matters is that to win we need a 4 rather than a 7. So P (Win point is 4) = P (roll a 4 roll a 4 or a 7) = We leave it to the reader to verify that = 3 9 P (Win) = = which shows that Crap was surely designed by a someone with a knowledge of probability... Example: The game of roulette: We consider several variants of roulette. Las Vegas roulette has 38 numbers, 0 and 00 which are green and 1 to 36, half them being red and half of them being black. If you bet on red the probability to loose is 20/38 = Monte-Carlo roulette (1st version) has 37 numbers, 0 and 1 to 36, half them being red and half of them being black. If you roll a 0 then you are sent to prison (P1). At the next spin if you get a red you get your bet back (and nothing more), if you get black or 0, you loose. The probability to win is 18/37, and the probability to loose is obtained by conditioning on the first spin P ( lose ) = P ( lose black )P ( black ) + P ( lose P 1 )P ( P 1 ) = = (1) 37 Monte-Carlo roulette (2st version) is played as in the 1st version but with a second prison (P2). If you are in the first prison P1 you loose if the next spin is black and if the next spin is a 0 you are sent to the second prison P2. In P2 you loose if you get a black or 0 and are sent back to P1 if you get a red. The probability to lose is obtained by conditioning several times. First we have P ( lose ) = P ( lose P 1 ) 1 37 But if we are in P1 and condition on the next spin we have P ( lose P 1 ) = P ( lose P 2 )

5 and similarly if we are in P2 P ( lose P 2 ) = 19 + P ( lose P 1 ) The last two equations can be combined to find the value of P ( lose P 1 ) P ( lose P 1 ) = ( ) 19 + P ( lose P 1 ) which gives and so P ( lose P 1 ) = P ( lose ) = = Conditional probability and independence: It is natural to define independence between two events in terms of conditional probabilities. We will say that A is independent of B if the probability that A occurs does not depend on whether B has occurred or not. In other words A independent of B if P (A B) = P (A) Now using the definition of conditional probability this is equivalent to P (A B) = P (A) or P (A B) = P (A) The formula on the right is symmetric in A and B and so if A is independent of B then B is also independent of A. So we have A and B are independent if P (A B) = P (A) Bayes formula: A particular important application of conditional probability is Bayes formula. At the basic mathematical level it is a formula which relates P (A B) and P B A). It is very easy to derive but its importance is hard to overemphasize. We have from which we conclude that P (A B) = P (A B) = P (B A)P (A) 5

6 Bayes Formula P (A B) = P (B A)P (A) One should interpret this formula as follows: before we do an experiment (given by the event B) the probability of A is p(a). But after the experiment the probability that A occurs is P (A B). So Bayes formula is a way to understand how we learn about the world if the world is uncertain. We perform experiments and obtain so knowledge which changes the probabilities. This suggest the following terminology P (A) is he prior probability P (A B) is the posterior probability B the evidence Sometimes one finds another version for Bayes formula where the denominator is written using conditioning: P (A B) = P (B A)P (A) P (B A)P (A) + P (B Ā)P (Ā) Example: Witness reliability: Often question arise which are expressed directly in term of conditional probabilities in which case Bayes formula is very handy. Imagine the following example: after a robbery the thief jumped into a taxi and disappeared. An eyewitness on the crime scene is telling the police that the cab is yellow. In order to make sure that this testimony is worth something the assistant DA makes a Bayesian analysis of the situation. After some research he comes up with the following information: In that particular city 80% of taxis are black and %20 of taxis are yellow. Eyewitness are not always reliable and from past experience it is expected that an eyewitness is %80 accurate. He will identify the color of a taxi accurately (yellow or black) 8 out 10 times. Equipped with this information assistant DA first defines adequate events true = Y means that the color of the taxi was actually yellow while true = B means that it was black. 6

7 report = Y means that the eyewitness identified the color of the taxi as actually yellow while report = B means that it was reported as black. The goals is to compute P (true = Y report = Y ) and using Bayes formula he finds P (true = Y report = Y ) = P (report = Y true = Y )P (true = Y ) P (report = Y ) The he notes that P (true = Y ) =.2 (this is the prior probability) and P (report = Y true = Y ) =.8 (this is the accuracy of witness testimony). Finally to compute P (report = Y ) he argues that this depends on the actual color of the taxi so using conditional probability he finds P (report = Y ) = P (report = Y true = Y )P (true = Y ) Putting everything together we finds +P (report = Y true = B)P (true = B) = =.032 (2) P (true = Y report = Y ) = P (report = Y true = Y )P (true = Y ) P (report = Y ) = = 1 2 and so the eyewitness testimony does not provide much useful certainty. Example: Spam filter A situation where Bayesian analysis is routinely used is your spam filter in your mail server. The message is scrutinized for the appearance of key words which make it likely that the message is spam. Let us describe how one one of these filters might work. We imagine that the evidence for spam is that the subject message of the meal contains the sentence check this out. We define events spam which means the message is spam. check this out which means the subject line contains this sentence. and we are trying to compute the conditional probability P (spam check this out ) In order to compute this probability we need some information and note that from previous experience 40% of s are spam 7

8 1% of spam have check this out in the subject line while %.4 of non-spam s have this sentence in the subject line. Using Bayes formula we find P (spam check this out ) = P ( check this out spam)p (spam) P ( check this out ) Now we have P (spam) =.4 while P ( check this out spam) =.01. P ( check this out ) we condition and find To compute P ( check this out ) = P ( check this out spam)p (spam) + P ( check this out not spam)p (not spam) = =.0064 and so we find P (spam check this out ) = = 5 8 =.625 In this case it is a (weak signal) that the message is spam and further evidence is required to weed out the message. Example: the Monty s Hall problem At a game show the host hides a prize (say \$ 1 million) behind one of three doors and nothing of much value behind the two remaining doors (in the usual story two goats). The contestant picks one of three doors, let us say say door 1, and then the game show host opens one of the remaining door, let us say he opens door 3 which reveals a goat. The contestant is then given the choice to either switch to door 2 or keep door 1. What should he do? We will argue that he should switch to door 2 since there is a greater probability to find the prize behind door 2 than behind door 1. The trick in this problem is to carefully make your assumptions precise and we assume, quite reasonably, that The \$1 million is put randomly behind any door, that is, the contestant, upon choosing a door, has probability 1/3 to find the prize. The host show knows behind which doors the prize is and always opens an empty door. If he has two empty doors he can open then he chooses one of the two doors at random. There are many ways to find the solution and we will present two solution, one which involves just an elementary consideration and the second which uses Bayes formula. Solution 1: To assign probabilities properly we name the two goats G1 and G2 and note that the following arrangements are possible 8

9 Door 1 Door 2 Door 3 P G1 G2 P G2 G1 G1 P G2 G2 P G1 G1 G2 P G2 G1 P Since the prize are arranged randomly we may assume that all the 6 arrangements have equal probabilities 1/6. Now we assume that the contestant opens door 1. In the first case the contestant has the prize behind his door and the host will open either door 2 or door 3 in which case the contestant will lose if he switches door. The second case is similar. In the third case the hist will open door 3 and the contestant will win if he switches door. The fourth fifth and sixth case are similar. So in 2 out of 6 case you win by keeping your door while in 4 out of 6 cases you win by switching. Hence the probability to win if you switch is 2/3. So you should switch. Solution 2: Let us start to analyze this problem when the the contestant has chosen door 1 and the host has opened door 3. The probability for the contestant to keep his door and win is a conditional probability P (keep and win ) = P ( prize door 1 host door 3) with obvious notations. To compute this we use Bayes formula and obtain P ( prize door 1 host door 3) = By our first assumption we have P ( host door 3 prize door 1)P ( prize door 1) P ( host door 3) while our second assumption implies that P ( prize door 1) = 1 3 P ( host door 3 prize door 1) = 1 2 since the host can choose between door 2 or door 3. To compute P ( host door 3) we condition on the location of the prize and we have P ( host door 3) = P ( host door 3 prize door 1)P ( prize door 1) + P ( host door 3 prize door 2)P ( prize door 2) + P ( host door 3 prize door 3)P ( prize door 3) = (3) 9

10 Putting everything together we find as before. P (keep and win ) = P ( prize door 1 host door 3) = = 1 3 Exercise 1: A coin is tossed three times. What is the probability that two heads occur given that The first outcome was a head. The first outcome was a tail. The first two outcomes were heads. The first tow outcomes were tails. The first outcome was a head and the third was a head. Exercise 2: Imagine a game where a player is handed two cards (say at the beginning of Texas Hold Em Poker). A particularly lousy opponent actually reveals one of his two cards to you and it is an ace. Consider the following cases: 1. His first card is an ace. What is the probability he has two aces? That is compute P ( 2 aces first card is ace ) 2. One of is his card is an ace. What is the probability he has two aces? That is compute P ( 2 aces one card is an ace ) 3. One of his card is the ace of spade. hat is the probability he has two aces? That is compute P ( 2 aces one card is the ace of spade) that his second card is an ace. 4. Are you surpassed by the results? Exercise 3: Suppose Math 478 has two section. In section I there is 12 female and 18 male students. In section II there are 20 female and 15 male students. The professor picks a section at random and then picks a student at random in that section. Compute 10

11 1. Probability that the student chosen is a female. 2. The conditional probability that the student is in section II given that she is a female Exercise 4: False positives, Sensitivity and Specificity. Bayes formula is very much used in epidemiology. Suppose we deal with a disease and we have test for the disease. We know The sensitivity of the test is 99%, this means that if you have the disease, the test is positive with probability The specificity of the test is 98%, this means that if you do not have the disease, the test is negative with probability The prevalence of the disease is one in two hundred, this means that the probability to carry the disease is The probability that someone with a positive test actually has the disease is called the positive predictive value of the test. The probability that someone with a negative test actually does not have the disease is called the negative predictive value of the test. Express the positive and negative predictive value of the test using conditional probabilities and compute them using Bayes formula. Exercise 5: Monty s Hall In this problem you will analyze how important the assumptions are in Monty s Hall problem. 1. Assume as before that the prize is randomly put behind one the three doors. However after watching the game many times you notice that the show host who is usually standing near door 1 is lazy and he tends to open the door closest to him. For example if you pick door 1, he opens door 2 75% of the time and door 3 only 25% of the time. Does this modify your probability of winning if you switch (or not switch)? 2. Suppose you have been watching Monty s Hall game for a very long time and have observed that the prize is behind door 1 45% of the time, behind door 2 40% of the time and behind door 3 15% of the time. The rest is as before and you assume that the host opens door at random (if he has a choice). (a) When playing on the show you pick door 1 again and the host opens one empty door. Should you switch? Compute the various cases. (b) If you know you are going to be offered a switch would it be better to pick another door? Explain. 11

### Math 141. Lecture 2: More Probability! Albyn Jones 1. jones@reed.edu www.people.reed.edu/ jones/courses/141. 1 Library 304. Albyn Jones Math 141

Math 141 Lecture 2: More Probability! Albyn Jones 1 1 Library 304 jones@reed.edu www.people.reed.edu/ jones/courses/141 Outline Law of total probability Bayes Theorem the Multiplication Rule, again Recall

### Lecture 13. Understanding Probability and Long-Term Expectations

Lecture 13 Understanding Probability and Long-Term Expectations Thinking Challenge What s the probability of getting a head on the toss of a single fair coin? Use a scale from 0 (no way) to 1 (sure thing).

### 36 Odds, Expected Value, and Conditional Probability

36 Odds, Expected Value, and Conditional Probability What s the difference between probabilities and odds? To answer this question, let s consider a game that involves rolling a die. If one gets the face

### The Casino Lab STATION 1: CRAPS

The Casino Lab Casinos rely on the laws of probability and expected values of random variables to guarantee them profits on a daily basis. Some individuals will walk away very wealthy, while others will

### Basic concepts in probability. Sue Gordon

Mathematics Learning Centre Basic concepts in probability Sue Gordon c 2005 University of Sydney Mathematics Learning Centre, University of Sydney 1 1 Set Notation You may omit this section if you are

### In the situations that we will encounter, we may generally calculate the probability of an event

What does it mean for something to be random? An event is called random if the process which produces the outcome is sufficiently complicated that we are unable to predict the precise result and are instead

### Probability: The Study of Randomness Randomness and Probability Models. IPS Chapters 4 Sections 4.1 4.2

Probability: The Study of Randomness Randomness and Probability Models IPS Chapters 4 Sections 4.1 4.2 Chapter 4 Overview Key Concepts Random Experiment/Process Sample Space Events Probability Models Probability

### Discrete Mathematics and Probability Theory Fall 2009 Satish Rao,David Tse Note 11

CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao,David Tse Note Conditional Probability A pharmaceutical company is marketing a new test for a certain medical condition. According

### Discrete Math in Computer Science Homework 7 Solutions (Max Points: 80)

Discrete Math in Computer Science Homework 7 Solutions (Max Points: 80) CS 30, Winter 2016 by Prasad Jayanti 1. (10 points) Here is the famous Monty Hall Puzzle. Suppose you are on a game show, and you

### Basic Probability. Probability: The part of Mathematics devoted to quantify uncertainty

AMS 5 PROBABILITY Basic Probability Probability: The part of Mathematics devoted to quantify uncertainty Frequency Theory Bayesian Theory Game: Playing Backgammon. The chance of getting (6,6) is 1/36.

### R Simulations: Monty Hall problem

R Simulations: Monty Hall problem Monte Carlo Simulations Monty Hall Problem Statistical Analysis Simulation in R Exercise 1: A Gift Giving Puzzle Exercise 2: Gambling Problem R Simulations: Monty Hall

### Week 5: Expected value and Betting systems

Week 5: Expected value and Betting systems Random variable A random variable represents a measurement in a random experiment. We usually denote random variable with capital letter X, Y,. If S is the sample

### Elementary Statistics and Inference. Elementary Statistics and Inference. 16 The Law of Averages (cont.) 22S:025 or 7P:025.

Elementary Statistics and Inference 22S:025 or 7P:025 Lecture 20 1 Elementary Statistics and Inference 22S:025 or 7P:025 Chapter 16 (cont.) 2 D. Making a Box Model Key Questions regarding box What numbers

### 6.042/18.062J Mathematics for Computer Science. Expected Value I

6.42/8.62J Mathematics for Computer Science Srini Devadas and Eric Lehman May 3, 25 Lecture otes Expected Value I The expectation or expected value of a random variable is a single number that tells you

### PROBABILITY C A S I N O L A B

A P S T A T S A Fabulous PROBABILITY C A S I N O L A B AP Statistics Casino Lab 1 AP STATISTICS CASINO LAB: INSTRUCTIONS The purpose of this lab is to allow you to explore the rules of probability in the

### Section 7C: The Law of Large Numbers

Section 7C: The Law of Large Numbers Example. You flip a coin 00 times. Suppose the coin is fair. How many times would you expect to get heads? tails? One would expect a fair coin to come up heads half

### V. RANDOM VARIABLES, PROBABILITY DISTRIBUTIONS, EXPECTED VALUE

V. RANDOM VARIABLES, PROBABILITY DISTRIBUTIONS, EXPETED VALUE A game of chance featured at an amusement park is played as follows: You pay \$ to play. A penny and a nickel are flipped. You win \$ if either

### Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10

CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10 Introduction to Discrete Probability Probability theory has its origins in gambling analyzing card games, dice,

### MA 1125 Lecture 14 - Expected Values. Friday, February 28, 2014. Objectives: Introduce expected values.

MA 5 Lecture 4 - Expected Values Friday, February 2, 24. Objectives: Introduce expected values.. Means, Variances, and Standard Deviations of Probability Distributions Two classes ago, we computed the

### Statistics 100A Homework 2 Solutions

Statistics Homework Solutions Ryan Rosario Chapter 9. retail establishment accepts either the merican Express or the VIS credit card. total of percent of its customers carry an merican Express card, 6

### The Monty Hall Problem

Gateway to Exploring Mathematical Sciences (GEMS) 9 November, 2013 Lecture Notes The Monty Hall Problem Mark Huber Fletcher Jones Foundation Associate Professor of Mathematics and Statistics and George

### Probabilities. Probability of a event. From Random Variables to Events. From Random Variables to Events. Probability Theory I

Victor Adamchi Danny Sleator Great Theoretical Ideas In Computer Science Probability Theory I CS 5-25 Spring 200 Lecture Feb. 6, 200 Carnegie Mellon University We will consider chance experiments with

### Discrete Mathematics for CS Fall 2006 Papadimitriou & Vazirani Lecture 22

CS 70 Discrete Mathematics for CS Fall 2006 Papadimitriou & Vazirani Lecture 22 Introduction to Discrete Probability Probability theory has its origins in gambling analyzing card games, dice, roulette

### Conditional Probability, Hypothesis Testing, and the Monty Hall Problem

Conditional Probability, Hypothesis Testing, and the Monty Hall Problem Ernie Croot September 17, 2008 On more than one occasion I have heard the comment Probability does not exist in the real world, and

### Betting systems: how not to lose your money gambling

Betting systems: how not to lose your money gambling G. Berkolaiko Department of Mathematics Texas A&M University 28 April 2007 / Mini Fair, Math Awareness Month 2007 Gambling and Games of Chance Simple

### LET S MAKE A DEAL! ACTIVITY

LET S MAKE A DEAL! ACTIVITY NAME: DATE: SCENARIO: Suppose you are on the game show Let s Make A Deal where Monty Hall (the host) gives you a choice of three doors. Behind one door is a valuable prize.

### Expected Value. 24 February 2014. Expected Value 24 February 2014 1/19

Expected Value 24 February 2014 Expected Value 24 February 2014 1/19 This week we discuss the notion of expected value and how it applies to probability situations, including the various New Mexico Lottery

### Conditional Probability

Chapter 4 Conditional Probability 4. Discrete Conditional Probability Conditional Probability In this section we ask and answer the following question. Suppose we assign a distribution function to a sample

### A natural introduction to probability theory. Ronald Meester

A natural introduction to probability theory Ronald Meester ii Contents Preface v 1 Experiments 1 1.1 Definitions and examples........................ 1 1.2 Counting and combinatorics......................

### Probability OPRE 6301

Probability OPRE 6301 Random Experiment... Recall that our eventual goal in this course is to go from the random sample to the population. The theory that allows for this transition is the theory of probability.

### Probability and Expected Value

Probability and Expected Value This handout provides an introduction to probability and expected value. Some of you may already be familiar with some of these topics. Probability and expected value are

### Lecture 2: Probability

Lecture 2: Probability Assist. Prof. Dr. Emel YAVUZ DUMAN MCB1007 Introduction to Probability and Statistics İstanbul Kültür University Outline 1 Introduction 2 Sample Spaces 3 Event 4 The Probability

### Ch. 13.3: More about Probability

Ch. 13.3: More about Probability Complementary Probabilities Given any event, E, of some sample space, U, of a random experiment, we can always talk about the complement, E, of that event: this is the

### AMS 5 CHANCE VARIABILITY

AMS 5 CHANCE VARIABILITY The Law of Averages When tossing a fair coin the chances of tails and heads are the same: 50% and 50%. So if the coin is tossed a large number of times, the number of heads and

### Bayesian Tutorial (Sheet Updated 20 March)

Bayesian Tutorial (Sheet Updated 20 March) Practice Questions (for discussing in Class) Week starting 21 March 2016 1. What is the probability that the total of two dice will be greater than 8, given that

### Section 2.4-2.5 Probability (p.55)

Section 2.4-2.5 Probability (p.55 2.54 Suppose that in a senior college class of 500 students it is found that 210 smoke, 258 drink alcoholic beverage, 216 eat between meals, 122 smoke and drink alcoholic

### Practical Probability:

Practical Probability: Casino Odds and Sucker Bets Tom Davis tomrdavis@earthlink.net April 2, 2011 Abstract Gambling casinos are there to make money, so in almost every instance, the games you can bet

### Topic 6: Conditional Probability and Independence

Topic 6: September 15-20, 2011 One of the most important concepts in the theory of probability is based on the question: How do we modify the probability of an event in light of the fact that something

### Discrete Structures for Computer Science

Discrete Structures for Computer Science Adam J. Lee adamlee@cs.pitt.edu 6111 Sennott Square Lecture #20: Bayes Theorem November 5, 2013 How can we incorporate prior knowledge? Sometimes we want to know

### Elementary Statistics and Inference. Elementary Statistics and Inference. 17 Expected Value and Standard Error. 22S:025 or 7P:025.

Elementary Statistics and Inference S:05 or 7P:05 Lecture Elementary Statistics and Inference S:05 or 7P:05 Chapter 7 A. The Expected Value In a chance process (probability experiment) the outcomes of

### Definition and Calculus of Probability

In experiments with multivariate outcome variable, knowledge of the value of one variable may help predict another. For now, the word prediction will mean update the probabilities of events regarding the

### AP Stats - Probability Review

AP Stats - Probability Review Multiple Choice Identify the choice that best completes the statement or answers the question. 1. I toss a penny and observe whether it lands heads up or tails up. Suppose

### MAT 1000. Mathematics in Today's World

MAT 1000 Mathematics in Today's World We talked about Cryptography Last Time We will talk about probability. Today There are four rules that govern probabilities. One good way to analyze simple probabilities

### Introduction to Discrete Probability. Terminology. Probability definition. 22c:19, section 6.x Hantao Zhang

Introduction to Discrete Probability 22c:19, section 6.x Hantao Zhang 1 Terminology Experiment A repeatable procedure that yields one of a given set of outcomes Rolling a die, for example Sample space

### Chapter 4 Lecture Notes

Chapter 4 Lecture Notes Random Variables October 27, 2015 1 Section 4.1 Random Variables A random variable is typically a real-valued function defined on the sample space of some experiment. For instance,

### Chapter 4 & 5 practice set. The actual exam is not multiple choice nor does it contain like questions.

Chapter 4 & 5 practice set. The actual exam is not multiple choice nor does it contain like questions. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

### Chapter 5 - Probability

Chapter 5 - Probability 5.1 Basic Ideas An experiment is a process that, when performed, results in exactly one of many observations. These observations are called the outcomes of the experiment. The set

### Chapter 16: law of averages

Chapter 16: law of averages Context................................................................... 2 Law of averages 3 Coin tossing experiment......................................................

### Appendix D: The Monty Hall Controversy

Appendix D: The Monty Hall Controversy Appendix D: The Monty Hall Controversy - Page 1 Let's Make a Deal Prepared by Rich Williams, Spring 1991 Last Modified Fall, 2004 You are playing Let's Make a Deal

### Bayes and Naïve Bayes. cs534-machine Learning

Bayes and aïve Bayes cs534-machine Learning Bayes Classifier Generative model learns Prediction is made by and where This is often referred to as the Bayes Classifier, because of the use of the Bayes rule

### 1 Introductory Comments. 2 Bayesian Probability

Introductory Comments First, I would like to point out that I got this material from two sources: The first was a page from Paul Graham s website at www.paulgraham.com/ffb.html, and the second was a paper

### Probability. a number between 0 and 1 that indicates how likely it is that a specific event or set of events will occur.

Probability Probability Simple experiment Sample space Sample point, or elementary event Event, or event class Mutually exclusive outcomes Independent events a number between 0 and 1 that indicates how

### Texas Hold em. From highest to lowest, the possible five card hands in poker are ranked as follows:

Texas Hold em Poker is one of the most popular card games, especially among betting games. While poker is played in a multitude of variations, Texas Hold em is the version played most often at casinos

### MAS113 Introduction to Probability and Statistics

MAS113 Introduction to Probability and Statistics 1 Introduction 1.1 Studying probability theory There are (at least) two ways to think about the study of probability theory: 1. Probability theory is a

### Understanding. Probability and Long-Term Expectations. Chapter 16. Copyright 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Understanding Chapter 16 Probability and Long-Term Expectations Copyright 2005 Brooks/Cole, a division of Thomson Learning, Inc. Thought Question 1: Two very different queries about probability: a. If

### Introduction and Overview

Introduction and Overview Probability and Statistics is a topic that is quickly growing, has become a major part of our educational program, and has a substantial role in the NCTM Standards. While covering

### Distributions. and Probability. Find the sample space of an experiment. Find the probability of an event. Sample Space of an Experiment

C Probability and Probability Distributions APPENDIX C.1 Probability A1 C.1 Probability Find the sample space of an experiment. Find the probability of an event. Sample Space of an Experiment When assigning

### Exam. Name. How many distinguishable permutations of letters are possible in the word? 1) CRITICS

Exam Name How many distinguishable permutations of letters are possible in the word? 1) CRITICS 2) GIGGLE An order of award presentations has been devised for seven people: Jeff, Karen, Lyle, Maria, Norm,

### Problem sets for BUEC 333 Part 1: Probability and Statistics

Problem sets for BUEC 333 Part 1: Probability and Statistics I will indicate the relevant exercises for each week at the end of the Wednesday lecture. Numbered exercises are back-of-chapter exercises from

### Expected Value and the Game of Craps

Expected Value and the Game of Craps Blake Thornton Craps is a gambling game found in most casinos based on rolling two six sided dice. Most players who walk into a casino and try to play craps for the

### Chapter 15. Definitions: experiment: is the act of making an observation or taking a measurement.

MATH 11008: Probability Chapter 15 Definitions: experiment: is the act of making an observation or taking a measurement. outcome: one of the possible things that can occur as a result of an experiment.

### Chapter 4: Probabilities and Proportions

Stats 11 (Fall 2004) Lecture Note Introduction to Statistical Methods for Business and Economics Instructor: Hongquan Xu Chapter 4: Probabilities and Proportions Section 4.1 Introduction In the real world,

### Statistics and Random Variables. Math 425 Introduction to Probability Lecture 14. Finite valued Random Variables. Expectation defined

Expectation Statistics and Random Variables Math 425 Introduction to Probability Lecture 4 Kenneth Harris kaharri@umich.edu Department of Mathematics University of Michigan February 9, 2009 When a large

### Video Poker in South Carolina: A Mathematical Study

Video Poker in South Carolina: A Mathematical Study by Joel V. Brawley and Todd D. Mateer Since its debut in South Carolina in 1986, video poker has become a game of great popularity as well as a game

### PROBABILITY PROBABILITY

PROBABILITY PROBABILITY Documents prepared for use in course B0.305, New York University, Stern School of Business Types of probability page 3 The catchall term probability refers to several distinct ideas.

### Probability and Random Variables (Rees: )

Probability and Random Variables (Rees:. -.) Earlier in this course, we looked at methods of describing the data in a sample. Next we would like to have models for the ways in which data can arise. Before

### Book Review of Rosenhouse, The Monty Hall Problem. Leslie Burkholder 1

Book Review of Rosenhouse, The Monty Hall Problem Leslie Burkholder 1 The Monty Hall Problem, Jason Rosenhouse, New York, Oxford University Press, 2009, xii, 195 pp, US \$24.95, ISBN 978-0-19-5#6789-8 (Source

### Basic Probability Theory II

RECAP Basic Probability heory II Dr. om Ilvento FREC 408 We said the approach to establishing probabilities for events is to Define the experiment List the sample points Assign probabilities to the sample

### MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Practice Test Chapter 9 Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Find the odds. ) Two dice are rolled. What are the odds against a sum

### Math 3C Homework 3 Solutions

Math 3C Homework 3 s Ilhwan Jo and Akemi Kashiwada ilhwanjo@math.ucla.edu, akashiwada@ucla.edu Assignment: Section 2.3 Problems 2, 7, 8, 9,, 3, 5, 8, 2, 22, 29, 3, 32 2. You draw three cards from a standard

### \$2 4 40 + ( \$1) = 40

THE EXPECTED VALUE FOR THE SUM OF THE DRAWS In the game of Keno there are 80 balls, numbered 1 through 80. On each play, the casino chooses 20 balls at random without replacement. Suppose you bet on the

### 21-110: Problem Solving in Recreational Mathematics

-0: Problem Solving in Recreational Mathematics Homework assignment solutions Problem. An urn contains five red balls and three yellow balls. Two balls are drawn from the urn at random, without replacement.

### Standard 12: The student will explain and evaluate the financial impact and consequences of gambling.

STUDENT MODULE 12.1 GAMBLING PAGE 1 Standard 12: The student will explain and evaluate the financial impact and consequences of gambling. Risky Business Simone, Paula, and Randy meet in the library every

### PROBABILITY 14.3. section. The Probability of an Event

4.3 Probability (4-3) 727 4.3 PROBABILITY In this section In the two preceding sections we were concerned with counting the number of different outcomes to an experiment. We now use those counting techniques

### Poker. 10,Jack,Queen,King,Ace. 10, Jack, Queen, King, Ace of the same suit Five consecutive ranks of the same suit that is not a 5,6,7,8,9

Poker Poker is an ideal setting to study probabilities. Computing the probabilities of different will require a variety of approaches. We will not concern ourselves with betting strategies, however. Our

### Solution. Solution. (a) Sum of probabilities = 1 (Verify) (b) (see graph) Chapter 4 (Sections 4.3-4.4) Homework Solutions. Section 4.

Math 115 N. Psomas Chapter 4 (Sections 4.3-4.4) Homework s Section 4.3 4.53 Discrete or continuous. In each of the following situations decide if the random variable is discrete or continuous and give

### Bayesian Updating with Discrete Priors Class 11, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

1 Learning Goals Bayesian Updating with Discrete Priors Class 11, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom 1. Be able to apply Bayes theorem to compute probabilities. 2. Be able to identify

### Combinatorics 3 poker hands and Some general probability

Combinatorics 3 poker hands and Some general probability Play cards 13 ranks Heart 4 Suits Spade Diamond Club Total: 4X13=52 cards You pick one card from a shuffled deck. What is the probability that it

### Jan 17 Homework Solutions Math 151, Winter 2012. Chapter 2 Problems (pages 50-54)

Jan 17 Homework Solutions Math 11, Winter 01 Chapter Problems (pages 0- Problem In an experiment, a die is rolled continually until a 6 appears, at which point the experiment stops. What is the sample

### Reasoning with Probabilities. Critical Thinking

Reasoning with Probabilities Critical Thinking Working with Probabilities is Hard What makes it hard? The underlying mathematics: probability theory We don t do well with probability theory, especially

### We rst consider the game from the player's point of view: Suppose you have picked a number and placed your bet. The probability of winning is

Roulette: On an American roulette wheel here are 38 compartments where the ball can land. They are numbered 1-36, and there are two compartments labeled 0 and 00. Half of the compartments numbered 1-36

### Unit 19: Probability Models

Unit 19: Probability Models Summary of Video Probability is the language of uncertainty. Using statistics, we can better predict the outcomes of random phenomena over the long term from the very complex,

### Massachusetts Institute of Technology

n (i) m m (ii) n m ( (iii) n n n n (iv) m m Massachusetts Institute of Technology 6.0/6.: Probabilistic Systems Analysis (Quiz Solutions Spring 009) Question Multiple Choice Questions: CLEARLY circle the

### Gaming the Law of Large Numbers

Gaming the Law of Large Numbers Thomas Hoffman and Bart Snapp July 3, 2012 Many of us view mathematics as a rich and wonderfully elaborate game. In turn, games can be used to illustrate mathematical ideas.

### Economics 1011a: Intermediate Microeconomics

Lecture 12: More Uncertainty Economics 1011a: Intermediate Microeconomics Lecture 12: More on Uncertainty Thursday, October 23, 2008 Last class we introduced choice under uncertainty. Today we will explore

### Solution (Done in class)

MATH 115 CHAPTER 4 HOMEWORK Sections 4.1-4.2 N. PSOMAS 4.6 Winning at craps. The game of craps starts with a come-out roll where the shooter rolls a pair of dice. If the total is 7 or 11, the shooter wins

### Probability And Odds Examples

Probability And Odds Examples. Will the Cubs or the Giants be more likely to win the game? What is the chance of drawing an ace from a deck of cards? What are the possibilities of rain today? What are

### Probability, statistics and football Franka Miriam Bru ckler Paris, 2015.

Probability, statistics and football Franka Miriam Bru ckler Paris, 2015 Please read this before starting! Although each activity can be performed by one person only, it is suggested that you work in groups

### High School Statistics and Probability Common Core Sample Test Version 2

High School Statistics and Probability Common Core Sample Test Version 2 Our High School Statistics and Probability sample test covers the twenty most common questions that we see targeted for this level.

### Second Midterm Exam (MATH1070 Spring 2012)

Second Midterm Exam (MATH1070 Spring 2012) Instructions: This is a one hour exam. You can use a notecard. Calculators are allowed, but other electronics are prohibited. 1. [60pts] Multiple Choice Problems

### GCSE Revision Notes Mathematics Probability

GCSE Revision Notes Mathematics Probability irevise.com 2014. All revision notes have been produced by mockness ltd for irevise.com. Email: info@irevise.com Copyrighted material. All rights reserved; no

### Find the indicated probability. 1) If a single fair die is rolled, find the probability of a 4 given that the number rolled is odd.

Math 0 Practice Test 3 Fall 2009 Covers 7.5, 8.-8.3 MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Find the indicated probability. ) If a single

### Combinatorics: The Fine Art of Counting

Combinatorics: The Fine Art of Counting Week 7 Lecture Notes Discrete Probability Continued Note Binomial coefficients are written horizontally. The symbol ~ is used to mean approximately equal. The Bernoulli

### Chapter 5. Discrete Probability Distributions

Chapter 5. Discrete Probability Distributions Chapter Problem: Did Mendel s result from plant hybridization experiments contradicts his theory? 1. Mendel s theory says that when there are two inheritable

### John Kerrich s coin-tossing Experiment. Law of Averages - pg. 294 Moore s Text

Law of Averages - pg. 294 Moore s Text When tossing a fair coin the chances of tails and heads are the same: 50% and 50%. So, if the coin is tossed a large number of times, the number of heads and the

### Example: Use the Counting Principle to find the number of possible outcomes of these two experiments done in this specific order:

Section 4.3: Tree Diagrams and the Counting Principle It is often necessary to know the total number of outcomes in a probability experiment. The Counting Principle is a formula that allows us to determine

### STAB47S:2003 Midterm Name: Student Number: Tutorial Time: Tutor:

STAB47S:200 Midterm Name: Student Number: Tutorial Time: Tutor: Time: 2hours Aids: The exam is open book Students may use any notes, books and calculators in writing this exam Instructions: Show your reasoning

### Random Variables. 9. Variation 1. Find the standard deviations of the random variables in Exercise 1.

Random Variables 1. Expected value. Find the expected value of each random variable: a) x 10 20 30 P(X=x) 0.3 0.5 0.2 b) x 2 4 6 8 P(X=x) 0.3 0.4 0.2 0.1 2. Expected value. Find the expected value of each