13.07.2015 Views

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PROBABILITY◮A biased die gives probabilities 1 p, p, p, p, p, 2p of throwing 1, 2, 3, 4, 5, 6 respectively.2If the r<strong>and</strong>om variable X is the number shown on the die <strong>and</strong> the r<strong>and</strong>om variable Y isdefined as X 2 , calculate the covariance <strong>and</strong> correlation of X <strong>and</strong> Y .We have already calculated in subsections 30.2.1 <strong>and</strong> 30.5.4 thatp = 253, E[X] =13Using (30.135), we obtainNow E[X 3 ]isgivenby13 , E[ X 2] = 25313, V[X] =480169 .Cov[X,Y ]=Cov[X,X 2 ]=E[X 3 ] − E[X]E[X 2 ].E[X 3 ]=1 3 × 1 p 2 +(23 +3 3 +4 3 +5 3 )p +6 3 × 2p= 13132 p = 101,<strong>and</strong> the covariance of X <strong>and</strong> Y is given byCov[X,Y ] = 101 − 5313 × 25313 = 3660169 .The correlation is defined by Corr[X,Y ]=Cov[X,Y ]/σ X σ Y . The st<strong>and</strong>ard deviation ofY may be calculated from the definition of the variance. Letting µ Y = E[X 2 ]= 253 gives13σY 2 = p ( )1 2 2 ( )− µ Y + p 2 2 2 ( )− µ Y + p 3 2 2 ( )− µ Y + p 4 2 2− µ Y2+ p ( )5 2 2 ( )− µ Y +2p 6 2 2− µ Y187 356 28 824= p =169 169 .We deduce thatCorr[X,Y ]= 3660√ √169 169169 28 824 480 ≈ 0.984.Thus the r<strong>and</strong>om variables X <strong>and</strong> Y display a strong degree of positive correlation, as wewould expect. ◭We note that the covariance of X <strong>and</strong> Y occurs in various expressions. Forexample, if X <strong>and</strong> Y are not independent thenV [X + Y ]=E [ (X + Y ) 2] − (E[X + Y ]) 2= E [ X 2] +2E[XY ]+E [ Y 2] −{(E[X]) 2 +2E[X]E[Y ]+(E[Y ]) 2 }= V [X]+V [Y ]+2(E[XY ] − E[X]E[Y ])= V [X]+V [Y ]+2Cov[X,Y ].1202

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!