variance of discrete random variables Flashcards
spread
The expected value (mean) of a random variable is a measure of location or central tendency.
If you had to summarize a random variable with a single number, the mean would be a good
choice. Still, the mean leaves out a good deal of information.
Give an example of random variables X and Y that have mean 0 but have a very different PMS spread
Variance
Taking the mean as the center of a random variableβs probability distribution, the variance
is a measure of how much the probability mass is spread out around this center.
Formal definition of variance
The standard deviation π of π is defined by
note on the units of values
- π has the same units as π.
- Var(π) has the same units as the square of π. So if π is in meters, then Var(π) is in meters squared.
Because π and π have the same units, the standard deviation is a natural measure of spread.
The variance of a Bernoulli(π) random variable
Bernoulli random variables are fundamental, so we should know their variance.
If π βΌ Bernoulli(π) then
Var(π) = π(1 β π)
Prove the variance of Bernoulli(p)
independence of discrete random variables
properties of variance
For Property 1, note carefully the requirement that π and π are independent. We will
return to the proof of Property 1 in a later class.
Property 3 gives a formula for Var(π) that is often easier to use in hand calculations. The
computer is happy to use the definition! Weβll prove Properties 2 and 3 after some examples.
Use Property 3 to compute the variance of π βΌ Bernoulli(π).
proof of property 2