<< Chapter < Page Chapter >> Page >

Remarks

  • If the pair { X , Y } is independent, it is uncorrelated. The converse is not true, as examples in the next section show.
  • If the a i = ± 1 and all pairs are uncorrelated, then
    Var k = 1 n a i X i = k = 1 n Var [ X i ]
    The variance add even if the coefficients are negative.

We calculate variances for some common distributions. Some details are omitted—usually details of algebraic manipulation or the straightforward evaluation of integrals. In somecases we use well known sums of infinite series or values of definite integrals. A number of pertinent facts are summarized in Appendix B . Some Mathematical Aids. The results below are included in the table in Appendix C .

Variances of some discrete distributions

  1. Indicator function X = I E P ( E ) = p , q = 1 - p E [ X ] = p
    E [ X 2 ] - E 2 [ X ] = E [ I E 2 ] - p 2 = E [ I E ] - p 2 = p - p 2 = p ( 1 - p ) = p q
  2. Simple random variable X = i = 1 n t i I A i (primitive form) P ( A i ) = p i .
    Var [ X ] = i = 1 n t i 2 p i q i - 2 i < j t i t j p i p j , since E [ I A i I A j ] = 0 i j
  3. Binomial ( n , p ) . X = i = 1 n I E i with { I E i : 1 i n } iid P ( E i ) = p
    Var [ X ] = i = 1 n Var [ I E i ] = i = 1 n p q = n p q
  4. Geometric ( p ) . P ( X = k ) = p q k k 0 E [ X ] = q / p
    We use a trick: E [ X 2 ] = E [ X ( X - 1 ) ] + E [ X ]
    E [ X 2 ] = p k = 0 k ( k - 1 ) q k + q / p = p q 2 k = 2 k ( k - 1 ) q k - 2 + q / p = p q 2 2 ( 1 - q ) 3 + q / p = 2 q 2 p 2 + q / p
    Var [ X ] = 2 q 2 p 2 + q / p - ( q / p ) 2 = q / p 2
  5. Poisson ( μ ) P ( X = k ) = e - μ μ k k ! k 0
    Using E [ X 2 ] = E [ X ( X - 1 ) ] + E [ X ] , we have
    E [ X 2 ] = e - μ k = 2 k ( k - 1 ) μ k k ! + μ = e - μ μ 2 k = 2 μ k - 2 ( k - 2 ) ! + μ = μ 2 + μ
    Thus, Var [ X ] = μ 2 + μ - μ 2 = μ . Note that both the mean and the variance have common value μ .

Some absolutely continuous distributions

  1. Uniform on ( a , b ) f X ( t ) = 1 b - a a < t < b E [ X ] = a + b 2
    E [ X 2 ] = 1 b - a a b t 2 d t = b 3 - a 3 3 ( b - a ) so Var [ X ] = b 3 - a 3 3 ( b - a ) - ( a + b ) 2 4 = ( b - a ) 2 12
  2. Symmetric triangular ( a , b ) Because of the shift property (V2) , we may center the distribution at the origin. Then the distribution is symmetric triangular ( - c , c ) , where c = ( b - a ) / 2 . Because of the symmetry
    Var [ X ] = E [ X 2 ] = - c c t 2 f X ( t ) d t = 2 0 c t 2 f X ( t ) d t
    Now, in this case,
    f X ( t ) = c - t c 2 0 t c so that E [ X 2 ] = 2 c 2 0 c ( c t 2 - t 3 ) d t = c 2 6 = ( b - a ) 2 24
  3. Exponential ( λ ) f X ( t ) = λ e - λ t , t 0 E [ X ] = 1 / λ
    E [ X 2 ] = 0 λ t 2 e - λ t d t = 2 λ 2 so that Var [ X ] = 1 / λ 2
  4. Gamma ( α , λ ) f X ( t ) = 1 Γ ( α ) λ α t α - 1 e - λ t t 0 E [ X ] = α λ
    E [ X 2 ] = 1 Γ ( α ) 0 λ α t α + 1 e - λ t d t = Γ ( α + 2 ) λ 2 Γ ( α ) = α ( α + 1 ) λ 2
    Hence Var [ X ] = α / λ 2 .
  5. Normal ( μ , σ 2 ) E [ X ] = μ
    Consider Y N ( 0 , 1 ) , E [ Y ] = 0 , Var [ Y ] = 2 2 π 0 t 2 e - t 2 / 2 d t = 1 .
    X = σ Y + μ implies Var [ X ] = σ 2 Var [ Y ] = σ 2

Extensions of some previous examples

In the unit on expectations, we calculate the mean for a variety of cases. We revisit some of those examples and calculate the variances.

Expected winnings ( Example 8 From "mathematical expectation: simple random variables")

A bettor places three bets at $2.00 each. The first pays $10.00 with probability 0.15, the second $8.00 with probability 0.20, and the third $20.00 with probability 0.10.

SOLUTION

The net gain may be expressed

X = 10 I A + 8 I B + 20 I C - 6 , with P ( A ) = 0 . 15 , P ( B ) = 0 . 20 , P ( C ) = 0 . 10

We may reasonbly suppose the class { A , B , C } is independent (this assumption is not necessary in computing the mean). Then

Var [ X ] = 10 2 P ( A ) [ 1 - P ( A ) ] + 8 2 P ( B ) [ 1 - P ( B ) ] + 20 2 P ( C ) [ 1 - P ( C ) ]

Calculation is straightforward. We may use MATLAB to perform the arithmetic.

c = [10 8 20];p = 0.01*[15 20 10];q = 1 - p; VX = sum(c.^2.*p.*q)VX = 58.9900
Got questions? Get instant answers now!

A function of X ( Example 9 From "mathematical expectation: simple random variables")

Suppose X in a primitive form is

X = - 3 I C 1 - I C 2 + 2 I C 3 - 3 I C 4 + 4 I C 5 - I C 6 + I C 7 + 2 I C 8 + 3 I C 9 + 2 I C 10

with probabilities P ( C i ) = 0 . 08 , 0 . 11 , 0 . 06 , 0 . 13 , 0 . 05 , 0 . 08 , 0 . 12 , 0 . 07 , 0 . 14 , 0 . 16 .

Let g ( t ) = t 2 + 2 t . Determine E [ g ( X ) ] and Var [ g ( X ) ]

c = [-3 -1 2 -3 4 -1 1 2 3 2]; % Original coefficientspc = 0.01*[8 11 6 13 5 8 12 7 14 16]; % Probabilities for C_jG = c.^2 + 2*c % g(c_j) EG = G*pc' % Direct calculation E[g(X)]EG = 6.4200 VG = (G.^2)*pc' - EG^2 % Direct calculation Var[g(X)]VG = 40.8036 [Z,PZ]= csort(G,pc); % Distribution for Z = g(X) EZ = Z*PZ' % E[Z]EZ = 6.4200 VZ = (Z.^2)*PZ' - EZ^2 % Var[Z]VZ = 40.8036
Got questions? Get instant answers now!

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Applied probability. OpenStax CNX. Aug 31, 2009 Download for free at http://cnx.org/content/col10708/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Applied probability' conversation and receive update notifications?

Ask