(New page: To find the maximum variance of a Bernoulli RV first find the variance equation.) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
To find the maximum variance of a Bernoulli RV first find the variance equation. | To find the maximum variance of a Bernoulli RV first find the variance equation. | ||
+ | |||
+ | <math> Var(X) = E[X^2] - (E[X])^2 \!</math> | ||
+ | |||
+ | We know that for Bernoulli RVs | ||
+ | |||
+ | <math> E[X^2] = p \!</math> | ||
+ | |||
+ | <math> E[X] = p \!</math> | ||
+ | |||
+ | Plug these values into the variance equation, differentiate with respect to p, set equal to 0 and find the value of p that results in the largest value for the variance. |
Latest revision as of 12:16, 2 November 2008
To find the maximum variance of a Bernoulli RV first find the variance equation.
$ Var(X) = E[X^2] - (E[X])^2 \! $
We know that for Bernoulli RVs
$ E[X^2] = p \! $
$ E[X] = p \! $
Plug these values into the variance equation, differentiate with respect to p, set equal to 0 and find the value of p that results in the largest value for the variance.