0% found this document useful (0 votes)
3 views42 pages

Chapter 6

This chapter focuses on the concepts of expected value and variance of random variables, including their properties and relationships. It covers mathematical expectations, conditional expectations, and various inequalities related to expectation. Additionally, it discusses the expected value of functions of random variables and provides proofs for key properties of expectation.

Uploaded by

Aman Dubey
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
3 views42 pages

Chapter 6

This chapter focuses on the concepts of expected value and variance of random variables, including their properties and relationships. It covers mathematical expectations, conditional expectations, and various inequalities related to expectation. Additionally, it discusses the expected value of functions of random variables and provides proofs for key properties of expectation.

Uploaded by

Aman Dubey
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
LEARNING OBJECTIVES. Upon completion of this chapter, you should be able to ; CHAPTER OUTLINE 6-1. INTRODUCTION |. Understand and interpret the expected value and varlance of a random variable. State with proof the various properties of expectation and variance. . Explain the concept of covariance. . Obtain moments of bivariate probability distributions, . Discuss some Inequality relationships involving expectation, like Cauchy-Schwartz Inequality, Jenson’s inequality, etc. . Demonstrate the concept of conditional expectation and conditional variance. 62. MATHEMATICAL EXPECTATION OR EXPECTED VALUE OF A 63, 6-4. 65. 66, 67. 68. 69, a AS! RANDOM VARIABLE EXPECTED VALUE OF FUNCTION OF A RANDOM VARIABLE PROPERTIES OF EXPECTATION Property 1 : Addition Theorem of Expectation Property 2 : Multiplication Theorerr. of Expectation PROPERTIES OF VARIANCE COVARIANCE 661. Variance of a Linear Combination of Random Variables SOME INEQUALITIES INVOLVING EXPECTATION MOMENTS OF BIVARIATE PROBABILITY DISTRIBUTIONS CONDITIONAL EXPECTATION AND CONDITIONAL VARIANCE a NCEPTS QUIZ / DISCUSSION AND REVIEW QUESTIONS/ RTED REVIEW PROBLEMS FOR SELF-ASSESSMENT NOD 6-2 FUNDAMENTALS OF MATHEMATICAL STATISTicg gel. INTRODUCTION Many frequently used r.v.’s can be both characterized and dealt with effective) for practical purposes by consideration of quantities called their expectation. Foy example, a gambler might be interested in his average winnings at a game, q businessman in his average profits on a product, a physicist in the average charge of a particle, and so on. The ‘average’ value of a random phenomenon is also termed as its mathematical expectation or expected value. In this chapter we will define and study this concept in detail, which will be used extensively in subsequent chapters. *\ 6:2. MATHEMATICAL EXPECTATION OR EXPECTED VALUE OF A RANDOM VARIABLE. Once we have constructed the probability distribution for a random variable, we often want to compute the mean or expected value of the random variable. The expected value of a discrete random variable is a weighted average of all possible values of the random variable, where the weights are the probabilities associated with the corresponding values. The mathematical expression for computing the expected value of a discrete random variable X with probability mass function (p.m-f.) f(x) is given below : E(X) = xf(x), (for discrete r.v.) (61) The mathematical expression for computing the expected value of a continuous random variable X with probability density function (p.d.f.) f(x) is, however, as follows : E(X)= { ) dx , (for continuous r.v.)} +» (61a) provided the right, hand integral in (6-1a) or series in (6-1) is absolutely convergent, ive., provided iz | xf(x) | dx =| Ix f(x) dx < 00 (62) or Elxfle) | = E131 fla) E(y)=1.P(y=1)+[Link]=0) & E (14) =P (A) This gives us a very useful tool to find P (A), rather than to evaluate E (X). Thus. P(A) =E (ly) 6:25)" (MATHEMATICAL EXPECTATION 63 E(X) =P P(X=1) 40. P(X =0)=P(Iy=1)= P(A) Var X = E (X*) = [E (X)} = P (A) -[P (A) = P(A) [1 - P(A] = P(A) P(A) (62) => Var(I4) = P(A) P(A) (62d) 4. If the r.v, X takes the values 0! 1 !, 2, ... with probability law: P(X=x)= x! x=0,1,2,.,then DY x!P(X=x)=e'L 1, r=0 xo which is a divergent series. In this case E (X) does not exist. More rigorously, let us consider a random variable X which takes the values x = C1 G41) j1=1,2,3,.. with the probability law: p, = P(X = x) =p! i =1,2,3,.. 5 eee Here Er xP&=x)=E C1) (jab Using Leibnitz test for alternating series, the series on right-hand side is conditionally convergent, since the terms alternate in sign are monotonically ‘decreasing and coverge to zero. By conditional convergence we mean that although 5, p; x, converges, © | p, x; | does not ie ra converge. So, rigorously speaking, in the above example E (X) does not exist, although Dp, x, is finite, viz, log, 2. = (eet As another example, let us consider the r.v. X which takes the values x, = ane (k =1, 2,3, ...), with probabilities p, = 27. Here also we get Lr une L Ce [r-ped de .]=-tog.2and X intasd fb k=1 kel kel k=l which is a divergent series. Hence in this case also expectation does not exist. As an illustration of a continuous r.v., let us consider the r.v. X with pdf. : 11, wo FQ) = pyginesxs which is p.d/f, of standard Cauchy distribution. (cf. Chapter 9]. ee | ix tfoyae=}] ripe? { pdr = Hogar) = -0 0 (-- Integrand is an even function of x.) Since this integral does not converge to a finite limit, E (X) does not exist. 6-3. EXPECTED VALUE OF FUNCTION OF A RANDOM VARIABLE Consider a r.v. X with p.d,f. (p.m,f.) f (x) and distribution function F (x). If (:) isa function such that g (X) is a r.v. and E [g (X)] exists (i.e., is defined), then E[g(X)] = | 8 (x) f (x) dx (For continuous r.v.) + (63) E[g(X)] = Xe) f(x) (For discrete 1.0.) v- (6-3a) gi 6-4 FUNDAMENTALS OF MATHEMATICAL STAT" By definition, the expectation of Y =g (X) is: Ete Qo] =£0=| vativy) =| yh dy 64 vy ¥ 7 EQ) = Eyh), (640) where Hy(y) is the distribution function of Y and hy) is [Link]. of Y. [The proof of equivalence of (6:3) and (6-4) is beyond the scope of the book.] This result extends into higher dimensions. If X and Y have ajoint p.d.f., f(x, y) and Z =h(x, y) is a random variable for some function h and if E (Z) exists, then E(Z) = { | h(x, y) fx, y) dx dy ... (6-5) or E(Z) = z Eble, y) fix, y) w (65a) Particular Cases 1. If we take g (X) = X",r being a positive integer, in (63), E(x) -| x f (x) dx, (6-58) which is defined as 1, the rth moment (about origin) of the probability distribution. Thus Hy (about origin) = E(X). In particular iy (about origin) = E (X) and pip’ (about origin) = E (X?) Hence, Mean = %= py" (about origin) = E(X) . (66) and Hp = pa’ - wy? = E (X2)-{E(X)P ... (6-64) ‘2. Ifg (X)=[X-E (XI = (X -¥ )’, then from (6:3), we obtain EXE] e-EQOAeode=| HY fe), 67) which is p,,, the rth moment about mean. In particular, if r = 2, we get m= EX-E00P 4 . (x- x) f(x) dx w+ (68) Formulae (6-62) and (68) give the variance of ility distributi ae eee Ree Z ve tye ce of the probability distribution of a 3. Taking (x) = constant =c, say in (6-3), we get FO -| . ¢ fa) de= ef “ fie) dx = c (69) - E(c)se , a (69a) ste ane sre cmerespending bia for a discrete r.v. X can be obtained on replacing 69). the given range of the variable X in the formulae (6-5) to In the following sect oc Tete fllmting sections, we shall establish some more results on ‘Expectation inthe fort similarly on replacing Integration by corresponding results for discrete rs can be obtained are left 08 an exercise to the read jummation () over the given range of the variable X and MATHEMATICAL EXPECTATION ae 6-4)PROPERTIES OF EXPECTATION Property 1. Addition Theorem of Expectation. If X and Y are random variables, then E (X + Y) = E (X) +E (Y), (610) provided all the expectations exist. Proof. Let X and Y be continuous r.v.’s with joint [Link]. fy (x, y) and mar; p's fc () and fy (y) respectively. Then by def, mu ae E(X) -| xfx(x)dx (6-11) and em=| fy (y) dy (6-12) eae =f | cea frenardy -{- [ x fav 9) dedy sf - [. Y fay (%y) dx dy -|" Al” farts. nay] ar | 7 af fav (¥) dx] dy =|" xfx (x) dx | _. Yi dy =E(X)+E(Y) [On using (6-11) and (6-12)] The result in (6-10) can be extended to n variables as given below. Generalisation. The mathematical expectation of the sum of n random variables is equal to the sum of their expectations, provided all the expectations exist. Symbolically, if X,, X, ..., X,, are random variables then E (X, + Xp. +X,) =E(X1) + E (Xp) + +E (X,) (613) 8 1" or E( x x) = L E (Xj, ifall the expectations exist. (6-134) int is Proof. Using (6-10), for two r.v.'s X; and Xz, we get E(X,+X,)=E(X:)+E(X)) = (6-13)istrueforn=2— ...(*) Let us now suppose that (6-13) is true for n = r (say), so that o( x) = by EX) (14) ret E(E x) =E E x+%er]=£ ( Dx} +EC% 2) (Using (610) isl isl ' = DL E(X) +E (X41) [Using (6-14)] isl red = E(x) =r +1, But we have proved in Hence if (6-13) is true for n =, it is also true for n 241=3;n=34+1=4;... (*) above that (6-13) is true for n|= 2. Hence it is true for = - 6-6 FUNDAMENTALS OF MATHEMATICAL STATISTICS and so on. Hence by the principle of mathematical induction, (6-13) is true for all positive integral values of 1 yf Property 2. Multiplication Theorem of Expectation If X and Y are independent random variables, then E (XY) = E(X). EY) (6-15) Proof. Proceeding as in property 1, we have E(XY) -| {. XY fry (%, y) dx dy = { | xy fx (x) fy (Y) dx dy [Since X and Y are independent] -| xf wax| yfy(y) dy [Using (6-11) and (612)] = E(X)E (¥), provided X and Y are independent Generalisation. The mathematical expectation of the product of a number of independent random variables is equal to the product of their expectations. Symbolically, if X,, Xp, on Xp aren independent r.v.’s, then E (Xt, Xz v- Xn) = E (X) E (Xp) = E (Xn) 616) 1" 1" ie, e( ll x) = Tl E(x), it in provided all the expectations exist. Proof. Using (6-15), for two independent r.v.’s X and X2, we get E (XX) =E (Xi) E(X) => (6-16) is true for n = 2. “ Let us now suppose that (6-16) is true for n = r, (say) so that r r e( 1 x) = Tl E(x) . (617) iv ist rel r ' Thus e( fl x) = e( Tl xx) =e | x)-£05 1) [Using (6:15)} is ist is r =[Mexfex (Using 617 inl re = Mex) ie Hence if (6-16) is true for n = r, it is also true for n = r+ 1, Hence using (*), by the principle of mathematical induction we conclude that (6-16) is true for all positive integral values of n. ‘\ Property 3. If X is a random variable and ‘a’ is'constant, then @) E [a¥ QO) =aE[¥ (X)] w» (6-18) (ii) EW (X) +a} = EY (X)] +a, (6:19) ahere ‘?(X), a function of X, is a r.v. and all the expectations exist. MATHEMATICAL EXPECTATION 67 Proof. . . (i) eleven =] a¥(x). f(x) dp= W (x) f(x) dv =a E[¥ (X)] (i) ENO) +a) -| Worralfardr=] wayfaydrea] foydr = EV] +0 (| seoar=1) Cor. (i) If ¥(X) =X, in (618) then E(@X)=aE(X) and E(X+a)=E(X)+a (620) (i) If W(X) =1in 618) then E (a) =a. (621) Property 4. If X is a random variable and a and bare constants, then E(aX+b)=aE(X)+b, ++ (6-22) provided all the expectations exist. Proof. By def., we have E@xsh=| (ax +b) f(x) dx=a ie xfer +b | f(x)dx=aE (X) +b Cor. 1. If b =0, then we get E (a X) =a. E (X) =» (6-222) Cor. 2. Taking a = 1,b= E(X), we get E(X-X)=0 Remark. If we write (X) =aX+b (623) then SlE(X)] =aE(X)+b (6-234) Hence from (6-22) and (6-232), E {g (X)} = ¢ (E (X)) we (6-24) Now (6:23) and (6:24) imply that expectation of a linear function is the same linear function of the expectation. The result, however, is not true if g (:) is not linear. For instance, E(/X) # (V/E(X) 5 E(X) # [EQQP? E[log(X)] # log(E(X)] ; E(X) # [E(XF, since all the functions stated above are non-linear. As an illustration, let us consider a random variable X which assumes only two values +1 and -1, each with equal probability }. Then E(X) =1x}+(Ca)x $20 and £()=1°x Fe cap x de Thus E(x) #(E(X)P For a non-linear function g (X), it is difficult to obtain expressions for E [g(X)] in terms of SIE (X)], say, for E [log (X)] or E (X?) in terms of log (E (X)] or {E (X), However, some results in the form of inequalities between E (g (X)] and ¢ [E (X)] are available, as discussed in later part of the chapter. | Property 5. Expectation of a Linear Combination of Random Variables : Let Xy, Xp, .., Xy be any.n random variables and if a1, ay, ..., 4, are any n constants, then | e( x ax) = z a; E(X,) ww (625) | izt provided all the expectations exist. is The result is obvious from (6.13) and 62). ae 68 FUNDAMENTALS OF MATHEMATICAL STATISTICS + Property 6. If X 2 Othen E(X) 2 0. "proof. If X is a continuous random variable s.t. X 2 0, then e00-| [Link]=| x. po) de 30, [-- IF X 20, p (x) = 0 for x < 0} provided the expectation exists. Property 7. If X and Y are two random variables such that Y < X then E(Y) SE (X), provided all the expectations exist. Proof. Since Y < X, we have ther.v. Y-X < 0 = X-Y 20 Hence E(X-Y) 20 => E (X)-E(Y) 20 > E(X) 2E(Y) > E(Y) SE (X),as desired. Property 8. | E(X) | SE | X |, provided the expectations exist. (6:26) Proof. Since. X < |X |, wehave by Property 7, E(X) SE! X! .(*) Again since -X <1 X I, we have by Property 7, E(-X) $ E|X! : —E(X) SEIXI w (**) From (*) and (**), we get the desired result | E(X) | 1. me [Uivareys| , ix tar@y +) ‘a x IrdF (x) 1 < { dF 9 +| | x I'dF (x), 1 Ixtoa xt> since for -1 E(X°) exists, V 1$s$r Remark. The above result states that if the moments of a specified order exist, then all the lower order moments automatically exist. However, the converse is not true, i.e, we may have distributions for which all the moments of a specified order exist but no higher order moment exist. For example, for the r.v. with pdf: [2/8 5 x21 a) {2 xed we have : E(x) -| xpoyde=2 x? dx =| 1 1 (2-2 E(x) -{ = pcydr=2] Lice , MATHEMATICAL EXPECTATION 6-9 Thus for the above distribution, Ist order moment (mean) exists but 2nd order moment (variance) does not exist As another illustration, consider a r.v. X with pdf. p(x) = ner x20, a>0 Hy” Eorecrsna |” wayne a Put x = ay and using Beta integral : f oar B (m, n), we shall get, on simplification 0 wy’ =(r+1)a".B(r+1,1) =a" However, nafszarnetrenes | irate on as the integral is not convergent. Hence in this case only the moments up to rth order exist and higher order moments do not exist. Property 10. If X and Y are independent random variables, then E(h(X). kK =E fh (XI ELK) ~» (6-28) where h(.) is a function of X alone and k(.) is a function of Y alone, provided expectations on both sides exist. Proof. Let fx(x) and gy(y) be the marginal p.d,f’s of X and Y respectively. Since X and Y are independent, their joint [Link]. fury (x,y) is given by : fay) = fx fr) =) By def., for continuous r.v.’s E10). O) = J |” Hey Ky) sls waa = [J nearer sw dry tFom C9 Since E [h (X) k (Y)] exists, the integral on the right-hand side is absolutely convergent and hence by Fuibini’s theorem for integrable functions, we can change the order of integration to get emoorond| _reyendel[ { “a gcndd] = 20001-8800 as desired. _ Remark. The result can be proved for discrete random variables X and Y on replacing integration by summation over the given range of X and Y. 6-5. PROPERTIES OF VARIANCE If X isa random variable, then V (aX + b) = a2 V(X), ++(6:29) where a and b are constants. Proof. Let Y =aX +b. Then E(Y) =a (X) +b Y-E(Y)=a[X-E(X)] Squaring and taking expectation of both sides, we get a 6-10 FUNDAMENTALS OF MATHEMATICAL STATISTig, E[Y-E()P=@E[X-E(X)P > V(Y)=@ V(X) or V(aX +b) =a? V(X), where V (X) is written for variance of X. Cor. (i) fb =0, then V (aX) =a? V (x) +++ (6-25) => Variance is not independent of change of scale. (ii)If a =0,then V(b)=0 => Variance of a constant is zero. + (625) (iii) If a =1,then V(X+b)=V(X) + (6:28, => Variance is independent of change of origin. 6-6. COVARIANCE If X and Y are two random variables, then covariance between them is defined as Cov (XY) = E[[X-E(X)}{Y- EM] + (6-3) =E[XY-XE(Y)-YE(X) +E (X)E(Y)) =E(XY)-E(Y)E(X)-E(X)E( +E (XE) =E(XY)-E(X)E() «= (6304) If X and Y are independent then E (XY) = E (X) E (Y) and hence in this case Cov (X,Y) = E(X)E(Y) -E(X)E(Y)=0 +» (6-306) , Remarks 1. Cov (aX,bY) = E[laX—£ (aX)} {bY-E YH] Ela (X-E(X)}b(Y-E(Y))] ab E((X-E(X)(Y-E() ab Cov (X,Y) (631) 2 Cov(X +a, ¥ +8) = Cov(XY) .. (6313) 3. cov ( a 4, = teow (x,y .. (6318) ox" oy | oxoy 4. Similarly, we shall get : Cov (aX +b, cY +) = acCov (X,Y) (6319 Cov (X4Y,Z) = Cov (X, Z) +Cov (Y, Z) (6314 Cov (aX + bY, eX +dY) = a00,2+ boy? + (ad + be) Cov (X, Y) (6310 5. If X and Y are independent, Cov (X, Y) =0.. {c-f. (630b)]. However, the converse is not true. For illustrations see Chapter 10 on Correlation. 6-6-1. Variance of a Linear Combination of Random Variables Let X;, Xp, wy Xq be n random variables, then non ; Vv (2 4 x) == ar V(X) +2 x 4; a; Cov (X;, X)) wn (632) lisp Proof. Let U = a, X, +0) Xo +... ay Xy, so that E(U) = ay E(X1) + a2 E (Xp) + 1. + dy E (X,) U-E(U) = ay (X1~E(X)} +a (Xp E(Xq)) +. tay (Xp —E (Xl) Squaring and taking expectation of both sides, we get E(U~E (U)P = ay? E[X; ~E (Xi)P + ap? E [Xp ~ E (Xa) +... + 42 E [Xp - E (XW? +2 a aa) E [(X,~E(X)} (X,- E(X))] ie MATHEMATICAL, EXPECTATION 6-11 =p VU) =a? V(X) + a9? V(X) +. ay? V(X) +2 LL aaj Cov (X;, X}) iat jat tej nr n n n = v( ZX a X= L a2 V(X)+2 ZL ajajCov(X, X)) i=l ist isl j=l ie} | Remarks 1. Ifo,=1;i=1,2,..,n, then VOX Xt AX) =VORYHVOG) + FVOKG)EZ BE CoveXy X) (632) hi igj 2, IEXy, Xp, Xp are independent (pairwise), then Cov (X,, X)) = 0, (i#). Thus from (632) and (6-322), we get V(X, + 0gX_ + +. X,) =)? V(X) +03? V(X) +. #.4,? V (X,) and V(X + Xp X= V(X) + VK) +. V(X), provided X;, X,,.... X, are independent. 3.1f a= 1 =a, and a,=4, =... =a, =0, then from (6:32), we get V(X, +X,) = V(X) + V(X) + 2 Cov (Xy, X2) Again ifa, = 1, a.=-1 anda, =a,=...=a, =0, then V(X -X,) = V(X) + V(X) -2 Cov (X,, X;) Thus we have V(X, £X,) = V(X,) + V(X.) £2Cov (X,, X;) «- (632c) IfX, and X; are independent, then Cov (X;, X;) = 0 and we get 7 V(X,£X,) = V(X) + V(X) (6324) “Example 6-1. Let X be a random variable with the following probability distribution : x : 3 6 9 P(X=x) : 1/6 1/2 18 Find E (X) and E (X2) and using the laws of expectation, evaluate E (2X + 1)2. Solution. (x) =Lxple)=(-3)xF 46x 549% he .. (632b) EOC) =Satptx)=9x1436x L481 x EQX+1p = EX? + AX +1) = 46 (X2) +46 (xX) +1 = 4x 44x 41 = 209 ‘Example 6:2. (a) Find the expectation of the number on a die when thrown. (b) Ti i ; poy z wo unbiased dice are thrown. Find the expected values of the sum of numbers of Solution. (a) Let X be th i when thrown. Thee X co a ae variable representing the number on a die any one of the values 1, 2, 3, ..., 6 each wi a probability}. Hence y e values each with equal C 1 1 1 E(X)=l xretygyl . (x) 6x1 x24 6x34 4h oa Made de +6) 16x77 at) 6-12 FUNDAMENTALS OF MATHEMATICAL STATISTICS Remark. This does not mean that in a random throw of a dice, the player will get the number 5. In fact, one can never get this (fractional) number in a throw of a dice. Rather, this implies that if the player tosses the dice for a “long” period, then on the average toss he will (b) The probabili function of X (the sum of numbers obtained on two dice), is egxx 12 [3 | +t Te{7{~[utn Probability | 1/36 | 2/36 | 3/36 | 4/36 576 | 6/36 [oe | 2/36 | 1736 E(X) = Lx 6 nada Zod R 5x a r6x 5 7% Hp 48 3 + 9S +10xZ4 Ux H+ 1x y = xe +6+12+20 +30 +42 + 40 + 36 +30 + 22+ 12)= 4x252=7 Aliter. Let X; be the number obtained on the ith dice (i = 1, 2) when thrown. Then the sum of the number of points on two dice is given by : 7,7 S =X,+X_ => E(S)=E (Xi) +E (X)= 7+ 9 =7 [On using (*)] Remark. This result can be generalised to the sum of points obtained in a random throw of n dice. Then . 5 Z_ In E(S) = LDE(K)= L a= i=l isl Example 6-3. In four tosses of a coin, let X be the number of heads. Tabulate the 16 possible outcomes with the corresponding values of X. By simple counting, derive the probability distribution of X and hence calculate the expected value of X. Solution. Let H represent a head, T a tail and X, the random variable denoting the number of heads. {[Link] Outcomes — No. of Heads (X) [Link]. Outcomes No. of Heads (X)) ; HHHH 4 9 HTHT 2 | | 2 HHHT 3 10 THTH 2 | | 3 HHTH 3 n THHT 2 | | 4 HTHH 3 2 HTTT 1 | | 5 THHH 3 13 THTT 1 | | 6 HHTT 2 “4 TTHT 1 | 7 HTTH 2 15 TTTH 1 | 8 ITHH 26 TITT 0 | “The random variable X takes the values 0, 1, 2, 3 and 4. Since, from the above table, we find that the number of cases favourable to the coming of 0, 1, 2, 3 and 4 heads are 1,4,6, 4nd 1 respectively, we have 1 4 1 P(X=0)= 4g P(X= = ie= 4g, P(X == 6 4 P(X =3)= 76 = 1, P(X=4)= i. The probability distribution of X can be summarized as follows : x ; 1 2 3 4 1 3 px) : 1 i a 4 8 4 16 MATHEMATICAL EXPECTATION 6-13 ‘ 3 1 3.3 E(x) = L xpix)=t-p42 gts hed igeptgtat y=? x=0 Example 64. An urn contains 7 white and 3 red balls, Two balls are drawn together, at random from this urn. Compute the probability that neither of them is white. Find also the probability of getting one white and one red ball. Hence compute the expected number of white balls drawn Solution, Let X denote the number of white balls drawn. The probability distribution of X is obtained as follows: x: 0 1 2 : 5 1 70, °C, 1G 7 p(x) WC, = 15 mC, = WC, = 15 Then expected number of white balls drawn is : 1 7 7 _ 2 E(X)=0x75 +1x 7g+2 75 = 55 Example 6:5. A gamester has a disc with a freely revolving needle. The disc is divided into 20 equal sectors by thin lines and the sectors are marked 0, 1, 2, ., 19. The gamester treats 5 or any multiple of 5 as lucky numbers and zero as a special lucky number. He allows a player to whirl the needle on a charge of 10 paise. When the needdle stops at the lucky number the gamester pays back the player twice the sum charged and at the special lucky number the gamester pays to the player 5 times of the sum charged. Is the game fair ? What is the expectation of the player ? Solution. [ Event Favourable p(x) Player's Gain (x) [Lucky number 5,10, 15 3/20 — 20-10=10p | Special lucky No. 0 1/20 50-10=40p ‘Other numbers | 1,2,3,4,6,7,8,9, 11,12, 16/20 -10p 13,14, 16,17, 18,19 | E(X) = Bx 10+ dy 40~ 38x 10 =— 50, ie, the game isnot fir Example 6:6.A box contains 2"tickels among which "C; tickets bear the number j;i=0, 1,2, .-.m. A group of m tickets is drawn. What is the expectation of the sum of their numbers ? Solution. Let X;; i=1, 2, ..., m be the variable representing the number on the ith ticket drawn. Then the sum ‘S’ of the numbers on the tickets drawn is given by : 7 ® S =Xy+Xpt..4X,= L X;, sothat £(S)= LY £(X)) in ist ; X;is a random variable which can take any one of the possible values 0), 1, 2, ..., 11 with respective probabilities :"Cy/2", "C,/2","C)/2", ..., "C,/2", 1 E (Xi) = oy (1"Cy +2. "Cy +3."Cy +2 +H", 1 = pe (Lne 2 SED yg mn a) n = jell + (n-1) + mands +a} 6.14 1 = on ». ES) = L E(X)= L n=" 1 int ti an (MICA IC HMI, FUNDAMENTALS OF MATHEMATICAL STATISTICS Example 6-7. A coin is tossed until a head appears. What is the expectation of the number of tosses required ? Solution. Let X denote the number of tosses required to get the first head. Then X can materialise in the follawing ways: [ Event | — Probability, p(x) H 1 | 2 TH 111 | 2%274 TTH dyad 2%2%275 E(X) =D xp(x)eix beaxbeaxteaxde.. x)= 2 Po) 2 4 8 16 0 This is an arithmetic-geometric series with ratio of GP being r= epee2-te3 tag b Let S =1ly+2 qt3 gt iet Then a- [Since the sum of an infinite G. P. with first term a and common ratio (<1) is 7, Hence, substituting in (*), we have E(X)=2. 8. What is the expectation of the number of failures preceding the first with constant probability p of success in each Example 6- success in an infinite series of independent trials 14,4 H2-g43. 76+ or $=2. J) trial ? Solution. Let the random variable X denote the number of failures preceding the first success. Then X can take the values 0, 1,2, «», 2. We have P(X =x) =p (2) = P(x failures precede the first success) = 9" P, is the probability of failure in a trial. Then by def, where q = 1-p, E()= L expe L x gtpepq L xq t= pq +24 3p + 4p +) w() x=0 x=0 rel Now 1 +29 +3q? + 4g? +... is an infinite arithmetic-geometric series. Let S =142q +37 + 4p + qs = q+ UP + 3p +. (1-gS =l+q+@rgt- 7 + [From (*)] 1+ 2q +39? +493... = Hence E (X) NER EE EEEEEEEEEEETTDEN MATHEMATICAL EXPECTATION 615 Example 6-9. A box contains ‘a’ white and ‘b’ black balls. ‘c’ balls are drawn at random Find the expected value of the number of white balls drawn. Solution. Let a variable X,, associated with ith draw, be defined as follows 1, if ith ball drawn is white i= { 0, if ith ball drawn is black Then the number ‘S’ of the white balls among ‘c’ balls drawn is given by : s ehitkrntke Ex = E=E E(X) Lt) Now P (X;=1) =P (of drawing a white ball) = “at and P (X,=0) = P (of drawing a black ball) = E(X) =1.P(Xj=1) 40. P(X)=0)=22¢ | Hence E(S)= x (=) = a [From (*)] =I Example 6-10. Let the rv. X have the distribution : P(X =0)=P(X=2)=p;P(X=1)=1-2p,for0 ps}. For what p is the Var (X) a maximum ? Solution. Here the r.v. X takes the values 0, 1, and 2 with respective probabilities p.1~2pand p, 0p}. Thus E(X)=Oxp+1x(1-2p)+2xp =LE(X*)=0xp+I?x(1-2p)+2xp=1+2p Var (X) = E(X2)~{E (X)}=2p; Op < } Obviously, for 0

E(8)= % E(x) int Now E(X) = LP (K=1)+0.P(%=0)=P(X,=1)=4 Hence E() = 2 (j)=n V(S) = V(XY+X+..+X) =D V(X)+2E ¥ Cov (X),X)) (1) ist inn jai vey Now V(X) =E(KA-(E OP = 12. P(X, =1) +02. P(X =0)~(1)°= ---Q) Cov (Xi, X)) = E (XX) - E(X) E (X) -@) EQGX)=1.P (GX, =1)40.P(Xxi=0) = MHA _ wo" since X, X;= 1 if and only if both card numbers i and j are in their respective matching Places and there are (n - 2) ! arrangements of the remaining cards that correspond to this event. Substituting in (3), we get 1 11 1 COV (Xi X) Tay ~ n= OY ~& Substituting from (2) and (4) in (1), we have y (n=1 y 1 = = en (t VOS)= 2 (=) 2d 4 {r=} =n (2 iLVt>0 = etel Also or l-et>0 ete} 50, vis0 Hence P(x) = et(1-e)-1 > 0, Vt>0,x=1,2,3,... 6-1 8 FUNDAMENTALS OF MATHEMATICAL STATISTICS Also = -L p(x) set L (1-ety- =e Lo 1, (@=1-¢' rel rel rel set(ltatatea4..)ee Jectiaty set[1-(l-e)} set = Hence p (x) defined in (*) represents the probability function of a r.v. X. E (X) =Ex-pQjeet L xQ-ey tect Z [Link] (a=1-e") xel xel set (1 +204 3024 4+...) =e! (1-a)? (See Remark 1) set(etyt=e! E(X2) =Exep(xyset L [Link]-t set (1+ 4a +90? + 160° +...) ral =e*(1 +a) (1-ay3=et (2-e*) e* (See Remark 2) Hence Var (X) = E (X2)-[E (x) =e! (2-et) e¥-e = [(2-e4)-i] =e (1-e) =e (¢-1). Remarks 1. Consider S$ =1+20 +30? +4a° +... (Arithmetic-geometric series) = aS = at+2a+30+. 1 = (l-a)S =l+a+a@+a+.. ay 7 S=(1-a)? YD xa) = 1420+ 3a? + da? +... = (1-0)? ° rel 2. Consider S$ =14+ 2.043224 h.+5? at... = S =1+ 40+ 9a? + 160° + 25a* +... —3a$ = -3a- 12a?- 270 - 48a‘-... +305 = + 3a? + 120° + 2704 +... -@S = - @- 4a- ‘Adding the above equations, we get (-apS =1+a = S=(1ta)(1-ay? a (") Z xtat-) =1 +40 49a? + 160° + 1. =(1 4a) (1-ay? yl ‘The results (*) and (*4) are quite useful for numerical problems and should be committed to memory: Example 6-16. A man with n keys wants to open his door and tries the keys independently and at random. Find the mean and variance of the number of trials required to open the door, (i) if unsuccessful keys are not eliminated from further selection, and (ii) if they are. Solution. (i) Suppose the man gets the first success at #th trial, ie., he is unable to the door in the first (x ~ 1) trials. If unsuccessful keys are not eliminated then X is a random variable which can take the values 1, 2,3,... Oe eE—-tt—te 6-19 MATHEMATICAL EXPECTATION 1 Probability of success at the first trial = hn 1 " If unsuccessful keys are not eliminated then the probability of success and consequently of failure is constant for each trial. Probability of failure at the first trial = 1 ~ Hence p(x) = Probability of 1st success at the x th trial = (1 = Thus = x-1 1 E(x)= L xpQ) y x(1- 3) tel EY var where A=1- 1. a1 5 E(X) = 142A +342 4449+.) =L LA)? [See (1), Example (615)] 2 1 1 =afr-(0- ‘} : _ . x-1 E(X%)=L x.p(xye L 2 (1- 2) 7 fap Pen eh OD ar tehae 2. Age. alee Ade.) pea La+aya-ay [See (**), Example (6.15)] a{t+(- )}p-G- = enn Hence V(X) = E(X%)—(E (X)}?=(2n-1) n-n=n-n=n (1-1) (ii) If unsuccessful keys are eliminated from further selection, then the random variable X will take the values from 1 to n. In this case, we have Probability of success at the first trial =1 " Probability of success at the 2nd trial Probability of success at the 3rd trial and 0 on. Hence probability of 1st success at the 2nd tral = (1 - Probability of first success at the third trial = (1- and so on. In general, we have P (3) = Probability of first success at the xth trial =! E(X)= Zo xp@yeh DY yontt xel a EQ) = XY tpqel Feo ev enn oMs Oo ss 6-20 FUNDAMENTALS OF MATHEMATICAL STATISTICS wager) (net) Hence V(X) = E(X?)-(E(X)P = t 1 r= 1 = "Eh 2 Qn41)-3 (n+) =" Example 6-17. Ina lottery m tickets are drawn at a time out of n tickets numbered 1 to n. Find the expectation and the variance of the sum $ of the numbers in the tickets drawn. Solution. Let X; denote the score on the ith ticket drawn. Then $= X1+Xz+...+Xm = X;jis the total score on the m tickets drawn. fal E(S) = & E(X) i=l Now each X; is a random variable which assumes the values 1, 2, 3, ... ," each with equal probability 1/n. 5 E(X) = ba+2+3+..¢m)=0). roy 3 (2) Hence, isl V(S) =V (Xy + X24 0+ +Xm) = 2X V(X) +2 LY Cov (X;, X)) i=l ij ig EKA = bate eegte. may. Maen nel) GeV enet _ _(n+1)Qn+1)_(n+1)_ 1 V(x) = EKA -HE OKgR =e AnD (mgt) = ST Also Cov (X;, Xj) = E (XX) - E(X) EX) To find E (X; X)), we note that the variables X; and X; can take the values as shown below : x x, 1 23,00 2 13,0 1 12... (0-1) In other words, the variable X;Xj can take n(n-1) possible values and P(X; = 1X, =) = gqgy kth Hence 1:2 413 + cesses tee Lat F 21D +23 $c He EQX)=aqcay | * # ML + MQ FH ooosceene HM. (N-1) MATHEMATICAL EXPECTATION 6-21 1(1+2434....4n)-22] +2(14+2434 +n)-22 1 tee n(n) tn(l+2+. +n)=n? 1 = n(n) 1 [{* nen)" nines erst] ato Bn? ~ n - 2; (rs 1) mn + D@n +1) (+1) Gr —n=2) {(1+243+...m?-(12 4224. 4nd)} =n(n=) 2 1207-1) . voy yy 2 et WGrt=n=2)_(n+1)?__ (nt) © Cov (XX) = EMG sna 2_ (251). HD [ant _2-3 (nt —1)] =- OD _¥ (ma [+1] _m(?-1) -1f- Hence V(S) = x ( TZ )+2 BE {- 12 J. 2 +[Link] {=n}, [Since there are "C; covariance terms in Cov (X; X))] Vis) = MED [—1)-(m-n] = Mer e=m, Example 6-18. A die is thrown (n + 2) times. After each throw a ‘+ is recorded for 4, 5, or 6 and ‘~’ for 1, 2 or 3, the signs forming an ordered sequence. To each, except the first and the last sign, is attached a characteristic random variable which takes the value 1 if both the neighbouring signs differ from the one between them and 0 otherwise. If Xr, Xz, .... Xy are characteristic random variables, find the mean and variance of X = © X, iat f f Solution. x= lx = EwH= LEX) .Ai) ia a Now —_ E(X)) = LP (X;=1) +0.P (X= 0) = P(X)=1) i) For X,=1, there are the following two mutually exclusive possibilities : @- + 4 j@) + - + and since the probability of each sign is, we have by addition probability theorem: 2 ays - p(x=1) =P +P 4) +(3) = 5 ii) E(x) = 1 [From(iy), — Hence E(X)= X(3) oh [From ()] fal V(X) =V(X1+ X24... + Xn) = Lv(Xp+2 zy x Cov (X, XC) ml jet je Now = E(X?)_ = 12.P (X;=1)+ 0%. P(X)=0)= [From (iti)] 1 3 V(X) =E(XA)-(E (X)P=4 ~ 16 = 16 E(X)X) = LP (X)=10Xj=1) + 0.P (X= 00%)=9) OP (X= 10X)=0)40-P (X= 00% = 1) =P(Xj=10 X=) (j=) = 6

You might also like