MIT18 05S14 Class4slides PDF
MIT18 05S14 Class4slides PDF
https://en.wikipedia.org/wiki/Bean_machine#/media/File:
Quincunx_(Galton_Box)_-_Galton_1889_diagram.png
http://www.youtube.com/watch?v=9xUBhhM4vbM January 1, 2017 1 / 16
Reading Review
Random variable X assigns a number to each outcome:
X :Ω→R
January 1, 2017 2 / 16
CDF and PMF
1 F (a)
.9
.75
.5
a
1 3 5 7
p(a)
.5
.25
.15
a
1 3 5 7
January 1, 2017 3 / 16
Concept Question: cdf and pmf
X a random variable.
values of X : 1 3 5 7
cdf F (a): 0.5 0.75 0.9 1
2. What is P(X = 3)
(a) 0.15 (b) 0.25 (c) 0.5 (d) 0.75
January 1, 2017 4 / 16
Deluge of discrete distributions
Bernoulli(p) = 1 (success) with probability p,
January 1, 2017 5 / 16
Concept Question
January 1, 2017 6 / 16
Board Question: Find the pmf
January 1, 2017 7 / 16
Dice simulation: geometric(1/4)
January 1, 2017 8 / 16
Fiction
January 1, 2017 9 / 16
Fact
The data show that player who has made 5 shots in a row
is no more likely than usual to make the next shot.
(Currently, there seems to be some disagreement about
this.)
January 1, 2017 10 / 16
Amnesia
P(X = n + k | X ≥ n) = P(X = k)
January 1, 2017 11 / 16
Expected Value
X is a random variable takes values x1 , x2 , . . . , xn :
The expected value of X is defined by
= n
E (X ) = p(x1 )x1 + p(x2 )x2 + . . . + p(xn )xn = p(xi ) xi
i=1
It is a weighted average.
It is a measure of central tendency.
Properties of E (X )
E (X + Y ) = E (X ) + E (Y ) (linearity I)
E (aX + b) ==aE (X ) + b (linearity II)
E (h(X )) = h(xi ) p(xi )
January 1, 2017 12 / 16
Examples
Example 1. Find E (X )
1. X: 3 4 5 6
2. pmf: 1/4 1/2 1/8 1/8
3. E (X ) = 3/4 + 4/2 + 5/8 + 6/8 = 33/8
January 1, 2017 13 / 16
Board Question: Interpreting Expectation
January 1, 2017 14 / 16
Board Question
January 1, 2017 15 / 16
MIT OpenCourseWare
https://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: https://ocw.mit.edu/terms .