Elementary Discrete Probability

Similar documents
Discrete Random Variables

Discrete Random Variables

First Digit Tally Marks Final Count

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).

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability

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

Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 10

Probabilistic models

Example. What is the sample space for flipping a fair coin? Rolling a 6-sided die? Find the event E where E = {x x has exactly one head}

2.4 Conditional Probability

4. Probability of an event A for equally likely outcomes:

STT When trying to evaluate the likelihood of random events we are using following wording.

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

2011 Pearson Education, Inc

Math 1313 Experiments, Events and Sample Spaces

Great Theoretical Ideas in Computer Science

Formalizing Probability. Choosing the Sample Space. Probability Measures

Probability Rules. MATH 130, Elements of Statistics I. J. Robert Buchanan. Fall Department of Mathematics

Lecture 3 Probability Basics

Independence. P(A) = P(B) = 3 6 = 1 2, and P(C) = 4 6 = 2 3.

Probabilistic models

Probability: Sets, Sample Spaces, Events

Intermediate Math Circles November 15, 2017 Probability III

Event A: at least one tail observed A:

Conditional Probability. CS231 Dianna Xu

Chapter 2: Probability Part 1

STAT 516: Basic Probability and its Applications

Probability Long-Term Memory Review Review 1

Probability COMP 245 STATISTICS. Dr N A Heard. 1 Sample Spaces and Events Sample Spaces Events Combinations of Events...


With Question/Answer Animations. Chapter 7

Statistical Theory 1

Presentation on Theo e ry r y o f P r P o r bab a il i i l t i y

ORF 245 Fundamentals of Statistics Chapter 5 Probability

Intermediate Math Circles November 8, 2017 Probability II

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

Introduction to Probability

Grades 7 & 8, Math Circles 24/25/26 October, Probability

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

Problems from Probability and Statistical Inference (9th ed.) by Hogg, Tanis and Zimmerman.

STAT509: Probability

Chapter 3 : Conditional Probability and Independence

CS 361: Probability & Statistics

Course: ESO-209 Home Work: 1 Instructor: Debasis Kundu

Chapter Learning Objectives. Random Experiments Dfiii Definition: Dfiii Definition:

the time it takes until a radioactive substance undergoes a decay

CS684 Graph Algorithms

Lesson B1 - Probability Distributions.notebook

Properties of Probability

Conditional Probability

Set/deck of playing cards. Spades Hearts Diamonds Clubs

MODULE 2 RANDOM VARIABLE AND ITS DISTRIBUTION LECTURES DISTRIBUTION FUNCTION AND ITS PROPERTIES

Lecture Lecture 5

Chapter 8: An Introduction to Probability and Statistics

MATH STUDENT BOOK. 12th Grade Unit 9

HW2 Solutions, for MATH441, STAT461, STAT561, due September 9th

CSC Discrete Math I, Spring Discrete Probability

Axioms of Probability

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1

RVs and their probability distributions

V. RANDOM VARIABLES, PROBABILITY DISTRIBUTIONS, EXPECTED VALUE

Determining Probabilities. Product Rule for Ordered Pairs/k-Tuples:

i=1 A i i=1 P (A c B c ) = 1 P ((A c B c ) c ) = 1 P (A B) = 1 (P (A) + P (B) P (A B)) =

Chapter 2 Class Notes

Chapter 1 Principles of Probability

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 ).

Discrete Structures for Computer Science

Probability (Devore Chapter Two)

Lecture 04: Conditional Probability. Lisa Yan July 2, 2018

Lecture 1: Basics of Probability

Econ 325: Introduction to Empirical Economics

The probability of an event is viewed as a numerical measure of the chance that the event will occur.

Today we ll discuss ways to learn how to think about events that are influenced by chance.

Recap. The study of randomness and uncertainty Chances, odds, likelihood, expected, probably, on average,... PROBABILITY INFERENTIAL STATISTICS

Conditional Probability

Lecture 1. Chapter 1. (Part I) Material Covered in This Lecture: Chapter 1, Chapter 2 ( ). 1. What is Statistics?

Mutually Exclusive Events

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

Week 2. Section Texas A& M University. Department of Mathematics Texas A& M University, College Station 22 January-24 January 2019

Conditional Probability and Bayes

ORF 245 Fundamentals of Statistics Chapter 1 Probability

Conditional probability

COS 424: Interacting with Data. Lecturer: Dave Blei Lecture #2 Scribe: Ellen Kim February 7, 2008

Module 1. Probability

P [(E and F )] P [F ]

Dynamic Programming Lecture #4

Chapter 2 PROBABILITY SAMPLE SPACE

Probability Year 10. Terminology

Lecture 8: Conditional probability I: definition, independence, the tree method, sampling, chain rule for independent events

Chapter 2.5 Random Variables and Probability The Modern View (cont.)

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability

What is Probability? Probability. Sample Spaces and Events. Simple Event

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e

MATH 3C: MIDTERM 1 REVIEW. 1. Counting

Total. Name: Student ID: CSE 21A. Midterm #2. February 28, 2013

Lecture 2. Conditional Probability

Probability the chance that an uncertain event will occur (always between 0 and 1)

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

CMPSCI 240: Reasoning about Uncertainty

Transcription:

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, and applications of probability to games of chance.

Basic Definitions Definition An experiment is any activity that generates an observable outcome. The collection of all possible outcomes of an experiment is the sample space and is denoted Ω. An event is an outcome or set of outcomes with a specified property (generally denoted with letters A, B,... ). The probability of an event is a real number measuring the likelihood of the occurrence of the event (generally denoted P (A), P (B),... ).

Probability Measure Definition A probability measure on a sample space Ω is function defined on the subsets of Ω satisfying: 1. If A Ω then P (A) 0. 2. If A B = then 3. P (Ω) = 1. P (A B) = P (A) + P (B).

Discrete Events For the time being we will assume the outcomes of experiments are discrete in the sense that the outcomes will be from a set whose members are isolated from each other by gaps.

Discrete Events For the time being we will assume the outcomes of experiments are discrete in the sense that the outcomes will be from a set whose members are isolated from each other by gaps. Example 1. Coin flip 2. Roll of the dice 3. Drawing a card from a standard deck

Discrete Events For the time being we will assume the outcomes of experiments are discrete in the sense that the outcomes will be from a set whose members are isolated from each other by gaps. Example 1. Coin flip 2. Roll of the dice 3. Drawing a card from a standard deck Later, we may think of discrete outcomes as the results of experiments with a finite or at most countable number of outcomes.

Properties of Probability If A is an event, 1. 0 P (A) 1,

Properties of Probability If A is an event, 1. 0 P (A) 1, 2. if P (A) = 0, then A is said to be an impossible event. If P (A) = 1, then A is said to be a certain event.

Properties of Probability If A is an event, 1. 0 P (A) 1, 2. if P (A) = 0, then A is said to be an impossible event. If P (A) = 1, then A is said to be a certain event. To determine the P (A) we can: take the empirical approach and conduct (or at least simulate) the experiment N times, count the number of times x that event A occurred, and estimate P (A) = x/n. take the classical approach and determine the number of outcomes of the experiment (call this number M), assume the outcomes are equally likely, and determine the number of outcomes y among the M in which event A occurs. Then P (A) = y/m.

Determining the Size of the Sample Space Determine the number of outcomes of the experiment of tossing a pair of dice. Determine the number of outcomes of the experiment of tossing a pair of dice twice.

Determining the Size of the Sample Space Determine the number of outcomes of the experiment of tossing a pair of dice. M = (6) 2 = 36 Determine the number of outcomes of the experiment of tossing a pair of dice twice.

Determining the Size of the Sample Space Determine the number of outcomes of the experiment of tossing a pair of dice. M = (6) 2 = 36 Determine the number of outcomes of the experiment of tossing a pair of dice twice. M = (36) 2 = 1296

Determining the Classical Probability You and a friend each toss a fair coin. You win if your coin matches your friend s coin. 1. Determine the sample space of the experiment. 2. What is the probability that you win?

Determining the Classical Probability You and a friend each toss a fair coin. You win if your coin matches your friend s coin. 1. Determine the sample space of the experiment. Ω = {HH, HT, TH, TT } 2. What is the probability that you win?

Determining the Classical Probability You and a friend each toss a fair coin. You win if your coin matches your friend s coin. 1. Determine the sample space of the experiment. Ω = {HH, HT, TH, TT } 2. What is the probability that you win? In 2 out of the 4 equally likely outcomes you win, thus P (win) = 2 4 = 1 2.

Addition Rule (1 of 2) Notation: P (A B) denotes the probability that event A or B occurs.

Addition Rule (1 of 2) Notation: P (A B) denotes the probability that event A or B occurs. P (A B) depends on P (A) and P (B) but the exact formula also depends on the relationship between events A and B.

Addition Rule (1 of 2) Notation: P (A B) denotes the probability that event A or B occurs. P (A B) depends on P (A) and P (B) but the exact formula also depends on the relationship between events A and B. Definition Two events are mutually exclusive if they cannot occur together.

Addition Rule (2 of 2) Theorem (Addition Rule) P (A B) = P (A) + P (B) P (A B) where P (A B) is the probability that events A and B occur together.

Addition Rule (2 of 2) Theorem (Addition Rule) P (A B) = P (A) + P (B) P (A B) where P (A B) is the probability that events A and B occur together. Corollary If A and B are mutually exclusive then P (A B) = P (A) + P (B).

Addition Rule (2 of 2) Theorem (Addition Rule) P (A B) = P (A) + P (B) P (A B) where P (A B) is the probability that events A and B occur together. Corollary If A and B are mutually exclusive then P (A B) = P (A) + P (B). Remark: since A and B are mutually exclusive, A B is an impossible event.

Fair Dice Find the probability of each outcome of the rolling of a pair of fair dice using the classical method.

Outcomes, Events, and Probabilities Dice Totals 2 3 4 5 6 7 3 4 5 6 7 8 4 5 6 7 8 9 5 6 7 8 9 10 6 7 8 9 10 11 7 8 9 10 11 12 E P (E) 2 0.0278 3 0.0556 4 0.0833 5 0.1111 6 0.1389 7 0.1667 8 0.1389 9 0.1111 10 0.0833 11 0.0556 12 0.0278

Example Find the probability that when a pair of fair dice are thrown the total of the dice is less than 6 or odd.

Example Find the probability that when a pair of fair dice are thrown the total of the dice is less than 6 or odd. Solution: P ((X < 6) (X odd)) = P (X < 6) + P (X odd) P ((X < 6) (X odd)) = 10 36 + 18 36 6 36 = 11 18

Monty Hall Problem A game show host hides a prize behind one of three doors. A contestant must guess which door hides the prize. First, the contestant announces the door they have chosen. The host will then open one of the two doors, not chosen, in order to reveal the prize is not behind it. The host then tells the contestant they may keep their original choice or switch to the other unopened door. Should the contestant switch doors?

Monty Hall Problem A game show host hides a prize behind one of three doors. A contestant must guess which door hides the prize. First, the contestant announces the door they have chosen. The host will then open one of the two doors, not chosen, in order to reveal the prize is not behind it. The host then tells the contestant they may keep their original choice or switch to the other unopened door. Should the contestant switch doors? Remark: you may wish to try a simulator for this game.

Sampling with Replacement There are three red socks and six black socks in a drawer. What is the probability that in a sample of size 2 taken with replacement, that 1. the sample contains a red sock? 2. the sample contains exactly one red sock? 3. the sample contains two red socks?

Conditional Probability Definition The probability that one event occurs given that another event has occurred is called conditional probability. The probability that event A occurs given that event B has occurred is denoted P (A B).

Conditional Probability Definition The probability that one event occurs given that another event has occurred is called conditional probability. The probability that event A occurs given that event B has occurred is denoted P (A B). What is the contestant s probability of winning if they do not switch doors? Should they switch?

Multiplication Rule Theorem (Multiplication Rule) For events A and B, the probability of A and B occurring is P (A B) = P (A) P (B A), or equivalently provided P (A) > 0. P (B A) = P (A B). P (A)

Example There are two drawers (labeled α and β). Drawer α contains only red socks. Drawer β contains equals numbers of red socks and black socks. A fair coin is tossed to determine a drawer to select from and a red sock is drawn. What is the probability drawer α was chosen given that a red sock was drawn?

Example There are two drawers (labeled α and β). Drawer α contains only red socks. Drawer β contains equals numbers of red socks and black socks. A fair coin is tossed to determine a drawer to select from and a red sock is drawn. What is the probability drawer α was chosen given that a red sock was drawn? P (α red) = P (α red) P (red) = 1 2 1 2 + 1 4 = 2 3

Example: Roulette (1 of 2) One type of roulette wheel, known as the American type, has 38 potential outcomes represented by the integers 1 through 36 and two special outcomes 0 and 00. The positive integers are placed on alternating red and black backgrounds while 0 and 00 are on green backgrounds.

Example: Roulette (2 of 2) Question: What is the probability that the outcome is less than 10 and more than 3 given that the outcome is an even number? (0 and 00 are considered even numbers.)

Example: Roulette (2 of 2) Question: What is the probability that the outcome is less than 10 and more than 3 given that the outcome is an even number? (0 and 00 are considered even numbers.) Solution: P ((3 < X < 10) (X even)) P ((3 < X < 10) (X even)) = P (X even) = 3/38 20/38 = 3 20

Bayes Formula Suppose A and B are two events, then A = A (B B c ) = (A B) (A B c ). Since A B and A B c are mutually exclusive events, then P (A) = P ((A B) (A B c )) = P (A B)) + P (A B c ) = P (A B) P (B) + P (A B c ) P (B c ). Use this to determine P (B A): P (B A) = = P (A B) P (A B) = P (A) P (A B) P (B) + P (A B c ) P (B c ) P (A B) P (B) P (A B) P (B) + P (A B c ) P (B c )

Example A company uses two machines to produce LCD screens for smartphones. Machine A produces 20% of the total number of LCD screens while machine B produces 80%. The LCDs produced by machine A have a defect rate of 5% while the defect rate of machine B is 1%. Find the probability that a randomly selected LCD screen produced by the company came from machine A given that the screen is defective.

Solution Take note of the probabilities given in the example: P (A) = 0.20 P (B) = 0.80 P (D A) = 0.05 P (D B) = 0.01. Using Bayes formula, P (A D) = = P (A D) P (D A) P (A) = P (D) P (D A) P (A) + P (D B) P (B) (0.05)(0.20) (0.05)(0.20) + (0.01)(0.80) 0.5556.

Independent Events Definition If the occurrence of event A does not affect the occurrence of event B we say that the events are independent. P (B A) = P (B)

Independent Events Definition If the occurrence of event A does not affect the occurrence of event B we say that the events are independent. P (B A) = P (B) Corollary If events A and B are independent then P (A B) = P (A) P (B).

Example Question: what is the probability of two red outcomes on successive spins of the roulette wheel?

Example Question: what is the probability of two red outcomes on successive spins of the roulette wheel? Answer: since the outcomes of spins of the roulette wheel are independent, then P (1st spin red 2nd spin red) = P (1st spin red) P (2nd spin red) ( ) ( ) 18 18 = 38 38 = 81 361 0.224377.

Homework Read Sections 2.1 2.3 Exercise: 1 12.

Credits These slides are adapted from the textbook, An Undergraduate Introduction to Financial Mathematics, 3rd edition, (2012). author: J. Robert Buchanan publisher: World Scientific Publishing Co. Pte. Ltd. address: 27 Warren St., Suite 401 402, Hackensack, NJ 07601 ISBN: 978-9814407441