Part 1 In which we meet the law of averages. The Law of Averages. The Expected Value & The Standard Error. Where Are We Going?

Similar documents
MA 1125 Lecture 14 - Expected Values. Wednesday, October 4, Objectives: Introduce expected values.

TOPIC: PROBABILITY DISTRIBUTIONS

Math 14 Lecture Notes Ch. 4.3

Shifting our focus. We were studying statistics (data, displays, sampling...) The next few lectures focus on probability (randomness) Why?

Simple Random Sample

STA 6166 Fall 2007 Web-based Course. Notes 10: Probability Models

Example 1: Identify the following random variables as discrete or continuous: a) Weight of a package. b) Number of students in a first-grade classroom

Cover Page Homework #8

Random variables. Discrete random variables. Continuous random variables.

Section Distributions of Random Variables

MATH 264 Problem Homework I

Section Distributions of Random Variables

***SECTION 8.1*** The Binomial Distributions

Central Limit Theorem 11/08/2005

Binomial Random Variable - The count X of successes in a binomial setting

STOR 155 Introductory Statistics (Chap 5) Lecture 14: Sampling Distributions for Counts and Proportions

Chapter 4 Discrete Random variables

VIDEO 1. A random variable is a quantity whose value depends on chance, for example, the outcome when a die is rolled.

Chapter 17. The. Value Example. The Standard Error. Example The Short Cut. Classifying and Counting. Chapter 17. The.

Statistical Methods in Practice STAT/MATH 3379

6.3: The Binomial Model

Chapter 7. Random Variables

Examples: Random Variables. Discrete and Continuous Random Variables. Probability Distributions

Have you ever wondered whether it would be worth it to buy a lottery ticket every week, or pondered on questions such as If I were offered a choice

5.2 Random Variables, Probability Histograms and Probability Distributions

Section Random Variables and Histograms

6.1 Discrete & Continuous Random Variables. Nov 4 6:53 PM. Objectives

Probability Distributions. Definitions Discrete vs. Continuous Mean and Standard Deviation TI 83/84 Calculator Binomial Distribution

AP Statistics Section 6.1 Day 1 Multiple Choice Practice. a) a random variable. b) a parameter. c) biased. d) a random sample. e) a statistic.

Mean, Variance, and Expectation. Mean

Chapter 3 Discrete Random Variables and Probability Distributions

(Practice Version) Midterm Exam 1

MATH1215: Mathematical Thinking Sec. 08 Spring Worksheet 9: Solution. x P(x)

HHH HHT HTH THH HTT THT TTH TTT

4.1 Probability Distributions

The Central Limit Theorem. Sec. 8.2: The Random Variable. it s Distribution. it s Distribution

Chapter 4 Discrete Random variables

MATH 227 CP 6 SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

STAT 3090 Test 2 - Version B Fall Student s Printed Name: PLEASE READ DIRECTIONS!!!!

The Binomial Probability Distribution

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

Binomial Distributions

Chapter 3 - Lecture 5 The Binomial Probability Distribution

6 If and then. (a) 0.6 (b) 0.9 (c) 2 (d) Which of these numbers can be a value of probability distribution of a discrete random variable

The Binomial and Geometric Distributions. Chapter 8

Assignment 3 - Statistics. n n! (n r)!r! n = 1,2,3,...

Binomal and Geometric Distributions

Part V - Chance Variability

Binomial formulas: The binomial coefficient is the number of ways of arranging k successes among n observations.

Math : Spring 2008

Econ 6900: Statistical Problems. Instructor: Yogesh Uppal

Test - Sections 11-13

Math 1070 Sample Exam 2 Spring 2015

Unit 04 Review. Probability Rules

2011 Pearson Education, Inc

Math 180A. Lecture 5 Wednesday April 7 th. Geometric distribution. The geometric distribution function is

Chapter 4. Section 4.1 Objectives. Random Variables. Random Variables. Chapter 4: Probability Distributions

L04: Homework Answer Key

Part 10: The Binomial Distribution

Lecture 9. Probability Distributions. Outline. Outline

A probability distribution shows the possible outcomes of an experiment and the probability of each of these outcomes.

MLLunsford 1. Activity: Mathematical Expectation

Chapter 6: Random Variables. Ch. 6-3: Binomial and Geometric Random Variables

Exam II Math 1342 Capters 3-5 HCCS. Name

Midterm Exam III Review

Test 6A AP Statistics Name:

Lecture 9. Probability Distributions

1. Three draws are made at random from the box [ 3, 4, 4, 5, 5, 5 ].

Section M Discrete Probability Distribution

Chapter Chapter 6. Modeling Random Events: The Normal and Binomial Models

STA 220H1F LEC0201. Week 7: More Probability: Discrete Random Variables

Fall 2015 Math 141:505 Exam 3 Form A

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

Math 160 Professor Busken Chapter 5 Worksheets

Exercise Questions: Chapter What is wrong? Explain what is wrong in each of the following scenarios.

STAT 3090 Test 2 - Version B Fall Student s Printed Name: PLEASE READ DIRECTIONS!!!!

Chapter 4 and 5 Note Guide: Probability Distributions

Section 8.4 The Binomial Distribution

DO NOT POST THESE ANSWERS ONLINE BFW Publishers 2014

Unit 4 The Bernoulli and Binomial Distributions

Bayes s Rule Example. defective. An MP3 player is selected at random and found to be defective. What is the probability it came from Factory I?

Chapter 8. Variables. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc.

Lesson 97 - Binomial Distributions IBHL2 - SANTOWSKI

Opening Exercise: Lesson 91 - Binomial Distributions IBHL2 - SANTOWSKI

The Binomial Distribution

Theoretical Foundations

Discrete Random Variables

Discrete Random Variables

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

Binomial Distributions

Probability. An intro for calculus students P= Figure 1: A normal integral

Lecture 9: Plinko Probabilities, Part III Random Variables, Expected Values and Variances

Problem Set 07 Discrete Random Variables

Binomial Random Variables. Binomial Random Variables

SECTION 4.4: Expected Value

Stats CH 6 Intro Activity 1

The Binomial Distribution

What is the probability of success? Failure? How could we do this simulation using a random number table?

Binomial and multinomial distribution

Statistics 6 th Edition

Transcription:

1 The Law of Averages The Expected Value & The Standard Error Where Are We Going? Sums of random numbers The law of averages Box models for generating random numbers Sums of draws: the Expected Value Standard error of a sum: the square root law Normal curve approximation to sum 2 Part 1 In which we meet the law of averages

4 Which bet would you choose? 10 heads on 20 tosses or 50 heads on 100 tosses? Between 8 and 12 heads in 20 tosses or between 48 and 52 on 100 tosses? Between 40-60% heads on 20 tosses or 40-60% heads on 100 tosses? Binomial Probabilities: Number of Heads in Tossing a Coin.40.60 20 tries, p =.5 5 100 Tries, p =.5.2.4.6.8 6

7 1000 Tries, p =.5.2.4.6.8 The Law of Averages As the number of tosses increases, the fraction of heads tends to a constant. Number of heads = half the number of tosses + chance error The chance error does not tend to zero, but the chance error divided by the number of tosses does. 8 If you throw a fair coin 5 times, every sequence is equally likely. HTHTH has the same chance as HHHHH. Same holds for 20, 100 tosses, etc. How then can the average be predictable? When the number of tosses is large, most of these sequences have about half heads and half tails. 9

10 Choices: toss a fair coin 100 times or 1000 times? You win if there are more than 60% heads. You win if there are fewer than 55% heads. You win if get exactly half heads. You win if between 45% and 55% are heads. Part 2 In which we are introduced to box and ticket models Box Models for Chance Processes: Tossing a Coin H T 1 0 The number of heads equals the sum of the values of the tickets you draw from this box 12

13 Box Models for Chance Processes: Roulette Wheel has 18 red, 18 black, and 2 green slots. You can bet on black or red, a specific number, or several other choices. When betting on black or red you either win or lose $1. 18 black tickets 18 red tickets 2 green tickets $1 -$1 -$1 18 black tickets 18 red tickets 2 green tickets Your winning is the value of the ticket you draw from the box. If you play several times, your total winning is the sum of the values. 14 Bet on a Number: 00,0,1,2,...,36 $35 -$1 -$1 -$1 -$1 -$1 -$1 -$1 -$1 -$1 -$1 -$1 etc... 15

16 California Lottery: Win and Spin 135,000,000 tickets Buy a ticket for $1 Prize Number of Tickets $1 10,800,000 $2 8,100,000 $5 3,240,000 $10 540,000 $50 54,000 $100 27,000 $500 6,073 $1000 1,350 $10,000 150 All the rest are tickets with -$1 Part 3 In which the Expected Value appears The Expected Value 1 1 1 5 What would you expect the sum to be if you drew 100 tickets from this box? How many 5 s would you expect? How many 1 s would you expect? 18

19 5 1 What do you expect the value of the sum of 100 draws to be? How many 5 s would you expect? How many 1 s would you expect? Another Way 1 1 1 5 5 1 Average ticket value EV for 100 draws The EV of the sum of draws equals the number of draws times the box average 20 A More Mathematical Approach 1 1 1 5 This box-ticket model is a representation for random numbers, also called random variables. X is a random number. P(X=1) = ¾; P(X=5) = ¼ Expected value of X = E(X) = sum of all possible values of X, weighted by their probabilities: EX ( ) = 1 PX ( = 1) + 5 PX ( = 5) 3 1 = 1 + 5 = 2 4 4 The expected value of the sum of n realizations of X is n E(X) 21

22 The Expected Value: Betting on Black 100 Times in Roulette $1 -$1 -$1 18 black tickets 18 red tickets 2 green tickets Bet on a Number: 00,0,1,2,...,36 $35 -$1 -$1 -$1 -$1 -$1 -$1 -$1 -$1 -$1 -$1 -$1 etc... 23 $35 -$1 -$1 -$1 -$1 -$1 -$1 -$1 -$1 -$1 -$1 -$1 etc... Box average = In 100 draws you expect to lose Your expected losses are the same for both ways of playing. 24

25 Prize Number of Tickets $1 10,800,000 $2 8,100,000 $5 3,240,000 $10 540,000 $50 54,000 $100 27,000 $500 6,073 $1000 1,350 $10,000 150 Your winning equals the prize value minus $1. So the values of the tickets equals the prize values minus $1. The rest of the 135,000,000 tickets have value -$1. Box Average = -$.56 In 100 draws you would expect to lose $56 Box Models for Counts: The Number of Times Do You Draw a 0 0 1 0 Box Average = If you draw 20 times, you expect 26 Box Models for Counts: The Number of Times Do You Draw a or a 1 0 1 0 Box Average = 27

28? A gambling house offers the following game. A letter is drawn at random from the sentence WIN OR YOU PAY US If the letter comes from the word WIN you win $1. If it comes from the word PAY you pay $1. Otherwise you pay nothing. How much money do you expect to have after playing 40 times? Tickets and their values: Box Average: Expected value: About how far off of this are you likely to be? That s the next question Part 4 Wherin the Standard Error is introduced Sum = Expected Value + Chance Error How big do we expect the chance error to be? Will define the Standard Error (SE) of the sum. How does its size depend on the values of the tickets in the box? How does its size depend on the number of draws? 30

31 1 2 3 Average of Box = 2 Chance error = Sum - EV 4 Draws: EV = 8 Sums 9 10 6 7 10 10 8 8 10 9 Chance Errors 1 2-2 -1 2 2 0 0 2 1 16 Draws: EV = 32 Sums 32 30 36 34 25 29 33 26 34 33 Chance Errors 0-2 4 2-7 -3 1-6 2 1 64 Draws: EV = 128 Sums 139 134 126 128 126 125 122 136 130 119 Chance Errors 11 6-2 0-2 -3-6 8 2-9 Sum = Expected Value + Chance Error The Standard Error (SE) is a measure of how big the chance error is likely to be. The Square Root Law: the standard error of the sum of draws is number of draws x (SD of the box) 32 1 2 3 Average of Box = 2 SD of Box =.8 4 Draws (SE = Sums 9 10 6 7 10 10 8 8 10 9 Chance Errors 1 2-2 -1 2 2 0 0 2 1 16 Draws (SE = Sums 32 30 36 34 25 29 33 26 34 33 Chance Errors 0-2 4 2-7 -3 1-6 2 1 64 Draws (SE = Sums 139 134 126 128 126 125 122 136 130 119 Chance Errors 11 6-2 0-2 -3-6 8 2-9 33

34 Conditions for the Square Root Law to Hold The draws are all from the same box. The draws are independent (with replacement). A gambling house offers the following game. A letter is drawn at random from the sentence WIN OR YOU PAY US If the letter comes from the word WIN you win $1. If it comes from the word PAY you pay $1. Otherwise you pay nothing. How much money do you expect to have after playing 40 times? Tickets and their values: Box Average: Expected value: About how far off of this are you likely to be? 35 Notation and Terminology X: a random number, or random variable x 1 x 2,, x n : a list of the values that X can take on. These are the numbers on the tickets in the box. p(x 1 ), p( x 2 ),, p(x n ): the probabilities of taking on those values. E(X) = x 1 p(x 1 ) + x 2 p( x 2 ) + +x n p(x n ) The expected value of X. Often denoted by µ 36

37 E( X ) = µ Var( X ) = ( x 2 2 2 1 µ ) p( x1) + ( x2 µ ) p( x2) +... + ( xn µ ) p( x n ) 2 = σ The variance of X The standard deviation of X is the square root of the variance. Usually denoted by σ Suppose you have n independent realizations of this random variable, like n draws from a box with replacement. Their sum is S = X 1 +X 2 + X n S is also a random variable The expected value of S is E(S) = n µ The variance of S is Var(S) = n σ 2 The SE (also called SD) of S is the square root of the variance 38 Viewed from this more mathematical perspective, the device of tickets in a box enables us to compute the expected value and standard deviation of a random number by representing it as the value of a ticket drawn from the box. In a more traditional development, we would have defined the expectation, variance, and standard deviation of a random variable (a random number) and then prove facts about the sum of independent random variables. 39

40 Roulette: Betting on Black $1 -$1 -$1 18 black tickets 18 red tickets 2 green tickets Box Average = -.0526 SD of Box =.99 Draw 100 times EV of sum = SE of sum of = Chance error = sum (- $5.26) Sums: 11 6-2 0-2 -3-6 -9 Errors 16.26 11.26 3.26 5.26 3.26 2.26 -.74-3.74 Roulette: Betting on a Number Box contains 1 ticket worth $35 and 37 tickets worth -$1 Box Average = -.0526 Box SD = $5.75 Draw 100 times Expected value of sum = SE of sum of = Chance error = sum - expected value Sums: -64 8-28 -100-28 Errors: -58.74 13.26-22.74-94.74-22.74 41 SE s for Counts: The Number of Times You Draw a 0 0 1 0 Box Average = 1/4 Special Formula for SD of a 0-1 box: (fraction of 1 s) x (fraction of 0 s) For this box, SD = (1/4)x(3/4) =.87 42

43 0 0 1 0 Box Average = 1/4 Box SD =.87 Suppose you draw 100 times How many would you expect? What is the SE of the number of? Would you be surprised by 30? By 70? Shortcut for a box with only two values: a and b SD of box is a b ( fraction of a) ( fraction of b) 44 Example A multiple choice exam has 100 questions. Each question has 5 possible answers, one of which is correct. Four points are given for the right answer and a point is taken off for the wrong answer. A student guesses randomly for each question. The student expects to score give or take. What s the box model: 4-1 -1-1 -1 45

46 Box average: Box SD: ) 100 draws. A student guesses randomly for each question. The student expects to score?? give or take?? Investment Diversification Option 1: Invest $1000 in each of ten companies. Lose $100 with chance.40 and gain $100 with chance.60. Option 2: Invest $100 in each of 100 companies. For each one, lose $10 with chance.4 and gain $10 with chance.6. Returns are independent. Which is better? : 47 Option 1: Invest $1000 in each of 10 companies. For each one, lose $100 with chance.4 and gain $100 with chance.6. Returns are independent. Consider 10 draws from a box with 40% of tickets worth -$100 and 60% of tickets worth +$100. 48

49 Option 2: Invest $100 in each of 100 companies. For each one, lose $10 with chance.4 and gain $10 with chance.6. Returns are independent. Consider 100 draws from a box with 40% of tickets worth -$10 and 60% of tickets worth +$10. 50 Box Model Demo 51

Part 5 We look back at the landscape we have traversed Where Have We Been? The law of averages: As the number of draws from a box increases, their average value tends to the expected value (the box average). The expected value of the sum of the draws equals the number of draws times the box average. Sum = Expected Value + Chance Error The chance error of a sum does not tend to 0. 53 The standard error is a measure of how big the chance error is likely to be. The square root law: the standard error of a sum is the square root of the number of draws times the SD of the box. Special rule for the SD of a box that only has two numbers in it: (big # - small #) x frac big # x frac small # 54

55 Review Problem: Constructing Boxes Throw a die 100 times. How can you make a box to find EV and SE for: The number of times an even number comes up. The number of times a number 5 or larger comes up. Draw with replacement from a deck of cards. What is the box for the number of face cards? 56? A jar contains a penny, a nickel, a dime, and a quarter. If you draw 100 coins with replacement you can expect to have about plus or minus or so. Box: tickets with values 1, 5, 10, 25 Box average: 57

58? A gambling game works in the following way: a box has two white balls and four red balls and a ball is chosen at random from the box. You can bet $1 on the ball being either white or it being red. If you are wrong, you lose your $1. If you bet on white and you are right, you win $2 (you get your $1 back plus $2). If you bet on red and you are right, you win $0.50. Show your work in answering the following: (a) Which strategy gives you the larger average winning over a large number of plays? Circle one: Bet on white. Bet on red Both the same Can t tell (b) Which strategy gives the better chance of coming out ahead by more than $1 over a large number of plays? Circle one: Bet on white. Bet on red Both the same Can t tell Bet on White 2 2-1 -1-1 -1 Bet on Red -1-1.5.5.5.5 Bet on White Bet on Red. 5 (a) Which strategy gives you the larger average winning over a large number of plays? Circle one: Bet on white. Bet on red Both the same Can t tell (b) Which strategy gives the better chance of coming out ahead by more than $1 over a large number of plays? Circle one: Bet on white. Bet on red Both the same Can t tell 59