V. RANDOM VARIABLES, PROBABILITY DISTRIBUTIONS, EXPECTED VALUE



Similar documents
Section 7C: The Law of Large Numbers

36 Odds, Expected Value, and Conditional Probability

Chapter What is the probability that a card chosen from an ordinary deck of 52 cards is an ace? Ans: 4/52.

Lesson 1. Basics of Probability. Principles of Mathematics 12: Explained! 314

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

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

Introductory Probability. MATH 107: Finite Mathematics University of Louisville. March 5, 2014

Decision Making Under Uncertainty. Professor Peter Cramton Economics 300

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

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

AMS 5 CHANCE VARIABILITY

The overall size of these chance errors is measured by their RMS HALF THE NUMBER OF TOSSES NUMBER OF HEADS MINUS NUMBER OF TOSSES

Lecture 13. Understanding Probability and Long-Term Expectations

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

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

2. How many ways can the letters in PHOENIX be rearranged? 7! = 5,040 ways.

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

Chapter 16: law of averages

Chapter 4 Lecture Notes

Probability and Expected Value

AP Statistics 7!3! 6!

Betting systems: how not to lose your money gambling

3.2 Roulette and Markov Chains

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

Week 5: Expected value and Betting systems

Mathematical Expectation

Ch. 13.2: Mathematical Expectation

Unit 19: Probability Models

Chapter 4 - Practice Problems 1

Expected Value and the Game of Craps

Session 8 Probability

Expected Value. 24 February Expected Value 24 February /19

AP Stats - Probability Review

Pattern matching probabilities and paradoxes A new variation on Penney s coin game

Statistics 100A Homework 3 Solutions

Section 6-5 Sample Spaces and Probability

Chapter 16. Law of averages. Chance. Example 1: rolling two dice Sum of draws. Setting up a. Example 2: American roulette. Summary.

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

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

Discrete Probability Distributions

Chapter 13 & 14 - Probability PART

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 13. Random Variables: Distribution and Expectation

Bayesian Tutorial (Sheet Updated 20 March)

Probability. Sample space: all the possible outcomes of a probability experiment, i.e., the population of outcomes

Expected Value and Variance

Probability and statistical hypothesis testing. Holger Diessel

Probabilistic Strategies: Solutions

Responsible Gambling Education Unit: Mathematics A & B

Probability: Terminology and Examples Class 2, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

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

TOPIC P2: SAMPLE SPACE AND ASSIGNING PROBABILITIES SPOTLIGHT: THE CASINO GAME OF ROULETTE. Topic P2: Sample Space and Assigning Probabilities

Homework Assignment #2: Answer Key

Ch. 13.3: More about Probability

PROBABILITY. The theory of probabilities is simply the Science of logic quantitatively treated. C.S. PEIRCE

Chapter 5 Section 2 day f.notebook. November 17, Honors Statistics

(SEE IF YOU KNOW THE TRUTH ABOUT GAMBLING)

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

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.

The New Mexico Lottery

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

13.0 Central Limit Theorem

Example: Find the expected value of the random variable X. X P(X)

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

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

Chapter 7 Probability and Statistics

Expected Value and Variance

For two disjoint subsets A and B of Ω, say that A and B are disjoint events. For disjoint events A and B we take an axiom P(A B) = P(A) + P(B)

Chapter 3. Probability

Solution (Done in class)

Contemporary Mathematics Online Math 1030 Sample Exam I Chapters No Time Limit No Scratch Paper Calculator Allowed: Scientific

Week 2: Conditional Probability and Bayes formula

Contemporary Mathematics- MAT 130. Probability. a) What is the probability of obtaining a number less than 4?

Statistics 100A Homework 4 Solutions

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

The Normal Approximation to Probability Histograms. Dice: Throw a single die twice. The Probability Histogram: Area = Probability. Where are we going?

Mathematical goals. Starting points. Materials required. Time needed

14.4. Expected Value Objectives. Expected Value

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

ECE 316 Probability Theory and Random Processes

Section 6.2 Definition of Probability

Exam 3 Review/WIR 9 These problems will be started in class on April 7 and continued on April 8 at the WIR.

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

Determine the empirical probability that a person selected at random from the 1000 surveyed uses Mastercard.

Feb 7 Homework Solutions Math 151, Winter Chapter 4 Problems (pages )

= = 106.

Basic Probability Theory II

MONT 107N Understanding Randomness Solutions For Final Examination May 11, 2010

University of California, Los Angeles Department of Statistics. Random variables

Example. A casino offers the following bets (the fairest bets in the casino!) 1 You get $0 (i.e., you can walk away)

Chapter 5. Discrete Probability Distributions

Law of Large Numbers. Alexandra Barbato and Craig O Connell. Honors 391A Mathematical Gems Jenia Tevelev

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

ACMS Section 02 Elements of Statistics October 28, Midterm Examination II

UNIT 7A 118 CHAPTER 7: PROBABILITY: LIVING WITH THE ODDS

Solutions: Problems for Chapter 3. Solutions: Problems for Chapter 3

Math 55: Discrete Mathematics

Probability Distribution for Discrete Random Variables

1/3 1/3 1/

Practical Probability:

Transcription:

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 heads or tails turn up, and you get your dollar back. You lose $ if a head and a tail turn up, and you do not get your dollar back. Another way to describe this game is: Two coins are flipped. You win $ if either heads or 0 heads turn up; you lose $ if exactly one head turns up. Suppose you can play this game as many times as you like. Would you play over and over again? Does either side (i.e., you or the amusement park) have an advantage? If so, what is it? The objective of this section is to provide the mathematical methods to answer these questions. Random Variable: The probability experiment involved in the game described above is: Flip a penny and a nickel. The sample space of equally likely simple events is: S = { HH, HT, TH, TT}. For the purposes of our game, we are not interested in the particular pattern of the coins. Rather we want to know the number of heads that turns up. So, we associate with HH, with HT and with TH, and 0 with TT. That is, we have defined a function that associates a real number with each of the simple events in S. Given a probability experiment with sample space S. A random variable X is a function that assigns a numerical value to each simple event in S. Examples 5.:. Flip a penny, a nickel and a dime. Let S be the sample space of equally likely simple events and let X be the number of heads that turn up. Give the values of X. Sample Space S Number of Heads X(e i ) e : HHH e : HHT e : HTH 7

e : THH e 5 : HTT e : THT e 7 : TTH e : TTT 0. In the game of craps, dice are tossed (If it helps you, imagine that one die is red and the other is green). The interest in this game is not on the particular number, say i, on the red die and the particular number, say j, on the green die that turns up. Instead, we are interested in the some of the two numbers i + j. Thus, to each of the equally likely simple events (i,j) in the sample space, we assign the number i + j. This association defines the random variable X the sum of the numbers that turn up. Some of the values of X are: X [(,)] =, X[(,)] = 7, X[(,)] = 9, X[(,)] =. Probability Distribution for a Random Variable: In Example 5.. we defined the random variable X whose values were 0,,,. We now consider the questions: If we toss coins, (you can think of them as a penny, a nickel and a dime), what is the probability that X = 0? That X =? That X =? That X =? The value X = 0 corresponds to the event E 0 = exactly 0 heads turn up ; E 0 = { TTT} and n( E ) P ( X = 0) = P( E ) 0 0 = =. n( S) The value X = corresponds to the event E = exactly head turns up ; E = { HTT, THT, TTH} and n( E ) P ( X = ) = P( E ) = =. n( S) Similarly, P ( X = ) = and P ( X = ) =. These results are summarized in the table below. This table is called a probability distribution for the random variable X. 7

Number of Heads x 0 Probability P(X = x) A graphical representation of this probability distribution is shown in the following figure, called a histogram. 0.9 0. Probability, P(X=x) 0.7 0. 0.5 0. 0. / / 0. 0. / / 0 Number of Heads (x) Note from the table that () 0 P ( X = x) (P(X = x) is the probability of an event) () P ( X = 0) + P( X = ) + P( X = ) + P( X = ) =. These are the properties that characterize the probability distribution of a random variable X associated with any probability experiment: 7

P Let X be a random variable with values x, x,..., x }. The probability function ( X k { k = x), x { x, x,..., x }, is a probability distribution of the random variable X if () For each x x, x,..., x }, 0 P ( X = x) { k () P X x ) + P( X = x ) +... + P( X = x ). ( = k = Examples 5.:. Two dice are rolled and X is the random variable the sum of the numbers that turn up. Find the probability distribution of X.. A box of 0 flashbulbs contains defective bulbs. A random sample of is selected and tested. Let X be the number of defective bulbs in the sample. Find the probability distribution of X. Solutions:. Based on the results of preceding examples, the probability distribution of X is X 5 7 9 0 P(X = x) 5 5. Let X be the random variable: the number of defective bulbs. Then the values of X are 0,, and. The total number of ways to select objects from a collection of 0 without regard to the order of selection is 0,. The probability of 0 defective bulbs: the number of ways to select good bulbs is 7, and 7, 7 P(0) = = =. 5 5 0, The probability of defective bulb( good bulb, bad bulb): the number of ways to select good bulb and defective bulb is 7,, and 75

7,, 7 7 P() = = =. 5 5 0, The probability of defective bulbs: the number of ways to select defective bulbs is and,, P() = = =. 5 5 0, The probability distribution of X is: X 0 P(X = x) 7 5 7 5 5 Expected Value: We continue with our probability experiment of tossing coins and letting X be the number of heads that turn up. Suppose we repeat the experiment n times, recording the number of heads that turn up each time. If we then add up the number of heads that occur in each of the n tosses and divide by n, we will get the average number of heads per toss. What would we expect the average number of heads per toss to be? According to the probability distribution given in the table above, when n is large 0 heads will occur in of the tosses, head will occur in of the tosses, heads will occur in of the tosses, heads will occur in of the tosses. Therefore, for large n, the total number of heads that will occur is: 0 ( ) n ( ) n + ( ) n + ( ) n = [0( ) + ( ) + ( ) + ( )] n +. Dividing by n we get the average number of heads per toss: 7

0 ( ) ( ) + ( ) + ( ) = =. 5 +. This number is called the expected value of the random variable X. Note that the expected value of X is not necessarily a value that will occur in a single trial of the experiment (In this particular case, you can not get.5 heads if you flip coins). The expected value is the average of what occurs over a large number of trials of the experiment. In general, let X be a random variable with probability distribution given by the table X x x x k P(X = x) p p p k The expected value of X, denoted by E(X), is given by the formula E X ) = x p + x p +... + x k p k (. Examples 5.:. An experiment consists of rolling a single die. Let the random variable X be the number that turns up. What is the expected value of X?. Two dice are rolled and X is the random variable the sum of the numbers that turn up. Find E(X).. A box of 0 flashbulbs contains defective bulbs. A random sample of is selected and tested. Let X be the number of defective bulbs in the sample. Find E(X). Solutions:. Let X = the number that turns up. The probability distribution of X is Therefore, X 5 P(X = x) 77

+ + + 5 + EX ( ) = + = =.5.. From Example 5.., EX ( ) = + 5 + + 5 + + 7 + 5 + 9 + 0 + + 5 = = 7. From Example 5.., 7 7 0 + + 5 5 5 E ( X ) = = = 0.. 5 Expected Value of a Game: Now we use the expected value of a random variable to find the expected value of a game of chance. We return to the example that began this section. You pay $. A penny and a nickel are flipped. You win $ if either heads or tails turn up, and your $ is returned; otherwise you lose $ and your $ is not returned. The sample space is: S = {0 heads,head, heads}. This time our random variable X is the amount you win if 0 heads, head, or heads turn up. The probability distribution for X, called a payoff table, is: Number of Heads 0 X $ -$ $ Probability p The expected value of the game is: ( ) + ( $) ( ) + $( ) $ $ = $ = 50 E ( X ) = $ =. 7

If you play this game over and over again, you will lose an average of 50 per game. The amusement park has the advantage in this game; the park wins an average of 50 each time the game is played. A game is fair if and only if the expected value E ( X ) = 0. That is, neither side has an advantage. Our amusement park game is not fair. So this raises the question: For the game to be fair, how much should you lose, in addition to the $ you paid to play, if exactly one head turns up? Denote that amount by u. Then the payoff table is: Number of Heads 0 X $ -$(u + ) $ Probability p Since the game is fair, we have Solving this equation for u we get, ( ) + [ $( + )] ( ) + $( ) = 0 E ( X ) = $ u. u = 0 which gives u =. Thus, the game will be fair if it is modified so that we lose $ if exactly one head turns up. Examples 5.:. A roulette wheel has equally likely spaced slots numbered 00, 0,,,,. A player bets $ on one of the numbers and wins $5 (and gets the $ back) if the ball comes to rest on the chosen number; otherwise the player loses the $. the random variable X assigns the value $5 to having the ball land on the chosen number and $ to having the ball land on any other number. What is the expected value of roulette?. One thousand tickets are sold at $ each for a charity raffle. Tickets are to be drawn at random and cash prizes are to be awarded as follows: prize of $00, prizes of $50, and 5 prizes of $0. What is the expected value of this raffle if you buy ticket? 79

. In the original Texas Lotto game you paid $ to select numbers from the set {,,,..., 50}. (a) What is your expected value if you buy ticket and the jackpot is $ million? (b) What is your expected value if you buy ticket and the jackpot is $0 million? (c) At what jackpot level is Texas Lotto a fair game? Solutions:. The payoff table for roulette is: X $5 $ p 7 The expected value of the game is: 7 ( ) + ( ) ( ) = $ = $ 5 E ( X ) = 5. 9. You have a: 000 000 5 000 = 0.00 chance of winning $99 [ $00 $ (the cost of the ticket)] = 0.00 chance of winning $9 = 0.005 chance of winning $9 99 = 0.99 chance of winning $. 000 Therefore, the payoff table is: X $99 $9 $9 $ p 0.00 0.00 0.005 0.99 0

The expected value is: E ( X ) = 99(.00) + 9(.00) + 9(.005) 0.99 = 0.5. Thus E ( X ) = $0.5 = 5.. You are choosing numbers from the set of 50 numbers. This can be done in 50, different ways (the order of the selection is immaterial). Therefore, the probability of having the winning ticket is / 50, = /5,90,700 0. 0000000. (a) The payoff table is: X $,999,999 -$ p 0.0000000 0.99999997 and E ( X ) = (,999,999)0.0000000 0.99999997 = $0.75 (b) The payoff table is X $9,999,999 -$ p 0.0000000 0.99999997 and E ( X ) = (9,999,999)0.0000000 0.99999997 = $.5 (c) Let N be the jackpot level at which the game is fair. Then E ( X ) = N(0.0000000) 0.99999997 = 0 and 0.99999997 N = 5,7,05. 0.0000000

Exercises.5:. Roll a standard -sided die twice. Let X denote the maximum of the two numbers observed. omplete the table of the distribution of X given below. x 5 P[X = x] / /. For the experiment described in #, what is the expected value of X?. Let Y denote the minimum of the two rolls of the die. Find the distribution of the random variable X - Y.. In problem #, find the expected value of X Y. 5. The odds on your winning a certain bar bet are :. If you put up $00, how much should your opponent put up to make it a fair bet?. In a certain lottery game, a sequence of three numbers from to 9 is randomly chosen, with replacement. It costs $ to play. What must the payoff to a winner be in order for the game to be fair? 7. You and Nick play a game called gambler s ruin. You start with x dollars and Nick starts with y dollars. A fair coin is tossed repeatedly. On each head, Nick gives you $ and on each tail you give him $. You play until one of you is x broke. It can be shown that the probability that you win is. What is the x + y expected payoff to you?. In Example 5.., suppose prizes and ticket prices are expressed in pounds sterling instead of dollars and that one pound sterling is worth two dollars. What is the value of the game in pounds sterling? What general principle explains the answer? 9. In Example 5.., suppose some benefactor agrees to give every player $000, regardless of the outcome of the raffle. What is the expected value of the game? What general principle is at work? 0. A standard six-sided die is rolled once. X is the square of the number of spots. What is the expected value of X? What lesson does this teach us?

Answers to the Exercises hapter Exercises.:. a) (,) (, ) (, ) (, ) (, 5) (, ) (,) (,) (,) (,) (,5) (,) (,) (, ) (,) (, ) (,5) (, ) S = {( i, j i on the red die, j on the green die}= (,) (,) (,) (,) (,5) (,) (5,) (5, ) (5,) (5, ) (5,5) (5,) (,)(,)(,)(,)(,5)(,) b) (,) (, ) (, ) (, ) (, 5) (, ) (, ) (,) (, ) (,5) (,) (,) (,) (,5) (,) S = (, ) (,5) (,) (5,5) (5,) (,). a) There are x = outcomes. b) S = {H,H,H,H,H5,H,T,T,T,T,T5,T} c) E = {H H,H,H,H5,H,T,T,T5}. b) S = { MMM, MMF, MF, FM, FFM, FFF} c) E = { FFM, FFF}

5 0 5 0 0 0 0 5 0 0 0 0. a) (above) 5. a) b) S = {(,,5,0) (,,0) (,5,,0) (,5,0) (,0) (5,,,0) (5,,0) (5,0) (0)} c) E = {(,,5,0),(,5,,0),(5,,,0)} d) F = {(,,0) (,0) (0)}

S = (,,,,, } b) There are = 7 elements in the sample space.. a) There are P, = = elements in the sample space. b) There are = -digit numbers. c) There are = odd four-digit numbers (the last digit must be or, the first digit cannot be 0). d) There are = four-digit numbers less than 000. 7. a) S = { (,),(,),(,),(,),(,5),(,),(,),(,),(,),(,),(,5),(,),(,),(,), (,),(,),(,5),(,) } b) E = { (,),.(,),(,),(,),(,),(,),(,5),(,),(,) }, ne ( ) = 9 c) F = { (,5),(,),(,) }, nf ( ) =.. a) 5,5 =,59,90 possible hands. b) possible hands. c),5 = 7 =5 possible hands. d) There are cards in each of the suits, so the number of four-of-a-kind hands is: = ()() = possible hands.,, = = 7 possible hands. e),, Exercises.. a. Event E cannot occur b. Event E is certain to occur.. (b), (e), (f), (g). (a) is not acceptable (one of the probabilities is negative), (b) is not acceptable (the sum of the probabilities is not ), (c) is acceptable.. P()=P()=P(5)=/9; P()=P()=P()=/9. 5

5. a. P(BBG)=/ b. P( boys and girl) = / c. P(at least one of each sex) = /. (a) / (b) / (c) / (d) 0 (e) (f) / 7. (a) / (b) /9 (c) 5/ (d) 5/ (e) / (f) 5/ (g) /. (a) /9 (b) /9 (c) 0 (d) 5/9 (e) 5/9 9. (a) /5 (b) / 0. (a) 9/9 (b) /9 (c) /9 (counting 00 < 5) (d) /. (a),5 5,5 (b),5 5,5 (c) ()() 5,5 (d),, 5,5 (e) () (),, 5,5. (a) 0, 5, (b) (5) 5, 0, (c) 5, 0, 5, (d) + 5, 5, 5, Exercises... PE ( ) = c 5 PE ( ) = =. Let E = each person has a different birth month. Then ()()(0) PE ( ) = 0.7. c E = at least two people have the same birth month.

c PE ( ) = 0.7 = 0... % c c c 5. PB ( A) = 0.9; PA ( B) = 0.. : 9 7. Let p be the probability that Slim Jim wins. Then + + p= p=. 0 5 Therefore, the odds on Slim Jim are :. Exercises. PH ( H ) = ; dependent 5. 5. PH ( R ) = ; dependent 0. PS ( J ) = ; independent 5. PR ( H ) = ; dependent 5 5. c PA ( ) =. Let D = guard says will not be shot. PAD= ( ).. H = has defect, = correct diagnosis. PH ( ) = 0.9 Exercises.5:. x 5 P[X=x] / / 5/ 7/ 9/ / 7

. EX ( ) =.7. X - y 0 5 P[X Y] / 0/ / / / /. EX ( Y) =.9 5. $5. $5 x 7. You win y dollars with probability ; you lose x dollars with probability x + y y x y. Your expected payoff is: y x = 0. x + y x+ y x+ y. 0.5 ; if the prizes and prices are multiplied by a positive number α, then the value is multiplied by α. 9. $000 0.5 = $999.5 ; if each value is changed by an amount S, then the expected value is changed by S. 0. EX ( ) = 5.7 ; the expected value of the squares is not the square of the original expected value.