Outcome X (1, 1) 2 (2, 1) 3 (3, 1) 4 (4, 1) 5 {(1, 1) (1, 2) (1, 3) (1, 4) (1, 5) (1, 6) (6, 1) (6, 2) (6, 3) (6, 4) (6, 5) (6, 6)}

Similar documents
Random Variables. Outcome X (1, 1) 2 (2, 1) 3 (3, 1) 4 (4, 1) 5. (6, 1) (6, 2) (6, 3) (6, 4) (6, 5) (6, 6) }

Random Variables. A Random Variable is a rule that assigns a number to each outcome of an experiment.

HUDM4122 Probability and Statistical Inference. February 2, 2015

MATH , Summer I Homework - 05

= = 0.1%. On the other hand, if there are three winning tickets, then the probability of winning one of these winning tickets must be 3 (1)

Exercise Class XI Chapter 16 Probability Maths

Beginnings of Probability I

Stat 20: Intro to Probability and Statistics

Counting methods (Part 4): More combinations

Class XII Chapter 13 Probability Maths. Exercise 13.1

RANDOM EXPERIMENTS AND EVENTS

3. a. P(white) =, or. b. ; the probability of choosing a white block. d. P(white) =, or. 4. a. = 1 b. 0 c. = 0

b. 2 ; the probability of choosing a white d. P(white) 25, or a a. Since the probability of choosing a

Probability. Ms. Weinstein Probability & Statistics

CSC/MTH 231 Discrete Structures II Spring, Homework 5

STATISTICS and PROBABILITY GRADE 6

1. A factory makes calculators. Over a long period, 2 % of them are found to be faulty. A random sample of 100 calculators is tested.

4.1 Sample Spaces and Events

Discrete Random Variables Day 1

Copyright 2015 Edmentum - All rights reserved Picture is not drawn to scale.

1. The chance of getting a flush in a 5-card poker hand is about 2 in 1000.

S = {(1, 1), (1, 2),, (6, 6)}

Chapter 7 Homework Problems. 1. If a carefully made die is rolled once, it is reasonable to assign probability 1/6 to each of the six faces.

Exam III Review Problems

Ex 1: A coin is flipped. Heads, you win $1. Tails, you lose $1. What is the expected value of this game?

Probability and Counting Rules. Chapter 3

Junior Circle Meeting 5 Probability. May 2, ii. In an actual experiment, can one get a different number of heads when flipping a coin 100 times?

1. Determine whether the following experiments are binomial.

The Teachers Circle Mar. 20, 2012 HOW TO GAMBLE IF YOU MUST (I ll bet you $5 that if you give me $10, I ll give you $20.)

Chapter 6: Probability and Simulation. The study of randomness

4.3 Rules of Probability

Probability MAT230. Fall Discrete Mathematics. MAT230 (Discrete Math) Probability Fall / 37

I. WHAT IS PROBABILITY?

Independence Is The Word

, x {1, 2, k}, where k > 0. (a) Write down P(X = 2). (1) (b) Show that k = 3. (4) Find E(X). (2) (Total 7 marks)

1. How to identify the sample space of a probability experiment and how to identify simple events

Chapter 11: Probability and Counting Techniques

7.1 Chance Surprises, 7.2 Predicting the Future in an Uncertain World, 7.4 Down for the Count

Probability. March 06, J. Boulton MDM 4U1. P(A) = n(a) n(s) Introductory Probability

Important Distributions 7/17/2006

Algebra 1B notes and problems May 14, 2009 Independent events page 1

3.2 Measures of Central Tendency

Probability: Terminology and Examples Spring January 1, / 22

Week in Review #5 ( , 3.1)

November 11, Chapter 8: Probability: The Mathematics of Chance

Unit 9: Probability Assignments

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

Probability. Dr. Zhang Fordham Univ.

Probability and Counting Techniques

Theory of Probability - Brett Bernstein

1. More on Binomial Distributions

Math 4610, Problems to be Worked in Class

Rosen, Discrete Mathematics and Its Applications, 6th edition Extra Examples

2. The Extensive Form of a Game

Probability --QUESTIONS-- Principles of Math 12 - Probability Practice Exam 1

10-7 Simulations. 5. VIDEO GAMES Ian works at a video game store. Last year he sold 95% of the new-release video games.

Suppose Y is a random variable with probability distribution function f(y). The mathematical expectation, or expected value, E(Y) is defined as:

The topic for the third and final major portion of the course is Probability. We will aim to make sense of statements such as the following:

23 Applications of Probability to Combinatorics

Probability Distributions. Probability Distributions. J. Boulton. May 08, 2013 MDM 4U1. Where are we?

If a regular six-sided die is rolled, the possible outcomes can be listed as {1, 2, 3, 4, 5, 6} there are 6 outcomes.

TJP TOP TIPS FOR IGCSE STATS & PROBABILITY

10-7 Simulations. Do 20 trials and record the results in a frequency table. Divide the frequency by 20 to get the probabilities.

Class VIII Chapter 5 Data Handling Maths. Class VIII Mathematics (Ex. 5.1) Questions

Chapter 4: Introduction to Probability

Basic Probability Ideas. Experiment - a situation involving chance or probability that leads to results called outcomes.

Grade 8 Math Assignment: Probability

PROBABILITY. 1. Introduction. Candidates should able to:

CHAPTER 7 Probability

Simulations. 1 The Concept

Math 147 Lecture Notes: Lecture 21

STATION 1: ROULETTE. Name of Guesser Tally of Wins Tally of Losses # of Wins #1 #2

6. a) Determine the probability distribution. b) Determine the expected sum of two dice. c) Repeat parts a) and b) for the sum of

Counting and Probability

Lenarz Math 102 Practice Exam # 3 Name: 1. A 10-sided die is rolled 100 times with the following results:

Section 6.1 #16. Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

Math 141 Exam 3 Review with Key. 1. P(E)=0.5, P(F)=0.6 P(E F)=0.9 Find ) b) P( E F ) c) P( E F )

Math 227 Elementary Statistics. Bluman 5 th edition

Raise your hand if you rode a bus within the past month. Record the number of raised hands.

Chapter 17: The Expected Value and Standard Error

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:

Stat 20: Intro to Probability and Statistics

ECON 214 Elements of Statistics for Economists

Counting and Probability

Module 4 Project Maths Development Team Draft (Version 2)

Module 5: Probability and Randomness Practice exercises

Casino Lab AP Statistics

3 The multiplication rule/miscellaneous counting problems

CS1802 Week 9: Probability, Expectation, Entropy

12 Probability. Introduction Randomness

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

Midterm 2 Practice Problems

Mathematical Foundations HW 5 By 11:59pm, 12 Dec, 2015

There is no class tomorrow! Have a good weekend! Scores will be posted in Compass early Friday morning J

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5.

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5.

Here are two situations involving chance:

TEST A CHAPTER 11, PROBABILITY

Chapter 11: Probability and Counting Techniques

Part 1: I can express probability as a fraction, decimal, and percent

Transcription:

Section 8: Random Variables and probability distributions of discrete random variables In the previous sections we saw that when we have numerical data, we can calculate descriptive statistics such as the mean, the median, the range and the standard deviation When we perform an experiment, we are often interested in recording more than one piece of numerical data for each trial For example, when a patient visits the doctor s office, their height, weight, temperature and blood pressure are recorded These observations vary from patient to patient, hence they are called variables In fact they are called random variables, because we cannot predict what their value will be for the next trial of the experiment (for the next patient) Rather than repeat and write the words height, weight and blood pressure many times, we tend to give random variables names such as, Y We usually use capital letters to denote the name of the variable and lowercase letters to denote the values A Random Variable is a rule that assigns a number to each outcome of an experiment There may be more than one random variable associated with an experiment Example An experiment consists of rolling a pair of dice, one red and one green, and observing the pair of numbers on the uppermost faces (red first) We let denote the sums of the numbers on the uppermost faces Below, we show the outcomes on the left and the values of associated to some of the outcomes on the right: {(, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, )} (a) What are the possible values of? + =, + =,, + = Outcome (, ) (, ) (, ) (, ) (b) We see that there are outcomes of this experiment for which has a value of, namely (, ) and (, ) How many outcomes of the above experiment are associated with the values of shown in the table below: Value of Number of possible (associated) outcomes

Value of Number of possible (associated)outcomes (,) (,), (,) (,), (,), (,) (,), (,), (,), (,) (,), (,), (,), (,), (,) 7 (,), (,), (,), (,), (,), (,) 8 (,), (,), (,), (,), (,) 9 (,), (,), (,), (,) 0 (,), (,), (,) (,), (,) (,) (c) We could also define other variables associated to this experiment Let Y be the product of the numbers on the uppermost faces, fill in the values of Y associated to the outcomes given below: Outcome Y (, ) (, ), (, ) (, ), (, ) (, ), (, ) (, ), (, ) (, ), (, ) Outcome Y (, ) (, ), (, ) (, ), (, ) 8 (, ), (, ) 0 (, ), (, ) (d) What are the possible values of Y? Outcome (, ) (, ) (, ) (, ),,,,,, 8, 9, 0,,,, 8, 0,,, 0, Y Outcome Y (, ) 9 (, ), (, ) (, ), (, ) (, ), (, ) 8 Outcome Y (, ) (, ), (, ) 0 (, ), (, ) (, ) (, ), (, ) 0 (, ) Example An experiment consists of flipping a coin times and observing the sequence of heads and tails The random variable is the number of heads in the observed sequence Fill in the possible values of and the number of outcomes associated to each value in the table below:

Value of Number of possible (associated) outcomes Number of possible x Value of (associated) outcomes HHHH HHHT, HHTH, HTHH, THHH HHTT, HTHT, HTTH, THHT, THTH, TTHH HTTT, THTT, TTHT, TTTH 0 TTTT For some random variables, the possible values of the variable can be separated and listed in either a finite list or and infinite list These variables are called discrete random variablessome examples are shown below: Experiment Roll a pair of six-sided dice Roll a pair of six-sided dice Toss a coin 0 times Choose a small pack of M&M s at random Choose a year at random Random Variable, Sum of the numbers Product of the numbers Number of tails The number of blue M&M s in the pack The number of people who ran the Boston Marathon in that year On the other hand, a continuous random variable can assume any value in some interval Some examples are: Experiment Choose a patient at random Choose an apple at random at your local grocery store Choose a customer at random at Subway Random Variable, Patient s Height Weight of the apple The length of time the customer waits to be served Probability Distributions For Random Variables For a discrete random variable with finitely many possible values, we can calculate the probability that a particular value of the random variable will be observed by adding the probabilities of the outcomes of our experiment associated to that value of the random variable (assuming that we know those probabilities) This assignent of probabilities to each possible value of is called the probability distribution of

Example If I roll a pair of fair six sided dice and observe the pair of numbers on the uppermost face, all outcomes are equally likely, each with a probability of Let denote the sum of the pair of numbers observed We saw that a value of for is associated to two outcomes in our sample space: (, ) and (, ) Therefore the probability that takes the value or P ( = ) is the sum of the probabilities of the two outcomes (, ) and (, ) which is That is P ( = ) = If is a discrete random variable with finitely many possible values, we can display the probability distribution of in a table where the possible values of are listed alongside their probabilities Example I roll a pair of fair six sided dice and observe the pair of numbers on the uppermost face Let denote the sum of the pair of numbers observed Complete the table showing the probability distribution of below: P() {(, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, ) (, )} P() 7 8 9 0 P() 8 9 0 7 Probability Distribution: If a discrete random variables has possible values x, x, x,, x k, then a probability distribution P () is a rule that assigns a probability P (x i ) to each value x i More

specifically, 0 P (x i ) for each x i P (x ) + P (x ) + + P (x k ) = Example An experiment consists of flipping a coin times and observing the sequence of heads and tails The random variable is the number of heads in the observed sequence Fill in probabilities for each possible values of in the table below P() 0 P() 0 We can also represent a probability distribution for a discrete random variable with finitely many possible values graphically by constructing a bar graph We form a category for each value of the random variable centered at the value which does not contain any other possible value of the random variable We make each category of equal width and above each category we draw a bar with height equal to the probability of the corresponding value if the possible values of the random variable are integers, we can give each bar a base of width Example An experiment consists of flipping a coin times and observing the sequence of heads and tails The random variable is the number of heads in the observed sequence The following is a graphical representation of the probability distribution of

0 00 0 00 0 00 00 0 Example The following is a probability distribution histogram for a random variable 0 0 What is P ( )? P ( ) = P ( = )+P ( = )+P ( = )+P ( = ) = 0+0+0+0+0 = 08 OR P ( ) = P ( = ) = 0 = 08

Example In a carnival game a player flips a coin twice The player pays $ to play The player then receives $ for every head observed and pays $, to the game attendant, for every Tail observed Find the probability distribution for the random variable = the player s (net) earnings There are possible outcomes HH, HT, T H, T T The return to the player in the case HH is, the return to the player in the case HT or T H is, and the return to the player in the case T T is Hence P ( = ) =, P ( = ) = and P ( = ) = Example In Roulette, if you bet $ on red, you get your $ back + $ profit if the ball lands on red If the ball does not land on red, the attendant keeps your money and you get nothing back The roulette wheel (Vegas) has 8 red numbers, 8 black numbers and greens The ball is equally likely to go into any of the pockets What is the probability distribution for your earnings for this game if you bet $ on red There are only two outcomes: you win $ or you get $ P ( = ) = 8 8 + 8 + = 8 8 P ( = ) = 8 + 8 + 8 + = 0 8 7

Example: Netty s Scam Extras Netty the Incredible runs the following scam in her spare time: She has a business where she forecasts the gender of the unborn child for expectant couples, for a small price The couple come for a visit to Netty s office and, having met them, Netty retires to her ante-room to gaze into her Crystal Ball In reality, Netty flips a coin If the result is Heads, she will predict a boy and if the result is Tails, she will predict a girl Netty returns to her office and tells the couple of what she saw in her crystal ball She collects her fee of $00 from the couple and promises to return $0 if she was wrong What is the probability distribution for Netty s earnings per consultancy in this business? Netty will win $00 if she wins and lose $0 if she loses Let be the random variable which is the amount Netty wins in one consultancy Hence P ( = 00) = 0 and P ( = 0) = 0 Example Harold and Maude play a card game as follows Harold picks a card from a standard deck of cards, and Maude tries to guess its suit without looking at it If Maude guesses correctly, Harold gives her $00; otherwise, Maude gives Harold $00 What is the probability distribution for Maude s earnings for this game (assuming she is not psychic )? If is the random variable which is the amount Maude wins in one round Either Maude wins $ or she looses $ Hence P ( = ) = = and P ( = ) = 8 = Example At a carnival game, the player plays $ to play and then rolls a pair of fair six-sided dice If the sum of the numbers on the uppermost face of the dice is 9 or higher, the game attendant gives the player $ Otherwise, the player receives nothing from the attendant Let denote the earnings for the player for this game What is the probability distribution for? The player either wins $ - $ = $ or looses $ P ( = ) = + + + = 0 and P ( = ) = 8

Example The rules of a carnival game are as follows: The player pays $ to play the game The player then flips a fair coin, if the player gets a head the game attendant gives the player $ and the player stops playing If the player gets a tail on the coin, the player rolls a fair six-sided die If the player gets a six, the game attendant gives the player $ and the game is over If the player does not get a six on the die, the game is over and the game attendant gives nothing to the player Let denote the player s (net) earnings for this game, what is the probability distribution of? A tree diagram could help net earning = 0 0 0 T net earning = 0 net earning = - P ( = ) = 0; P ( = 0) = = ; P ( = ) = = 9

Example: Requires True Grit The rules of a carnival game are as follows: The player pays $ to play The attendant then deals a random selection of cards from a standard deck of cards to the player If the player has at least three aces in the cards he/she is dealt, the attendant gives the player $00 and the game is over Otherwse the player selects cards from the he/she was dealt and discards them The attendant gives the player a random selection of cards from the remaining cards in the deck to replace the ones discarded The player now has cards and if the player has at least aces among the cards, then the attendant gives the player $00 and the game is over If the player does not have at least aces among the cards, then the attendant gives the player nothing and the game is over Let denote the player s (net) earnings for this game, what is the probability distribution for (Hint: use a tree diagram classifying outcomes according to the number of aces dealt) 0

A tree diagram could help again P ( or aces) net earning = 9 0 P ( aces) P r (0 aces) net earning = - P (0 aces) P ( ace) P r ( or aces) P r ( or aces) net earning = 9 net earning = 9 P r 0 ( aces) P r (0 or ace) net earning = - P r 0 (0, or aces) net earning = 9 net earning = - We have calculated the needed probabilities before The probability of getting k aces C(, k) C(8, k) in round is C(, ) The probabilities P r k are a bit different There are only 7 cards in round and the number of aces in the round deck is minus the number of aces we got in round You are only dealt cards, not In any case, the only two outcomes are a net earning of $9 or -$ There are paths which end in $9 Here are the pieces C(, ) C(8, ) + C(, ) C(8, ) P ( or aces) = C(, ) C(, ) C(8, ) C(, ) C(8, ) P ( aces) =, P ( ace) = C(, ) C(, ) or P (0 aces) = C(, 0) C(8, ) C(, ) C(, ) C(, ) + C(, ) C(, ) P r ( or aces) = C(7, ) C(, ) C(, ) + C(, ) C(, 0) P r ( or aces) = C(7, ) C(, ) C(, 0) P r 0 ( aces) = C(7, )