Chapter 17: expected value and standard error for the sum of the draws from a box

Similar documents
Chapter 20: chance error in sampling

Stat 20: Intro to Probability and Statistics

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

AMS 5 CHANCE VARIABILITY

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

Coins, Presidents, and Justices: Normal Distributions and z-scores

Stat 20: Intro to Probability and Statistics

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

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

$ ( $1) = 40

John Kerrich s coin-tossing Experiment. Law of Averages - pg. 294 Moore s Text

Chapter 16: law of averages

Capital Market Theory: An Overview. Return Measures

Chapter 4: Average and standard deviation

Characteristics of Binomial Distributions

The right edge of the box is the third quartile, Q 3, which is the median of the data values above the median. Maximum Median

Northumberland Knowledge

Chapter 11: r.m.s. error for regression

MEASURES OF VARIATION

SOLUTIONS: 4.1 Probability Distributions and 4.2 Binomial Distributions

Calculator Notes for the TI-Nspire and TI-Nspire CAS

Probability Distribution for Discrete Random Variables

Lab 11. Simulations. The Concept

Week 3&4: Z tables and the Sampling Distribution of X

Experimental Design. Power and Sample Size Determination. Proportions. Proportions. Confidence Interval for p. The Binomial Test

How to compute Random acceleration, velocity, and displacement values from a breakpoint table.

Week 4: Standard Error and Confidence Intervals

Two-sample inference: Continuous data

MATH 140 Lab 4: Probability and the Standard Normal Distribution

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

Math 108 Exam 3 Solutions Spring 00

Density Curve. A density curve is the graph of a continuous probability distribution. It must satisfy the following properties:

Part III. Lecture 3: Probability and Stochastic Processes. Stephen Kinsella (UL) EC4024 February 8, / 149

OPTIONS TRADING AS A BUSINESS UPDATE: Using ODDS Online to Find A Straddle s Exit Point

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

MBA 611 STATISTICS AND QUANTITATIVE METHODS

Chapter 5. Discrete Probability Distributions

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1)

Measurement with Ratios

Section 5 Part 2. Probability Distributions for Discrete Random Variables

DETERMINE whether the conditions for a binomial setting are met. COMPUTE and INTERPRET probabilities involving binomial random variables

Point and Interval Estimates

FACTORING QUADRATICS and 8.1.2

1.6 The Order of Operations

Chapter 5. Random variables

Lesson 17: Margin of Error When Estimating a Population Proportion

TEST 2 STUDY GUIDE. 1. Consider the data shown below.

STT315 Chapter 4 Random Variables & Probability Distributions KM. Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables

Exercise 1.12 (Pg )

Simulation Exercises to Reinforce the Foundations of Statistical Thinking in Online Classes

MATH 10: Elementary Statistics and Probability Chapter 7: The Central Limit Theorem

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

Thursday, November 13: 6.1 Discrete Random Variables

13.0 Central Limit Theorem

X: Probability:

p-values and significance levels (false positive or false alarm rates)

Chapter 4. iclicker Question 4.4 Pre-lecture. Part 2. Binomial Distribution. J.C. Wang. iclicker Question 4.4 Pre-lecture

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

Means, standard deviations and. and standard errors

COMMON CORE STATE STANDARDS FOR

Center: Finding the Median. Median. Spread: Home on the Range. Center: Finding the Median (cont.)

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

Chapter 26: Tests of Significance

Simple linear regression

Problem Solving and Data Analysis

WHERE DOES THE 10% CONDITION COME FROM?

STAT 35A HW2 Solutions

Monte Carlo simulations and option pricing

4. Continuous Random Variables, the Pareto and Normal Distributions

Common Core Unit Summary Grades 6 to 8

Lecture 2: Discrete Distributions, Normal Distributions. Chapter 1

WISE Sampling Distribution of the Mean Tutorial

Key Concept. Density Curve

Introduction to Game Theory IIIii. Payoffs: Probability and Expected Utility

Fairfield Public Schools

Lecture 2: Descriptive Statistics and Exploratory Data Analysis

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

REPEATED TRIALS. The probability of winning those k chosen times and losing the other times is then p k q n k.

University of Chicago Graduate School of Business. Business 41000: Business Statistics

Review. March 21, S7.1 2_3 Estimating a Population Proportion. Chapter 7 Estimates and Sample Sizes. Test 2 (Chapters 4, 5, & 6) Results

Analyzing Portfolio Expected Loss

Simple Regression Theory II 2010 Samuel L. Baker

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

1.3 Algebraic Expressions

Stats on the TI 83 and TI 84 Calculator

Algebra 2 C Chapter 12 Probability and Statistics

Engineering Problem Solving and Excel. EGN 1006 Introduction to Engineering

AP Physics 1 and 2 Lab Investigations

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

BNG 202 Biomechanics Lab. Descriptive statistics and probability distributions I

Standard Deviation Estimator

STATS8: Introduction to Biostatistics. Data Exploration. Babak Shahbaba Department of Statistics, UCI

RISK AND RETURN WHY STUDY RISK AND RETURN?

3. What is the difference between variance and standard deviation? 5. If I add 2 to all my observations, how variance and mean will vary?

3. Data Analysis, Statistics, and Probability

How to bet and win: and why not to trust a winner. Niall MacKay. Department of Mathematics

WEEK #22: PDFs and CDFs, Measures of Center and Spread

Comparing Two Groups. Standard Error of ȳ 1 ȳ 2. Setting. Two Independent Samples

Introduction to. Hypothesis Testing CHAPTER LEARNING OBJECTIVES. 1 Identify the four steps of hypothesis testing.

Transcription:

Chapter 17: expected value and standard error for the sum of the draws from a box Context................................................................... 2 When we do this 10,000 times..................................................... 3 Expected value and standard error................................................. 4 Expected value 5 Expected value for sum of the draws, method 1...................................... 6 Expected value for sum of the draws, method 2...................................... 7 Formula for expected value of sum of the draws...................................... 8 Standard error 9 Standard error for the sum of the draws........................................... 10 Computing the SE for the sum of the draws........................................ 11 Example................................................................ 12 Example (cont d).......................................................... 13 Example (cont d).......................................................... 14 Short-cut................................................................ 15 Normal approximation 16 Use normal approximation.................................................... 17 Example................................................................ 18 Example (cont d).......................................................... 19 Example (cont d).......................................................... 20 Classifying and counting 21 Replace tickets by 0s and 1s................................................... 22 1

Context We ll look at sum of the draws of a box Example: Count the number of heads in 100 coin tosses Maybe one time the number is 54, the next time it is 48, the third time it is 47. The observed value varies! Observed value = expected value + chance error See computer simulation, where I repeated this 10,000 times 2 / 22 When we do this 10,000 times... Number of heads in 100 coin tosses, repeated 10000 times Density 0.00 0.02 0.04 0.06 0.08 30 40 50 60 nr of heads 3 / 22 Expected value and standard error Note that the number of heads is a random variable, with a distribution! What is the center and spread of this distribution? The center is called the expected value The spread is called the standard error. The standard error gives the likely size of the chance error. We can use a similar model to analyze election polls, and will look into that later. 4 / 22 2

Expected value 5 / 22 Expected value for sum of the draws, method 1 We look at the sum of 100 draws from a box with the tickets 0, 1, 1, 6 Observed value = expected value + chance error What is the expected value of the sum of the draws? Method 1: How many 0 s do we expect in our draws? About 25. How many 1 s do we expect in our draws? About 50. How many 6 s do we expect in our draws? About 25. So what do we expect for the sum of the draws? About (25 0) + (50 1) + (25 6) = 0 + 50 + 150 = 200 6 / 22 Expected value for sum of the draws, method 2 Method 2: The average of the box is: 0 + 1 + 1 + 6 4 = 8 4 = 2 So after each draw, we expect the sum of the draws to increase by about 2 So the sum of the draws is expected to be 100 2 = 200 General formula for the expected value for the sum of the draws, made at random with replacement: (number of draws) (averageof thebox) 7 / 22 Formula for expected value of sum of the draws General formula for the expected value for the sum of the draws, made at random with replacement: Does the formula make sense? (number of draws) (averageof thebox) What happens if the number of draws is doubled? Then the expected value of the sum of the draws doubles. What happens if the average of the box is doubled? Then the expected value of the sum of the draws doubles. 8 / 22 3

Standard error 9 / 22 Standard error for the sum of the draws We look at the sum of draws from a box Observed value = expected value + chance error How big is the chance error? The chance error is likely to be similar in size to the standard error (SE) for the sum of the draws If the SE for the sum of the draws is large, then we have large chance errors, and the observed values are widely spread around the expected value If the SE for the sum of the draws is small, then we have small chance errors, and the observed values are tightly clustered around the expected value Observed values are rarely more than 2 or 3 SEs away from the expected value. 10 / 22 Computing the SE for the sum of the draws SEfor thesum of thedraws = number of draws (SDof thebox) This is called the square root law, because it involves the square root of the number of draws Does the formula make sense? What happens if the number of draws is doubled? Then the SE of the sum of the draws is multiplied by a factor 2. This matches with what we learned about the law of large numbers: the chance error grows, but only slowly. What happens if we double the SD of the box? Then the SE of the sum of the draws doubles. 11 / 22 Example We look at the sum of 25 draws from a box with tickets 0,2,3,4,6 Fill in the blank. The sum of the draws is around...(a), give or take...(b) or so. (a) should be the expected value of the sum of the draws: (number of draws) (averageof thebox) = 25 ( ) 0+2+3+4+6 5 = 25 3 = 75 (b) should be the SE for the sum of the draws. This is given by the square root law: number of draws (SDof thebox) 12 / 22 4

Example (cont d) We need to compute the SE for the sum of the draws: number of draws (SDof thebox) What is the SD of the box 0, 2, 3, 4, 6? Step 1: compute the average of the box: 3 (see part a) Step 2: compute deviation from the average: -3, -1, 0, 1, 3 Step 3: compute r.m.s. size of the deviations: ( 3) 2 + ( 1) 2 + 0 2 + 1 2 + 3 2 So the SD of the box is 2 The SE for the sum of the draws is: 25 2 = 5 2 = 10. 5 = 20 5 = 4 = 2 13 / 22 Example (cont d) We look at the sum of 25 draws from a box with tickets 0,2,3,4,6 Fill in the blank. The sum of the draws is around...(a), give or take...(b) or so. (a) should be the expected value of the sum of the draws: 75 (b) should be the SE for the sum of the draws: 10 So the sum of the draws is around 75, give or take 10 or so. 14 / 22 Short-cut Suppose the box only contains two kinds of tickets: some tickets with a big number and some tickets with a small number. Then there is a shortcut to compute the SD of the box! SDof thebox = (big number small number) (fraction of big numbers) (fraction of smallnumbers) Example: box with tickets 7,7,7,-2,-2 Large number = 7. Fraction of large numbers = 3/5. Small number = -2. Fraction of small numbers = 2/5. SD of the box = (7 ( 2)) (3/5) (2/5) = 9 (3/5) (2/5) Use calculator to compute this 15 / 22 5

Normal approximation 16 / 22 Use normal approximation If number of draws is large, we can use the normal approximation to estimate chances. We should use a new average and new SD: New average = expected value for sum of the draws New SD = SE for the sum of the draws So the new standard units tell us how many SEs a number is away from the expected value 17 / 22 Example Consider the sum of 25 draws from the box with tickets 0,2,3,4,6. See computer simulation, where I repeated this 1000 times 18 / 22 Example (cont d) Histogram of sum of the draws, when repeated 1000 times Density 0.00 0.01 0.02 0.03 0.04 40 50 60 70 80 90 100 110 sum of the draws 19 / 22 6

Example (cont d) About what percentage of observed values should be between 50 and 100? We use the normal approximation: New average: expected value for the sum of the draws = 75 New SD: SE for the sum of the draws = 10 Note that these numbers match with the graph on the previous slide. Then use normal approximation as before. See overhead 20 / 22 Classifying and counting 21 / 22 Replace tickets by 0s and 1s See overhead for example Suppose you draw from a box, and want to count the number of a certain ticket (or tickets) Then: put a 0 on the tickets that you don t want to count put a 1 on the ticket that you do want to count Using the new box: The count is like the sum of the draws from the new box We can compute the expected value and SE as before We can also use the normal curve to approximate probabilities as before 22 / 22 7