Math 416 Lecture 3. The average or mean or expected value of x 1, x 2, x 3,..., x n is

Similar documents
Summary of basic probability theory Math 218, Mathematical Statistics D Joyce, Spring 2016

Math 180B Problem Set 3

1 Random variables and distributions

Recitation 2: Probability

More on Distribution Function

Random Processes Why we Care

Course: ESO-209 Home Work: 1 Instructor: Debasis Kundu

SUMMARY OF PROBABILITY CONCEPTS SO FAR (SUPPLEMENT FOR MA416)

Math 416 Lecture 2 DEFINITION. Here are the multivariate versions: X, Y, Z iff P(X = x, Y = y, Z =z) = p(x, y, z) of X, Y, Z iff for all sets A, B, C,

18.440: Lecture 19 Normal random variables

This exam contains 13 pages (including this cover page) and 10 questions. A Formulae sheet is provided with the exam.

Random Variables. Random variables. A numerically valued map X of an outcome ω from a sample space Ω to the real line R

What is a random variable

Probability Theory Review

Math 510 midterm 3 answers

Lecture 1: Basics of Probability

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

Probability Theory and Simulation Methods

Exercises with solutions (Set D)

Polytechnic Institute of NYU MA 2212 MIDTERM Feb 12, 2009

Probabilistic Systems Analysis Spring 2018 Lecture 6. Random Variables: Probability Mass Function and Expectation

Math 493 Final Exam December 01

Lecture 8: Continuous random variables, expectation and variance

E X A M. Probability Theory and Stochastic Processes Date: December 13, 2016 Duration: 4 hours. Number of pages incl.

The enumeration of all possible outcomes of an experiment is called the sample space, denoted S. E.g.: S={head, tail}

1.1 Review of Probability Theory

STAT 430/510 Probability Lecture 7: Random Variable and Expectation

Chapter 2: Random Variables

Probability. Lecture Notes. Adolfo J. Rumbos

Sample Spaces, Random Variables

Single Maths B: Introduction to Probability

MATH 3C: MIDTERM 1 REVIEW. 1. Counting

The random variable 1

2018 Best Student Exam Solutions Texas A&M High School Students Contest October 20, 2018

STA 247 Solutions to Assignment #1

Deep Learning for Computer Vision

Lecture notes for probability. Math 124

IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS LECTURE 3-RANDOM VARIABLES

STAT 516 Midterm Exam 3 Friday, April 18, 2008

Name: Firas Rassoul-Agha

Lecture 1: August 28

MAT Mathematics in Today's World

Continuum Probability and Sets of Measure Zero

CMPT 882 Machine Learning

Discrete Random Variables. Discrete Random Variables

1 Joint and marginal distributions

Arkansas Tech University MATH 3513: Applied Statistics I Dr. Marcel B. Finan

Hong Kong Institute of Vocational Education (Tsing Yi) Higher Diploma in Civil Engineering Structural Mechanics. Chapter 2 SECTION PROPERTIES

Probability. Table of contents

Preliminary Statistics Lecture 2: Probability Theory (Outline) prelimsoas.webs.com

Chapter 3. Chapter 3 sections

Math 151. Rumbos Fall Solutions to Review Problems for Exam 2. Pr(X = 1) = ) = Pr(X = 2) = Pr(X = 3) = p X. (k) =

2 (Statistics) Random variables

Random Variables. Cumulative Distribution Function (CDF) Amappingthattransformstheeventstotherealline.

Communication Theory II

Lecture 10. Variance and standard deviation

MATH Notebook 5 Fall 2018/2019

Probability Theory and Applications

M378K In-Class Assignment #1

EXAM. Exam #1. Math 3342 Summer II, July 21, 2000 ANSWERS

Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch

Random Variables. Saravanan Vijayakumaran Department of Electrical Engineering Indian Institute of Technology Bombay

Chapter 4. Chapter 4 sections

Probability. VCE Maths Methods - Unit 2 - Probability

18.440: Lecture 28 Lectures Review

Chapter 2 Random Variables

Math489/889 Stochastic Processes and Advanced Mathematical Finance Solutions for Homework 7

A random variable is a variable whose value is determined by the outcome of some chance experiment. In general, each outcome of an experiment can be

2.1 Lecture 5: Probability spaces, Interpretation of probabilities, Random variables

Math 341: Probability Eighth Lecture (10/6/09)

HW2 Solutions, for MATH441, STAT461, STAT561, due September 9th

Probability & Statistics - FALL 2008 FINAL EXAM

IE 4521 Midterm #1. Prof. John Gunnar Carlsson. March 2, 2010

1 Presessional Probability

CS 361: Probability & Statistics

Chapter 2. Probability

STA2603/205/1/2014 /2014. ry II. Tutorial letter 205/1/

L2: Review of probability and statistics

STA 291 Lecture 8. Probability. Probability Rules. Joint and Marginal Probability. STA Lecture 8 1

1: PROBABILITY REVIEW

18.175: Lecture 8 Weak laws and moment-generating/characteristic functions

Lecture 2: Review of Probability

Intro to probability concepts

Lecture 11: Random Variables

A6523 Signal Modeling, Statistical Inference and Data Mining in Astrophysics Spring 2011

Statistical Inference

Statistics and Econometrics I

1 Normal Distribution.

02 Background Minimum background on probability. Random process

1 INFO Sep 05

Computing Probability

Recursive Estimation

1 Random Variable: Topics

Continuous Expectation and Variance, the Law of Large Numbers, and the Central Limit Theorem Spring 2014

6.041/6.431 Fall 2010 Quiz 2 Solutions

University of California, Los Angeles Department of Statistics. Joint probability distributions

Review of probabilities

BASICS OF PROBABILITY

Lecture 16. Lectures 1-15 Review

18.05 Practice Final Exam

Transcription:

Math 416 Lecture 3 Expected values The average or mean or expected value of x 1, x 2, x 3,..., x n is x 1 x 2... x n n x 1 1 n x 2 1 n... x n 1 n 1 n x i p x i where p x i 1 n is the probability of x i assuming the n numbers are equally likely. If the s are not equally likely, x 1 x 2... x n then n is no longer correct but n 1 x i p x i remains correct. For a continuous random variable X the expected value of X is E X xf x dx where f x is the probability density function for the values of X. x i

Besides computing the average E X of a random variable, we often wish to compute the expected value E g X of a function g x which acts on the values x of a random variable X. Suppose: X is a random variable, g x is a function on the values x of X, S is the state space (set of possible values x of X), p x P X x is the probability mass function (discrete case) or (continuous case) that f x is the probability density function for X. DEFINITION. The expected value of E g X x S g x p x or E g X S g x f x dx is g x (discrete case) (continuous case).

`A fair coin is tossed. Suppose X 1 if heads 0 if tails The states of X are its values 0; {0, 1} is its state space. You win $2.00 if you get heads; lose $1.00 if you get tails. How much can you expect to win?

`A fair coin is tossed. Suppose X 1 if heads 0 if tails The states of X are its values 0; {0, 1} is its state space. You win $2.00 if you get heads; lose $1.00 if you get tails. How much can you expect to win? Let g 1 = the amount won with heads = $2.00 and g 0 = the amount won with tails = -$1.00. The expected value of g is E g X g 1 p 1 g 0 p 0 $2.00 1 2 $1.00 1 2 $0.50

Special cases MEAN. When g x x, the expected value of g x is E X, the mean of X. In the continuous case E X xf x dx. N TH MOMENT. When g x x n the expected value of g x is the n th moment of x written E X n. In the continuous case it is E X n x n f x dx. MOMENT GENERATING FUNCTION. M t E e tx e tx f x dx. The partial derivatives of M(t) generate the mean and the other moments. M/ t t 0 E X. 2 M/ t 2 t 0 E X 2. VARIANCE, STANDARD DEVIATION. For a random variable X with mean m = E X, the expected value of x 2 is the variance of X, written 2 2 or X. In the continuous case, 2 X E X E X 2 x 2 f x dx The standard deviation s is the square root of the variance 2.

Basic expectation properites For functions g X, h Y of random variables X and Y, and constants a and b: E a ae ax ae X,, E X Y E X E Y. Thus E ag X bh Y ae g X be h Y 2 ax a 2 2 X and ax a X. If X and Y are independent then 2 X Y 2 2 X Y, E XY E X E Y, E g X h Y E g X E h Y. Visualize independent random variables as perpendicular vectors whose lengths are their variances. s2 X+Y s2 X s2 Y

A conditional expectation, is the expected value of a random variable given that some condition is known to be true. Typically the random variable is a function g X, Y of two variables and the condition is that the value of one of the random variables is known, i.e., X x for some x. DEFINITION. The conditional expectation of g X, Y given that X x is E g X, Y X x g x, y f y x dy where f y x f x, y /f X x, f x, y is the joint density function and f X x f x, y dy is the marginal density function for x.

In a matrix, the average of all matrix entries = the average of the column averages. = the average of the row averages Here is the continuous analog. THEOREM. E g X, Y E E g X, Y X x E E g X, Y Y y. Proof. E E g X,Y X x E g X,Y X x f X x dx E g x,y f X x dx g x,y f y x dy f X x dx g x,y f x,y /f X x dy f X x dx g x,y f x,y dydx E g X,Y.

MONOTONE CONTINUITY THEOREM. For any monotone (either increasing or decreasing) sequence of sets (events): The limit of A 1 A 2 A 3... is i 1 A i and lim i P A i P A i. i 1 A i The limit of A 1 A 2 A 3... is and lim i P A i P A i. ` P X x is the cumulative distribution of X. The event X x is the intersection of the decreasing sequence X x 1 n. Hence P X x lim n P X x 1 n. The event X x is the union of the increasing sequence X x 1 n. Hence P X x lim n P X x 1 n.

Convergence Theorems DEFINITION. A sequence X 1, X 2, X 3,... of random variables is bounded if there are upper and lower bound random variables U and L such that U X i L for each i. CONVERGENCE THEOREM. Suppose X 1, X 2, X 3,... is a sequence of random variables with expectations E X n. Suppose the sequence is either increasing, decreasing or bounded. If lim n X n exists, then E lim n X n lim n E X n.

Strong law of large numbers An average of averages is an average. The average of a matrix of numbers is the average of its row averages. Let X 1, X 2, X 3,... be an infinite sequence of independent, identically distributed random variables with common mean m. What is the expected value of the average of the first n values? E X 1 X 2... X n /n E X 1 E X 2... E X n /n... /n n /n What is the expected average of the infinitely many values? To make this precise, we take the limit. E lim n X 1 X 2... X n /n lim n E X 1 X 2... X n /n lim n. Thus the expected average of infinitely many random variables with common mean m is just m. The Strong Law says much more. Not only is this the average, it is (with probability 1) the only possible value!

Notation: Suppose X is a random variable. Thus the value of X depends on the outcome of w some random experiment. Let X be the value of X on outcome w. `Suppose the experiment is tossing a coin infinitely many times. Suppose X i 1 it the ith toss is H (heads) and X i 0 if it is T (tails). An outcome w of this experiment is an infinite sequence of heads and tails. Suppose w = / H, H, T, H, T, T,... \ Then X 1, X 2, X 3, X 4,... = 1, 1, 0, 1, 0, 0,.... STRONG LAW OF LARGE NUMBERS. For almost all outcomes w: n lim n k 1 X k /n For almost all means that the set of outcomes w for which this is false has probability 0.

`Let s begin by considering the experiment which randomly chooses an infinite decimal r =.d 1 d 2 d 3 d 4... by first choosing the first digit d 1 i{0,1,2,3,4,5,6,7,8,9}, then the second d 2, the third,.... Suppose the digits are all equally likely. Given an outcome r of this experiment, let D i = the i th decimal place of r. Thus if r =.d 1 d 2 d 3 d 4..., then D 1 = d 1, D 2 = d 2,.... The D 1, D 2, D 3,... are independent identically distributed random variables. What is the average value of a randomly chosen digit? What is the mean m = E D i of the ith digit? What is the average of the first n digits? E D 1 D 2... D n /n?. To find the average of all infinitely many digits in r, we take the limit lim n D 1 D 2... D n /n. Since the sequence is bounded we can calculate the expected value of the average of the digits as above with the X i s: n n E lim n i 1 D i /n lim n E i 1 D i /n lim n. Thus the expected average of the digits is 9/2 as claimed by the Strong Law of Large Numbers.

Not every r has this average. For example, if r =.020202020202... the average of the first two digits is 1 which is < 9/2. What is the average of the digits of r? What is average for all the digits of r =.8989898989...?. It is reasonable to expect that the average of the digits for a randomly chosen r is roughly a bell curve with minimum value 0 for r =.00000... and maximal value 9 for r =.999999... and with the center of the distribution being 9/2. The Strong Law says no. The distribution has a single point mass 9/2 which has probability 1 and all else has probability 0. m m m