Professional Documents
Culture Documents
Calculating Expected Value and Variance For X
Calculating Expected Value and Variance For X
Expected Value:
With only 1 element having X = 1 and another with X = 100, and all others having X = 2, the
expected value is given by:
Variance:
Squared deviations from the mean for each outcome are calculated as follows:
( 1−2.01 )2 =1.0201
( 2−2.01 )2=0.0001
( 100−2.01 )2=9599.61
Expected Value:
As Y is the sum of two independent X's, the expected value is the sum of their individual
expected values:
E ( Y )=2× E ( X )=2∗2.01=4.02
Variance:
Similarly, the variance is the sum of their individual variances:
Expected Value:
Z, the sum of a random number of X's, requires considering the expected value for each
possible number of repetitions (die rolls).
E ( Z )=n∗E ( X )
Where
Variance:
Similar to the expected value, calculating the variance for each possible number of
repetitions and weighting them by probability.
Var ( Z )=n∗Var ( X )
Where
Expected Value:
E(Z )=1000 × E( X )=1000∗2.01=2010
Variance:
Var (Z)=1000× Var (X )=1000∗0.9601=960.1
Standard Deviation:
σ Z =√ Var ( Z )= √ 960.1 ≈ 30.98