Download Variance of a Random Variable

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Variance of a Random Variable
Dennis Sun
The “Spread” of a Random Variable
0.35
0.30
0.25
0.20
0.15
0.10
0.05
0.00 0
p[x]
p[x]
Two random variables can have the same expected value and still
be very different.
1
2
x
3
4
5
0.35
0.30
0.25
0.20
0.15
0.10
0.05
0.00 0
1
2
x
How do we quantify the spread of a random variable?
3
4
5
Variance of a Random Variable
Recall that the variance of a list of numbers is
Pn
(yi − y)2
2
s = i=1
.
n
We can also write this as a weighted average:
X
s2 =
(x − y)2 · wx .
x
We can define the variance of a random variable in the same way:
X
Var[X] =
(x − E[X])2 · p[x].
x
Notice that the variance cannot be negative.
Standard Deviation of a Random Variable
The variance is difficult to interpret because it is in units2 .
To convert back to the original units, we take the square root:
p
SD[X] = Var[X].
The square root of the variance is called the standard deviation.
Example
p[x]
Let’s calculate SD
0.35
0.30
0.25
0.20
0.15
0.10
0.05
0.00 0
h
i
number
.
of tails
x
0
1
2
3
4
5
1
2
x
3
4
5
p[x]
.03125
.15625
.3125
.3125
.15625
.03125
Related documents