Mathematical Expectation

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

Probability and Expected Value

Expected Value and the Game of Craps

V. RANDOM VARIABLES, PROBABILITY DISTRIBUTIONS, EXPECTED VALUE

Section 7C: The Law of Large Numbers

AMS 5 CHANCE VARIABILITY

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

Problem sets for BUEC 333 Part 1: Probability and Statistics

Joint Exam 1/P Sample Exam 1

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)

Stat 20: Intro to Probability and Statistics

Week 5: Expected value and Betting systems

Chapter 4 Lecture Notes

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

Ch. 13.2: Mathematical Expectation

Statistics 100A Homework 3 Solutions

Betting systems: how not to lose your money gambling

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

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

SCRATCHING THE SURFACE OF PROBABILITY. Robert J. Russell, University of Paisley, UK

Statistics 100A Homework 8 Solutions

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

Random Variables. Chapter 2. Random Variables 1

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

Probability Models.S1 Introduction to Probability

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

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

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

Lab 11. Simulations. The Concept

Chapter 16: law of averages

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

PROBABILITY SECOND EDITION

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

Math/Stats 342: Solutions to Homework

Probability Distribution for Discrete Random Variables

Lecture 13. Understanding Probability and Long-Term Expectations

Mathematical goals. Starting points. Materials required. Time needed

That s Not Fair! ASSESSMENT #HSMA20. Benchmark Grades: 9-12

Unit 19: Probability Models

Math 431 An Introduction to Probability. Final Exam Solutions

Chicago Booth BUSINESS STATISTICS Final Exam Fall 2011

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

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

Roulette. Math 5 Crew. Department of Mathematics Dartmouth College. Roulette p.1/14

= = 106.

Covariance and Correlation

Expected Value. 24 February Expected Value 24 February /19

Basic Descriptive Statistics & Probability Distributions

$ ( $1) = 40

Lecture 5: Mathematical Expectation

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

Random variables P(X = 3) = P(X = 3) = 1 8, P(X = 1) = P(X = 1) = 3 8.

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

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

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

Decision Theory Rational prospecting

6 PROBABILITY GENERATING FUNCTIONS

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

The sample space for a pair of die rolls is the set. The sample space for a random number between 0 and 1 is the interval [0, 1].

Math 370/408, Spring 2008 Prof. A.J. Hildebrand. Actuarial Exam Practice Problem Set 2 Solutions

3.2 Roulette and Markov Chains

How To Know If Bingo Is Gambling

Definition: Suppose that two random variables, either continuous or discrete, X and Y have joint density

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

You flip a fair coin four times, what is the probability that you obtain three heads.

Betting on Excel to enliven the teaching of probability

36 Odds, Expected Value, and Conditional Probability

STA 130 (Winter 2016): An Introduction to Statistical Reasoning and Data Science

Chapter 5. Discrete Probability Distributions

Measurements of central tendency express whether the numbers tend to be high or low. The most common of these are:

The New Mexico Lottery

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

For a partition B 1,..., B n, where B i B j = for i. A = (A B 1 ) (A B 2 ),..., (A B n ) and thus. P (A) = P (A B i ) = P (A B i )P (B i )

We { can see that if U = 2, 3, 7, 11, or 12 then the round is decided on the first cast, U = V, and W if U = 7, 11 X = L if U = 2, 3, 12.

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

Lecture 6: Discrete & Continuous Probability and Random Variables

ECE302 Spring 2006 HW3 Solutions February 2,

Math 425 (Fall 08) Solutions Midterm 2 November 6, 2008

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

Find an expected value involving two events. Find an expected value involving multiple events. Use expected value to make investment decisions.

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

Lecture 11 Uncertainty

ECE 316 Probability Theory and Random Processes

14.4. Expected Value Objectives. Expected Value

Econ 132 C. Health Insurance: U.S., Risk Pooling, Risk Aversion, Moral Hazard, Rand Study 7

Random Fibonacci-type Sequences in Online Gambling

SIXTEEN PLAYERS, TWO DICE, ONE SHOOTER

MrMajik s Money Management Strategy Copyright MrMajik.com 2003 All rights reserved.

Holding Period Return. Return, Risk, and Risk Aversion. Percentage Return or Dollar Return? An Example. Percentage Return or Dollar Return? 10% or 10?

Math 55: Discrete Mathematics

Mind on Statistics. Chapter 8

Homework Assignment #2: Answer Key

Section 6.1 Discrete Random variables Probability Distribution

! Insurance and Gambling

E3: PROBABILITY AND STATISTICS lecture notes

Decision Making Under Uncertainty. Professor Peter Cramton Economics 300

Over the past few years, management in

Lecture 3: Continuous distributions, expected value & mean, variance, the normal distribution

Binomial random variables (Review)

Transcription:

Mathematical Expectation Properties of Mathematical Expectation I The concept of mathematical expectation arose in connection with games of chance. In its simplest form, mathematical expectation is the product of the amount a player stands to win and the probability that the player would win. For example, if one of the,000 tickets of a raffle paid a prize of $5,000, the mathematical expectation of the lottery would be.00 $5,000 = $5. This figure is indeed the average; altogether the 000 tickets pay $5,000 so the average ticket is worth $5,000/000 = $5. It is possible to alter this example slightly to demonstrate mathematical expectation of a more complicated lottery. For instance, if two second place tickets paid the holders $,000 each, then the mathematical expectation of the lottery is.00 $5,000+.00 $,000=$7. In the preceding example, the amount won in the lottery was a random variable, and the mathematical expectation of this random variable was the sum of the products obtained by each value of the random variable by the corresponding probability. Referring to the mathematical expectation of a random variable simply as its expected value, we have the following two definitions: Definition # If X is a discrete random variable and f(x) is the value of its probability distribution at x, the expected value of X is E X xf x = [ ] ( ) If X is a continuous random variable and f(x) is the value of its probability distribution at x, the expected value of X is E x [ X] = xf ( x)dx Example # A casino is considering a dice game that would pay the winner of the game $0. The game is similar to craps, the participant would roll two fair, -sided dice and if they sum to 7 or, the participant wins; otherwise they lose. What is the expected payout the casino will make as each game is played? One first needs to identify the probability distribution f(x) of the sum of two dice. Below is a table that identifies these probabilities: Sum 3 4 5 7 8 9 0 Probability 3 8 9 5 3 5 3 9 8 3 Since the casino stands to lose $0 each time a contestant roles a 7 or, the mathematical expected value (or expected cost) of this game to the casino is: 0+ 0+ 0+ 0+ 5 0+ 0+ 5 0+ 0+ 0+ 3 8 9 3 3 9

0+ 0 = $.. The expected value of this game is $.. 8 3. A lot of Beethoven CDs includes two with the composer s autograph. If three CDs are chosen for random for shipment to radio stations, how many CDs with autographs can the shipper expect to send to any radio station?. Managers of an airline know that.5% of an airline s passengers lose their luggage on domestic flights. Management also knows that the average value claimed for a lost piece of luggage on domestic flights is $00. The company is considering increasing fares by an appropriate amount to cover expected compensation to passengers who lose their luggage. By how much should the airline increase fares? 3. If X is the number of points rolled with a balanced die, and I pay you according to the formula x +, what is the expect value of pay you receive after rolling one die? Properties of Mathematical Expectation II Linearity: If X and Y are random variables and a and b are constants, then: i E[aX]=aE[X] ii E[X + b] = E[X] + b The first property suggests that the mathematical expectation of a constant times a random variable is equal to the expectation of a random variable times a constant. In example #, one may ask, what is the expected value of playing this dice game 0 times? Statement i suggests that the expected value is simply 0 $. = $44.40. Statement ii implies that the expectation of a random variable plus a constant is equal to the constant plus the expectation of the random variable. 4. What is the expected value of a game that works as follows: I flip a coin and, if tails pay you $; if heads pay you $. In either case I also pay you $.50. Properties of Mathematical Expectation III The mathematical expectation of a constant is that constant: iii E[a]=a If X and Y are independent random variables then iv E[XY] = E[X] E[Y] 5. I offer two simultaneous games. One game, is explained in problem #4. The other game is a game where I roll a six sided die and pay you the number of dollars shown on the face of the die. Both the coin and the die are determined simultaneously and are independent of each other. I will pay you the product of the two resulting games. What is the expected amount that I pay in this joint game?

Properties of Mathematical Expectation IV Upon considering expectation, I hope that its similarity to averages strikes you. This suggests that expectations have application to any statistical process involving means or averages. Perhaps the most commonly applied mathematical expectations is to variances. Consider the ( X X) formula for variance: Var( X) i =. One way to read this formula is that the variance n of X is the average of the sum of the squared difference between X and its mean. Since X is the ( X E[ X] ) expected value of X, one way to write this formula is Var( X) i =. Of course, n since the expected value of a random variable is its average, a better way to write this formula is Var X = E X E X. [ ] ( ) ( [ ]) The expectations operator is a linear operator that follows all of the order of algebraic operations. Thus, we can expand the variance expression in the following manner (using FOIL) : Var X = E X E X = E X XE X + E X = E X E X E X + E X ( ) [ [ ] [ ] [ ] [ X ] [ ] [ ] [ ] E X + E X = E X E[ X ] [ ] [ ] [ ] [ [ ] [ ] = E The variance of a random variable is simple the expectation of its square minus the square of its expectation. To show this I used what is known as the rule of iterative expectations that is the expectation of an expectation of X is simply the expectation of X. Example # Consider the case of flipping a fair coin and paying $ if heads and $ if tails. It is clear that the ( X X) expected value of this activity is $.5. Using the Var( X) i = formula it is also clear n that the variance of this game is ( ) ( ).5 +.5 =. 5. Using the fact that Var[ X] = E[ X ] E[ X] gives the following computations: the squared random variables are and and since each has a 50% probability of being observed, the E[ X ] = + 4 =. 5. Since the expected value of this game is.5, it must be that E[ X] =.5 =.5. Thus, the Var[X] =.5.5 =.5.. Use the technique demonstrated in Example # to find the variance of a fair, six-sided die. 7. Prove that if E[X] = 0 then Var[X] = E[X ]. Properties of Mathematical Expectation V

As shown above, the variance of a random variable is simply and extension of mathematical expectations. Using the fact that Var[X] = E[X-E[X]], it is possible to show a number of common facts that students encounter in statistics. For instance, if and b and are constants, then v Var[aX]=a Var[X] vi Var[X + b] = Var[X] 8. Prove statements v and vi. 9. Let X be a random variable and Y = X +. What is the variance of Y? Properties of Mathematical Expectation VI One common use of mathematical expectations is the covariance between two independent variables. The covariance is traditionally defined as Cov( X, Y) ( X X)( Y Y ) =, which, n when you stop to think about it, is simply the average of the sum of the product of the deviation from the mean of X and Y or Cov( X, Y) = E[ ( X E[ X] )( Y E[ Y] )]. Using the same technique in Cov X, Y = E XY E X E Y. section IV, it can be shown that ( ) [ ] [ ] [ ] Example #3 It should be clear that throwing a fair die and a fair coin should be independent and thus have no covariance. Let heads (X) represent the number and tails the number it is clear that E[X]=.5. The mathematical expectation of a fair die (Y) is 3.5 thus, E[Y]=3.5. What is E[XY]? Consider the following table of probabilities: X = X = Y = XY =, prob = XY =, prob = Y = XY =, prob = XY = 4, prob = Y =3 XY = 3, prob = XY =, prob = Y =4 XY = 4, prob = XY = 8, prob = Y =5 XY = 5, prob = XY = 0, prob = Y = XY =, prob = XY =, prob = The E[XY] is equal to ( + + 3 + 4 + 5 + + + 4 + + 8 + 0 + ) = 5. 5. The Cov[XY] is thus 5.5-.5 3.5 = 0 exactly what was expected. 0. Prove that if X and Y are independent then E[XY] = E[X] E[Y].. Many times I have needed to create two random variables that are correlated with one another. To do this, I typically have the computer generate a random variable X that is normally distributed with E[X] = 0 and Var[X] =. I then create a second independent variable ε that is also normally distributed with E[ε]=0 and Var[ε] =. Finally, I create the variable that is i i

correlated with Y by setting Y = X + aε where a is some parameter I choose in order to control the correlation between X and Y. What value of a do I need to choose to find a correlation between X and Y of.5. What happens to this correlation as a gets larger?

Answers to Problems for Consideration. With some work, you should be able to determine that the probability of receiving 0, or signed copies of a CD when 3 are shipped out of total is Signed CDs 0 probability 9 The expected number of CD s received is thus 0 + 9 +. 5..005 $00 = $3. 3. X 3 4 5 X + 3 9 9 33 5 73 probability E[ X + ] = ( 3 + 9 + 9 + 33 + 5+ 73) = 3. 3 4. By ii, the expectation of this game is $ (the expectation of the die part of the game is $.50 and I add to that a constant $.50). To check: Die Roll Head Tail Payout $.50 $.50 probability The expectations of this payout is.5(.5+.5) =. 5. By iv the answer to this should be the product of the two expectations. As seen above, the expectation of the coin flip is. The expectation of a fair die roll is 3.5. Since these are independent events, my expected payout is 3.5=7. To check: Heads, X = +.50 Tails, X = +.50 Die Roll, Y = XY =.50, prob = XY =.50, prob = Die Roll, Y = XY = 3, prob = XY = 5, prob = Die Roll, Y =3 XY = 4.50, prob = XY = 7.50, prob = Die Roll, Y =4 XY =, prob = XY = 0, prob = Die Roll, Y =5 XY = 7.50, prob = XY =.50, prob = Die Roll, Y = XY = 9, prob = XY = 5, prob = The probabilities are given by ( x) 0 x 3 x f = for x = 0,,. 3

+ =, The E[XY] is equal to (.50 3 + 4.50 + + 7.50 + 9 +.50 + 5 + 7.50 + 0 +.50 + 5) 7 exactly as predicted!. The variance of a fair, six sided die is equal to E[X ]-E[X] where X is the result of a six sided die. The E[X ] is nothing more than the expectation (or average) of square of the die rolls. Thus, E[X ] is ( + 4 + 9 + + 5 + 3) = 5. The average of a six sided die is 3.5 so the variance is equal to 5-3.5 =.9. To check, the variance of a six sided die is calculated as: ( 3.5) + ( 3.5) + ( 3 3.5) + ( 4 3.5) + ( 5 3.5) + ( 3.5) =.9. 7. Var[X]=E[X-E[X]] = E[X X E[X]+E[X] ] = E[X ] E[X] E[X]+E[X] = E[X ] E[X]. If the E[X]=0, then Var[X] = E[X ] 0 = E[X ]. 8. Var[aX]=E[aX-E[aX]] = E[aX-aE[X]] = a [X-E[X]] = a Var[X]. 9. Var[Y] = Var[X + ] = 4Var[X] by v and vi. Here s a check: 0. Independence requires the Cov(X,Y) = 0. If Cov(X,Y) = 0 then Cov ( X, Y) = E[ ( X E[ X] )( Y E[ Y] )] = E[ XY] E[ X] E[ Y] = 0 If E [ XY] E[ X] E[ Y] = 0 then it is necessary that E[XY] = E[X] E[Y].

. Here s my work: