This content was uploaded by our users and we assume good faith they have the permission to share this book. If you own the copyright to this book and it is wrongfully on our website, we offer a simple DMCA procedure to remove your content from our site. Start by pressing the button below!
t 2 )
f
= eit1x g(x) dx
J
eit2Y p(Ylx) dy
296
EXERCISES I N PROBABILITY AN D STA T1STlCS
so that
[or ¢(t~, t 2)]
at
2
= ;r
fe
il "
g(X) Jl~(X) dx.
12 =0
Hence the stated result by using the Inversion Theorem on the fUnction g(x) Jl~(x). Wicksell, S. D. (1933), B, 25, 121. Since
22
1 2(l_p2) [x 2{1-(I- p2)itd + y2{1-(1-p2)it 2} -2pxy]
= _{l-(I- p 2)it d 2(1_p2) therefore
[xpy ]2_y2{(1-itl)(l-it2)-p2(itd(il2)} . 1-(1_p2)it. 2{1-(l_p2)it.} -,
E[exp(it lX2 /2 + it2y2/2)]
= [(1- it d(1- it2)- p2(it l)(it 2)]-i,
whence the joint characteristic function of z. and Z2' Use of the result of the preceding exercise gives 11~(Z d by noting that for N >0
and
(it dO e - il,%, dt 1 (1- it .)N/2 23
Wicksell, S. D. (1933), B, 25, 121. By the preceding evaluation of the joint characteristic function, that of n+n2
'I+nl
w. =
L
xf/20"f
and
j= •
W2
=
L
YJ/20"~
is
j= •
¢(t., t 2) = [(1-itd(l-it 2)-p2(it.)(it 2)]-n/2. (1-it.)-n,/2(1_it 2)-n,fl. Hence by a logarithmic expansion the bivariate cumulants and corr(w., \\'2)
Krs
are obtained.
= KII/(K02 K 20)i.
The conditional moments 11~(W.) are evaluated in the same way as in Ex. 22 above. 24
Wicksell, S. D. (1933), B, 25, 121. To evaluate E[exp(it.x 2+it 2y)], set u _
I 2 2(1- p)
= x/O". and v = Y/0"2' Then
[(~)2+(L)2_2P(X)(L)]+it.X2+it2Y 0". 0"2 0". 0" 2 2(
1 2 [A(u-pv/A)2+B(v-C/B)2_c 2/B], I-p )
where A == 1-2(1- p2)it.O"I; B == 1- p2/A; C == (1- p2)it 20"2'
A !':SWERS AND HINTS ON SOLUTIONS: CHAPTER
4
297
Hence
and so the joint characteristic function of WI and W2 is 4>(t l ,t 2) = (l-itd- n/ 2
exp[Wt2)2{1+;~~;JJ
.
00
= (l-it l )-n/2 ei
L (!p2),(it 2)2r(itd(1-it
(i 12J2
l
)-r/r!
r=O
Ajoint inversion now gives the distribution of WI and W 2 . The variances are obtained by the differentiation of 4>(t l , t 2 ) as in Ex. 22.
Zs Put z), 2 • 1:.+ 111), ) IS
=
~
X), -m), for (1
A.
~ n).
Then the characteristic function of
(I - 2it)-t exp[mi{it)(l- 2itj- I],
dnd that of Y is 4>(t) = (1-2it)-n/2 exp[2112(it)(I-2iW 1 J =
e _,,2 (1- 2iW n/2 exp[Jl2(1- 2iW I J
=
e-,,2
2r
00
L ;(1_2it)-
r=O
whence, on inversion, the distribution of Y. A logarithmic expansion of 4>(t) gives
E(Y)
=
n+2Jl 2 ;
var(Y)
=
211 + 8Jl2.
26 Bartlett, M. S. (1938), JLMS, 13, 62. Let f(x, y) be the joint density function of X and Y, so that
=
f(x, y)
g(xly) h(y)
in terms of the conditional density of X and the marginal density of Y. Then, x,
f
ljJ(t Ily) =
e it1x g(xIY) dx,
-00
and 00
4>(t" t 2)
=
f
ljJ(tlly) h(y) e- it2Y dy.
-00
Therefore, by the Inversion Theorem,
f 00
ljJ(tlIY) h(y)
=
21n:-
e- il2Y 4>(t l , t 2) dt2
-oc,
Jnd
f 00
h(y)
=
2~
-00
,hence the result.
e- it2 ), 4>(0, t 2 ) dt 2 ,
298
EXERCISES IN PROBABILITY AND STATISTICS
27 Kenney, J. F. (1939), AMS, 10, 70.
Since E(e ilX ) = cp(t), therefore the joint characteristic function of Y a Z is nd I/I(t1>t 2 ) = E(eillY+ilZZ) = [CP(tl +t2)]V[cp(td]nl-V[cp(t2)]nz-v.
Further, if h(z) is the marginal density function of Z, then by using the Inv . Theorem, er· SlOn
f e-ilZ'[~. ~I/I] 00
E(Ylz) h(z)
1 = -2 1t
I
ut 1
11:
0
dt 2,
-00
and
.,
E(y2Iz) h(z)
J
= 21 1t
e- i1z '
-00
[~. ~2fJ I uti
dt 2· 11=0
These equations lead to E(Ylz) and var(Ylz), noting that E(X') = [;,.
o'CP~d] ott
I
1,=0
and
f i1z' 00
[cp(t 2)]n
=
e
h(z) dz.
-00
The correlation between Y and Z is obtained from the linear regression equations expressing E(Ylz) and E(Zly). 28
The joint characteristic function of u and v is CP(tl, t 2)
= E[exp(it 1 u+it 2v)] = (1-2it 1 )-nI 2 exp[ -At~/2(1-2itl)], n
where
A
=I
ai.
'<=1
Hence, using Ex. 26 above, the conditional characteristic function or given v = 0 is I/I(tllv = 8) = (1-2it 1)-(n-lI/2. =
ell-
exp[~: {1-(1-2it d}]
f (-(j2Y(1_2it r!
l r(n+2,-l l1 2,
,=0 whence the result on inversion. 29
Bartlett, M. S. (1938), JLMS, 13,62. E(e ilX )
= (1 + t 2) -1.
Therefore the joint characteristic function of u and v is
CP(tl, t 2)
= E[exp(it l u+it2V)] = E[exp i(tl +t2 )xtl. E[exp i(t l -t 2 )X2] =
[1+(tt+t 2)2]-l[I+(tl-t 2)2r 1.
Hence evaluate cp(t dv) by Ex. 26 above.
1/
ANSWERS AND HINTS ON SOLUTIONS: CHAPTER
4
299
for v > 0, evaluate the integral 00
f
eit2V cf>(t 1, t 2) dt2
-00
by using a semicircular contour in the upper half of the complex plane.
fherelevant poles are at t2 = i±t1. Hence the numerator in cf>(t1Iv) is ne - v [t 1 cos vt 1 + sin vt 1 ] t 1(1 +tn
2'
.
The denominator is ne- v(1+r)/2. obtained as the limit for t 1 --+O of the numerator. 30 Bartlett, M. S. (1938), JLMS, 13,62. Use the result of Ex. 26 above.
f
00
Je- it2Y
00
cf>(t1' t 2) dt2
=
-00
J
exp{ -it 2Y+K(t 1, t2)}' dt2
-00
00
eoP[it,,-(oloy)). exp[ - it 2y -!(K20t i + 2K 11t 1t2 + K02t~)] . dt2
-00 00
=
f
eoP[it!. -(016y)) . e-tK2ott
exp['t 1( K02 t 2 - I 2Y -2 2 + 2K11 t 1 t 2 )] • dt 2
-00
whence cf>(t 1IY)· 31 The characteristic function of the sample mean
[eit;;/:
x is
I]",
and so by the Inversion Theorem the probability density function of x is f(x)
= -
1
Joo
2n
itl e- itx [e- ."-1till
1]" dt.
-00
The integrand is analytic everywhere. and so the path of integration may be changed to the contour r consisting of the real axis from - 00 to - p, the small semicircle of radius p and centre origin, and the real axis from p to 00. Thus itl f(x) = -1 e- itx - .dt 2n 1till
f
[e "_I]"
r
=
.(11) . feit[(jf,,'-X) dt.
(-1)". " (-1)) j
2n
j~O
(i/Il)"
r
t"
300
EXERCISES IN PROBABILITY AND STATISTICS
But ei~Z
f -Z"
dz
= 0, for 0( > 0,
r
2nO("-1 - i" . (II _ 1)!,
for 0( <
o.
Hence the value of I(x). 32 00
E(e itX )
= 2~
f
f 00
eitx-Ixl/a dx
=~
e -xla . cos xt dx
0
-00
= 1-(12t 2 . E(e itX ). Hence the characteristic function of x is (1 + (12 t2/11 2)-II. Therefore the prob. bility density function of x is ,t·
-00
-00
The integral is evaluated by using a semicircular contour with a pole Ilf order II at t = in/(1, whence the distribution of x. Direct integration gives
f 00
g(x) dx
=
-00
II - 1 (II +,. - 1) 1 L -1 2"+r-1 r=O II II-I (1 +O()"+r-I r~o -2-
= coefficient of 0("- I in
1+0()"-1 211-1 (211-1) ] 2 [(- O(r/2 211 - 1 2 r=O 1
L
= coefficient of 0("-1 in
1 = 2 [1- .,211I· -
LI
II -
r=O
(211 - 1)]
.
.
L rl JJ
5=0
' whence the result.
I
33
Kullback, S. (1934), AMS, 5, 264. The characteristic function of u is aitllO + it)-II, and the probability density function of u is
f
~
h
_ 1 I(u) - 2n
exp( - itu + itll log a) dt __1_ (l + it)" - 2ni"
f
eitA dt , (t - i)"
-00
-00
where A. == II log a - u ~ O. The integral is evaluated by using a semicircular contour. whence The distributions of g and 2n log(a/g) follow by transformation. 34
E(eitIXI) =
(l-(1it)- I, so that the characteristic function of v is (1-(1it/n)-1I
whence the result.
= {1-2it(:n)} -n,
ANSWERS AND HINTS ON SOLUTIONS: CHAPTER
~ ECeiIX) I. . Hence
=
(1
4
301
+ (2)- I.
[exp i(t I U + 12 V)] = E[exp i{(t 1+ t 2)X + (t 1- t 2)Y}] = [I +(tl +t 2)2r 1[1 +(tI-t 2)2r I. rherefore the characteristic function of u and (Wl>t 2 )
= [1+(tl:t2rrn
v is
[1+el:~2rrn.
rhUS the characteristic functions (W 1> 0) and cP(O, t 2) of u and v are of the ..Jdle form, but cP(t I> t 2 ) 1= cP(t I> 0) cP(O, t 2 )· Expansion of 10gcP(tl> t 2 ) shows that the coefficient oftlt2 is zero. The probability density function of u is
-00
-00
rhe integral is evaluated by using a semicircular contour. Hence _
ne- n1iil
2n-1 (2n+r-1)!
g(lI) = (2 II _1)1' .
L
r = ()
-1(" _'_1)1' , • _II 1 .
[nluWn-r-1 _ ,)2n+r • (-r:o
J6 Kullback, S. (1934), AMS, 5, 264. E(eitIOgX)
= r(p+it)jr(p).
Therefore the probability density function of u is 00
g(u)
=
-1 2n
f e -,'U. [rIp + it)/r(p)]n dt
-00
ePU f-p+ioo = 2ni[np)]n' eUz [n _·z)]n dz. -p-i'X)
But nz)r(1-:) = nisin nz, so that
f
- p+ ioo
e PU( -nl" 1 g(u) = .[r(p)]n 2ni
eUz dz .' {n1 + z)}" smn nz
-p~ioo
Evaluate the iptegral using the contour Iz/ = m+t, m a positive integer, and the line x = - p. The poles of the integrand are at z = r with residue
[d
n- I ] n-n( _1)nr eUZ (n -1) ! dzn- I . {n1 + z)}"
z=r •
Hence
ePU 00 (_1)nr+n+ 1 [d n- I eUz ] I n g(u) = [r(p)]n' r~o (n-1)! dz - ' {n1 +zW z=; Whence the distribution of v.
302 37
EXERCISES I N PROBABILITY AND ST A TISTI CS
Let
'IY r(Z+~)I/lIt-"Z(21t)(n-Il/2nIlZ). V
R(z) =
,=0
II
Then R(z) = R(z + I) so that R(z) = !~~) R(z). But for large z, Stirling's formula gives r(z+1) = (21tZ)t(;r+ O(Z-I). Hence log R(z + 1) = O(Z-I) so that lim log R(z+ 1) = O. • -+ 00
The duplication formula is obtained for 38
II =
2.
Kullback, S. (1934), AMS, 5, 264. Since E(eil)ogXj) = nPj+itvnPj), the probability density function of 1/ is
•
i 'X
feu. Ii r(pj-Z)' dz.
n 1 .~ r(pj) 2m -ioo
fl
j=1
j= 1
The integral is evaluated by using the contour Izl = m+t, where m is an integer. and the imaginary axis. For fixed j, the poles of r(pj-z) are at z = Pj+r ror r = 0,1,2, .... The residue at z = Pj+r is (-1)'+ 1 e U('+ Pj) nr+ 1) . IJj r(Pk-pj-r).
1
Hence g(u)
=
n
00
·.L L fl r(pj) )= 1 ,=0
(_1)'+2 eu(r+Pj) r('+ 1)
n
I
.
fl. r(Pk- pj-r), k'¢)
j= 1
whence the distribution of v = eu/n• 39
Kullback, S. (1934), AMS, 5,264. Since Pj = p+(j-I)/n, by Ex. 37 above n
fl
r(pj) = nt -np(21t)(n-ll/2nllp).
j= 1
Therefore the characteristic function of u is n -nilnnp + nit)/nnp),
and the probability density function of u is
()- f
~ g u - 21t
00
e
-ilu n-nilnllp+nit) d . nnp) . t
-00
-np+ioo
=
1 - (-)'-2' nr np m eUPn"P
f (n eu/nyn-z)dz.
-np-ir
ANSWERS AND HINTS ON SOLUTIONS: CHAPTER
4
303
fb e integral is of the type -a+ ico
I ==
~. Jwz f'( -z) dz. 2m -a-ioo
"/0 and w real, which is evaluated by using the contour Izl = m+t, m a ~sitive integer, and the line x = -a. The residue at the pole z = r is 1~\V)'/1tnr+ 1), so that I = e- W • Hence the distribution of v = e"/n is 1 - - . e-m'(nv)nP-'n du,
(0 ~ v < 00).
r(np)
If
Xl'
X2" .. , Xn are random observations from a n
parameter p, then
I
has the
Xj
r
r
distribution with
distribution with parameter np. Hence the
j= ,
distribution of the sample mean i. ~O
Fisher, R. A. (1929), PLMS, 30,199, and UL (1964). .
E(e" x )
(it)'
7J
=
1+
I 2 Ilr'-" r.
r=
"I
that the cumulant-generating function of i is
I [1 + ~ Ilrn
n og
L...
r'
r=2
(it)'] ,
r.
.
By expansion
-) = -11-2 "2 (X
n
an d
Again, n
(n-l)s2 =
I
xJ-ni 2, so that E[(n-l}s2] = (n-1)11-2'
j= 1
Also, n
(n - 1)2s4 -_ "L... X4j + j= 1
"L...
X2X2 j k-
j*k
so that _ (n-l)2 (n-l)(n2-2n+3) 2 E[(n- 1)24] s - ---·11-4+ ·11-2'
n
n
41 Lukacs, E. (1942), AMS, 13,91. If cf>, (t ,) is the characteristic function of i, then 4> 1 (t d == 4>(t h 0) == [I/!(t dn)]n ;
and. hy definition. 4> 2(t 2) == 4>(0. t 2).
whence var(s2).
304
EXERCISES IN PROBABILITY AND STATISTICS
The independence of x and S2 means that (p(t I' t 2) == ¢I(t .)¢2(t 2) Or
But
a¢ = I.
-? t2
f
S2
. S .exp (.1t 1X+1t 2 2). TIn f( X,. ) dXv>
,.= 1
f(x) being the density function of X. Therefore
[ata¢]
= i["'(ttfn))"-1 feiIOC/n.x2f(X)dX-
2 12=0
_;["'(t.ln)]n-2 [feiIIXln.Xf(X)dxr Hence the differential equation by putting ttfn = t. The solution
follows since ",(0) = 1 and ""(0) = ill.
42 Williams, J. D. (1941), AMS, 12, 239, and McGregor, J. R. (1960), B,47, 111. The variables Yj = (xj-m)/a are unit normal, and n-l
A
=!
L (Yj-Yj+l)2; j= 1
n
B
=!
L(yj-ji)2. j= 1
Therefore
But n
-!
L YJ+tlA+t2B j= 1
where a == 1-tl -[(n-1)/n]t2; b == tl -t2/n; c == 1-2tl -[(n-1}/n]t 2; d == /2/11 so that a+b+(n-2)d = 1: 2b+c+(n-3)d = 1. M n has the leading diagonal (a, c, c, . .. c, a), bordered by diagonals whose c\.cments are all h's, and the remaining elements are d's. Row operations gIve Mn = t~-1 Lln' where Lln is the nth-order determinant:
ANSWERS AND HINTS ON SOLUTIONS: CHAPTER
1 1
1
1 1 1
()
1 0
0 0 0
1
()
1
0 0 0
0 0
1
()
0 0 0
0 0 0
0
1
0
.......
0 0 0 0
()
4
305
1
1 1 (0+ 1) ,
.here 8 == (c-d)/(b-d); ()+ 1 == (a-d)/(b-d). Let D.-l denote the (n -1)th-order determinant obtained from An by xcluding the first row and column of An. Also, let C j denote the jth-order ~elerminant formed by the first j rows and columns of Dn _ 1, U < n - 1). Then Mn=t~-l(Dn_l-An_l)' C 1 =(}, C 2 =(}2-1, and for j>2 II
(.::: (}C j - 1 -C j J
2•
Hence
BUI
and /).n = Dn- 1 -An Therefore
1•
Assuming that An = AIZn+A2Z-n, the constants Al = - z/(1- Z2); A2 = z/(1- Z2). Hence An = An- 2 +S n- 1 , where S. == z'+z-', whence
Mn = t~Mn_2+~-lSn_l' Bul z, Z -
1
are the roots of Z2 - (}z + 1 = O. Therefore Sn-(}Sn-l +Sn-2 = 0,
and the difference equation for Mn follows. j
To obtain the expression for mj' put t2 =
f 00
= [ 0i>(t 1;t 2)] ot 1 1,=0
A j e/2B •
-00
L
,= 1
t,
in
fIk=l -1-.e-tY~dYk' fo
and integrate for ( - ex) < t. ~ 0). Also, for the given form of >(t 1> t 2)
[ oj>(t~,t2)] ot 1
= [dj>(tt O)] I, =0
dtl
. (1_t 2 )-tln + 2 j-l). I,
=0
306
EXERCISES [I>< PROBABILITY A;,\;[) STATISTIC'S
43 Cochran, W. G. (1937), JRSS, 100,69. Let uj = xj-x and Vj = Yj- y. Then E(uj) = E(vj) = 0; var(u) = var(vj ) = (n -1)/n; and corr(u j , Vj) = p.
Also, since uj and Vj have a joint bivariate normal distribution, P(u j > 0, Vj > 0)
=
P(uj < 0, Vj < 0)
=
!+(1/2n) sin-I p
by Sheppard's medial dichotomy theorem. Hence E(C) = t+(1/n)sin- 1 p and var(Cj ) = !-[(1/n) sin-l p]2. Note that, by symmetry, P(1I 1
> 0,
VI
> 0; U2 > 0, V2 > 0) = P(UI < 0,
VI
< 0; U2 < 0, v2 < 0).
To obtain P(UI > 0, VI > 0; U 2 < 0, V2 < 0), change the sign of t3 and I . the characteristic function. Then inversion and integration now give 4 III P(u l > 0,
VI
> 0; U2 < 0, V2 < 0)
1
1
= 4n 2[(sin- 1 p)2-{sin-1 p/(n-1W]+ 4n[sin- 1 p-sin- l p/(n-l)]+conslalll = P(u l < 0, VI < 0; u2 > 0, V2 > 0), by symmetry.
Hence cov(C I, C 2 ) = constant - [(lIn) sin -I p/(n -1)F whence var(C), the constant being evaluated since var(C) = for p = 1. For large n,
°
var( C) - :n [1 -
(~ sin - I P ) 2].
which gives the large-sample efficiency of p*. 44 Bartlett, M. S. (1936), PRS, 154, 124. E[eit(X-m)]
= (1+t 2)-I, and y-m = (1-JL)(xl-m)+JL(x 2-m).
Therefore the characteristic function of (y-m) is E[ exp{ it(1- f/)(x 1- m)}] . E[exp{ itJL(X2 - m)}]
= [1 + t 2(1- JL)2] - I [1 + t 2p2]- I 1
= 1-2JL
[
(1- JL)2 1+t2(1-JL)2
JL2] 1+t2JL2'
But (1 + t 2 a 2 )-1 is the characteristic function of the distribution 1 - e- 1zl /C1 dz 2a' ,
( - 00
<
Z
< (0).
Hence the distribution of (y - m) is 1
2(1- 2JL)
[(1- JL) exp{ -ly-ml/(l- JL)} - JL exp{ -ly-mI/JL}] d(y-m). ( - 00
< y < (0).
Al"SWERS AND HINTS ON SOLUTIONS: CHAPTER
4
307
fherefore the logarithm of the likelihood is log L = constant + log[(l- JI) exp{ -ly- ml/(1- JI)} - JI exp{ -1.1'-1111//1]]. ,0
that
1
[1
L
] ,,_ . -+y~ 2 +(y_l)2 00 y' foo exp-[{(r+2){3-(r+l)lX}z].dz, (1- 2JL)(I- JL) IX P r= 0 o
IP> IX). whence the result.
SUPPLEMENT TO THEORETICAL EXERCISES IN PROBABILITY AND STATISTICS
Supplement Finite differences and summation of series Sum the following series by the method of differences: (i)
t
L
r(r + 4)(s - l)(s + 2)
r= 1 s
(ii)
L" L r(r + 3)s(s -1) r=1 s=S;;r n-l
(iii)
L L r(r+2)(r+4)s(s-1)(s+2)
r= 1 s=S;;r
(iv)
t
L (r+1)(r+2)(r+4)s(s-1)(s-3)
r= 1 s=5;;r n+l
(v)
L L (r+2)(r+6)(s-2)(s-4).
r=1
s
Sum the following series by suitable methods: (i)
L" (r -
1)2(r - 2)2(r + 3)
r=1
(ij)
L" r. 2'/(r + l)(r + 2) r= I
(iii)
L'" (r 2+3r-6)/r! r=l
(iv)
L'" (r3+S r2+6)x
r•
r=O
Sum the following finite binomial series: (i)
'f (r+n 1)r(r + 2)x
r
r=O
(")
" r r(r -l)(r + 3)x r • (ii) r~ Given that the rth term of the series
3,4,7,14,27,48,79, ... is a polynomial in r, find the general expression for the rth term. Hence derive a particular value for this term and sum the series to It terms by using Ihis value. 311
312 5
EXERCISES IN PROBABILITY AND STATISTICS
By using Euler's method of summation, sum the following series' 9 25 9 r2 (i) 1+2+-+2+-+-+" .+-+... 4 16 8 2,-1 '
and
00 1 27 125 27 r3 (11) -+1+-+2+-+-+" .+-+ ....
4
16
64
16
6. For a series of terms Uh Wise, that (i)
U I1 +1
= (1 + A)"Uh
(ii) AlI1 u I =
2'+1
U2, U3, ••• , UI1 ,
•••
prove by induction, Or other. .
and
I (-1y(I1l)U r
,=0
II1
+ 1 _"
~her.e, in standard difference notation, A111 +1 U, = AII1 (U,+1 - u,), for all posi.
tIve mtegral values of 111. Also, by considering the differences of the series
where U,
= A-1u,+1 - A-1u"
show that 11 U,=A-l[(1+A)I1_1]Ul='~1 11 (") (iii) '~1 r A'-IU I · 7
A function f(x) is tabulated for a sequence of values x, x + h, x + 2h, ... , x + rh,
If it is known that A2f(x) = 0 + {3x, where
(r;;;. 3).
and (3 are constants, prove that
0
f(x) = ao+ alx + a2x2+ a3 x3
where ao and al are arbitrary constants, but a2 = (0 - {3h)/2h 2 and
a3 = (3/6h 2.
8 For a function f(x) tabulated at the points x, x + h, x + 2h, ... , define the finite difference operation A'f(x) for positive integral values of r. Hence prove that
(.) A2tan-1 x=tan-1[
-2h 2(x+h) ] {(x+hf+1}2_h 2{(x+h)2_1}
I
(ii) [A2 +2(1-cosh)(1+A)]sinx=O, and ( 00') [All -1 III A- 1
]A/3
X
= [(A/3h -1)11 -1 A/3 h - 2
where A and {3 are constants and 9
It
]A/3
X
'
is a positive integer.
If A is the standard finite difference operator with the argument interval
SUPPLEMENT
:: (7 0)
313
operating on the function f(x), define arf(x),
for
r?3l,
lIenee prove that, for h sufficiently small so that terms involving h 3 are ·legligible, (i) a2 10g(1+x)=-h 2 /(1+xf (ii) [a2 + h 2 (1 + a)] cos x = 0, and (iii) a2ex2 = ex2 • 2h 2(1 + 2x 2). (0 (i)
If u" the rth term of a series, is such that Ur == fer) - fer + 1), prove that the sum of the first 11 terms of the series is
f(l) - f(1l + 1).
Use this result to find the sum to 11 terms of the series for which 1 (r ?31). (3r - 2)(3r + 1)(3r + 4) Hence deduce that the sum to infinity of the series is
214.
(ii) Suppose Ur == arx r are such that
a r + aa r_\ + {3a r-2 = 0,
for r?3 2
and a, {3 are constants. If S denotes the sum of the series uo, Ul> U2, ... , then by considering the product (1 + ax + {3x2)S prove that S=ao+(a\+aao)x 1 +ax+ (3x 2 Hence, as a particular case, determine the sum to infinity of the series 1-8x +28x 2-80x 3+ . .. , and indicate the range of x for which the summation is valid.
°
11 (i) For a> and Il small such that terms involving show that a root of the equation is a (1-!1l log ex). (ij) Prove that for any r>
11 2
are negligible,
°
1 r(r+2)
2r+l 2r+3 2r(r+ 1) 2(r+ 1)(r+2) .
By using this identity, or otherwise, find the sum to Il terms of a series whose rth term is 1/r(r+2). What is the limiting sum as Il ~ oo? (iii) For any two numbers a and b such that a > b > and a - b is small compared with a, prove that the value of the function
°
g(a, b) = a;::2
-log(~)
lies between (a-b)3/6a 3 and (a-b)3(3a-2b)/6a 3b.
314
EXERCISES IN PROBABILITY AND STATISTICS
12 (i) If f(r)
= X-I /
(x: r) where
is any positive integer, prove that
X
f(r-1)-f(r)=r- 1 /(x:r),
for r;;;'1.
Hence show that
so that, as n ~ 00, the sum of the series tends to X-I. (ii) If X is a sufficiently large number such that terms involving · 'ble, prove t h at negI19l (
(iii) If
Ixl < 1 and
X
x-4 , tlrt'
-I)! = 1-~+ 1 1 1 2x 2 - 2x3'
x+1
the rth term of an infinite series is
(-xY Ur =
prove that
r(r+ 1)
for r;;;.l,
L u =l- (1_+_x) 10g(1+x). 00
r
X
r=1
13 (i) If the rth term (r ;;;'1) of an infinite series is 1 +2+2 2 +, .. +2 r - 1 U = r (r+ I)! prove that 00
LU
r
=!(e-1f.
r=1
(ii) Prove that for any positive integer
"f (r-1n ) (3r
r
r=1
)
n;;;'
=
1
4"+1-1. n+1
(iii) If x is sufficiently large for terms involving x- 4 to be negligihk. prove that 2 1 1 (x + X)2 [Iog(x + 1) -log x] = 1- 24x2 + 24x 3 . 1
(iv) If x is sufficiently small for terms involving that
XS
to be negligible, prow
14 (i) The function f(r) = 1/(1 + r+ r2) is defined for all non-negative val· ues of r. Prove that f(r-1)-f(r)=1
2r 2 4' +r +r
forr;;;'1.
315
SUPPLEMENT
Hence show that for any positive integer S ==
i r=
"
2,. 1
11
11(11
1 + ,.2 + 1'4
+ 1)
n 2 + 11 + 1 '
so that lim S"
=
1.
.. +--GO
(ii) If
Ixl
~1
=
X
-
1 (1- x)( 1 - 2x) .
(iii) If 0 is a small number such that 03 and higher powers of 0 are negligible, prove that an approximate value of the positive root of the equation eX +x = 1+0
is
x = to(I-iO).
IS (i) If the rth (1';;;0 0) term of an infinite series is Ur =
41'3+211'2+30,.+ 11 (r+3)!
prove that '"
L U = 4(e-l). r
r=O
Hence show that if a discrete random variable X has the probability distribution with point-probabilities proportional to u" then
P(X;;;o2) = 48e-l03. 48(e-l) (ii) If a and (3 (a;;;o (3) are any two positive integers, prove that
at k=O
(a-k)= (a+l). (3 (3 + 1
(iii) If n is a positive integer and
Ixl < 1, prove that the coefficient of xr (n+~-l).
in the expansion of (1-x)-" is
t k=O
k
(a + -1)((3 +a k
a
Hence show that
=k -1) (2a + (3-1), =
k
a
where a and (3 are any two given positive integers.
16 (i) If a is a positive constant and
"
r~o (-1)'
11
a positive integer, prove that
(n) (1+ra)/(1+na)'=O. I'
(ii) If u" the rth term (1';;;01) of a series, is
16
316
EXERCISES IN PROBABILITY AND STATISTICS
evaluate the sum of the first /l terms of the series, and hence . that the sum to infinity is unity venfy (iii) Given that f(r)==or 2(,.-1)2(2r-1)(r 2 -r-1), prove that r6 = tr2 + 1[f(r + 1) - fer)].
Hence show that for any non-negative integer r II
L r6 = /l(/1 + 1)(211 + 1)(3/1 4 + 6/1 3 -
311 + 1)/42.
r=1
17 (i) For any two positive integers 11 and s (s < /1), prove that L (r+s)(s+J) = -1- (11 +s+ 1)(s+2). r=\ s+2 II
Hence, if Sr denotes the sum of the first r natural numbers, that
ShOll'
II
L SrSII-r = l~o(11 + 3)(5), r=\
in standard factorial notation, 11 (;;.1) being an integer. (ii) Prove that for any non-negative integer 11 II (11)/ L (r+2)= 11 . 211+1 + 1 . r=O r (11 + 1)(11 + 2)
18 Prove that (i) the average of the first 11 (;;.1) natural numbers is t(11 + 1); and II
(ii)
L [r-!(11+1)]2=-b11(112-1). r=1
(iii) If r is a discrete random variable which takes the values 1,2, ... , /I with probabilities 11- 1 , then by using the exact expressions for E(Jrl and var(..r;.), prove that [1- 2V(I1) ], [ t Jr]2 =11 2(11+1) 2 11(11 + 1) r=1
where "
V(I1) ==0
L (Jr-O)2
11
and
r=1
0=
L 0-/11. r=\
19 Explain clearly the difference method in the summation of finite and infinite series. (i) If U r = 3r4 (r -1)4 - 4r 3 (r -1)3 for all integral values of ,. ;;.1, prO"1.' that II
Lr
7
= -b11 2(11 + 1)2 + {4UII+\
r=\
( oo) If II
Ur =
2r+ 1
r 2( r+1 )2 '
evaluate the sum to 11 terms of the series deduce that its sum to infinity is unity.
U 1 , U2, U 3 , . . . ,
and henel.'
SUPPLEMENT
317
(iii) By using the identity
.L .L. II
XjXj
1 [(
=-2
1=1/<1
.L )2 -.L x~ II
II
Xj
1=1
]
,
1=1
prove that the sum of the products in pairs of the first n odd integers is in(n-1)(3n 2 -n-1). !O (0 Define the finite differences of a function [(x) tabulated for equispaced values of the argument x. If, for x = r, the value of [(x) is [(r) = sin«(J + rq,), where (J and q, are constants, then prove that for any non-negative integer n L1"[(r) = (2 sin(q,/2))" . sin[(J +!n('1T + q,) + r
Uo, Uh U2, .•• , are the successive values of a function corresponding to those of an integral variable r ~ 0, then prove that for any non-negative integer n,
L1"uo=
~ r=O
(n)(-l)"-rUr. r
Hence, or otherwise, show that if ur =(-lY/(r+1), then Llluo=(-1)1(2"+ 1 -1)/(n + 1).
(iii) Find the sum to n terms of the series whose rth term is
ur =(r2 +r-1)/(r+2)!, for r~1.
Also, verify that the sum to infinity of the series is
!.
ProbabDity and statistical theory 11 At a university in Ruritania the probability of a first-year student passing the June examination is t and that of receiving a res it in the following September :&. The probability that a resit student will pass the September examination is~. Prove that the probability of a first-year student ~ntering the second year at the university is ~. If the probability of a second-year student ultimately getting a degree is ;~, determine the initial probability of a student receiving a degree at the end of three years. Hence evaluate the probability that of n randomly selected first-year entrants to the university (i) exactly k students will receive a degree; (ii) at least k students will receive a degree; and (iii) at least k students will not receive a degree, for O::s:; k ::s:; n. 11 At a game of poker, a player is dealt out a hand of five cards from a Itandard pack of 52 cards. Find the probability that the player has (i) a flush, that is, all cards of the same suit; (ii) at least one spade; (iii) at least one spade, but not a flush; and (iv) a flush, but not of spades.
318
EXERCISES IN PROBABILITY AND STATISTICS
Hence determine the probability that the player has (v) a flush when it is known that he has at least one spade' and (vi) a flush of spades when it is known that he has a flush. '
23 An electrician buys a box containing N fuses of which a number '
1)]':
and (b) the conditional probability that a second sample of v fuses from till' N - v remaining ones is wholly good is
r~l
(;)
(~ ~~v) / (~
1_(N:n)/(~ 24 A bag contains 6n (n;:. 1) identical tickets which are numbered serially from 0 to 6n -1; and an experiment consists of drawing a ticket randoml\' from the bag and noting its number, This experiment is repeated three timc~, the drawings on the second and third occasions being made after tl1l" previously drawn ticket had been replaced in the bag, If S denotes the slim of the numbers on the three tickets drawn, prove that d ( ') P(S=6 )=(3n+2)(6n-l) , 1 n 216n 3 ,an
(ii) E(S) =~(6n -1). Also, show that if the sampling is without replacement of the drawn, then 3n P(S = 6n) = (6n -1)(6n -2)
tickct~
25 An urn contains m + n balls which are identical apart from their colour: m of them are black and the rest white. A ball is drawn at random froIll the urn and its colour observed. The ball is then returned to the urn and. in addition, r balls of the colour drawn are added to the urn. A ball is 11011 drawn at random from the urn. Find the probability that (i) both balls drawn are white; (ii) both balls drawn are black; (iii) one ball drawn is black and the other white, irrespective of the ortle' in which they are drawn;
SUPPLEMENT
319 (iv) the second ball draw.n is whit~; ~n? (v) the first ball drawn IS black, If It IS known that the second ball is white. I\lso determine the expectation of the number of white balls drawn in Ihe tWO trials. '6 An urn contains 2N balls which are identical except for their colour, : If the balls being white and the rest black. If r «N) randomly selected
:ans from the urn are all found to be of the same colour, determine the ~obability that the colour of the balls drawn is white. r In another experiment k «N - r) black balls are first removed from the ~rn, and then, from the remaining 2N - k balls, r balls are selected ranJomly. If these selected balls are known to be of the same colour, show that Ihe probability that the colour of the balls drawn is white is 1 p = 1 +(N-rYk)/N(k)'
If N is large compared with rand k, so that the terms involving N- 2 are negligible, prove that approximately p=
~ [ 1 + 2k~ J.
17 In "The Final Problem", a short story by Sir Arthur Conan Doyle, Sherlock Holmes is pursued by his old enemy Professor Moriarty with murder in mind. It is understood that if Moriarty catches Holmes then the latter must die. Holmes takes a train at London bound for Dover from where he can escape to the continent. Moriarty charters a train and follows dose behind. There is only one stop before Dover-Canterbury. If both Holmes and Moriarty choose to alight at the same station, then Holmes meets his end. Secondly, if Holmes chooses Dover and Moriarty Canterbury, then Holmes makes good his escape. Lastly, if Holmes gets off at Canterbury and Moriarty goes to Dover, then the pursuit is a draw since Holmes, though temporarily safe, is still within the reach of Moriarty. If the independent probabilities of Holmes and Moriarty getting off at Canterbury are x and y respectively, determine the probabilities of the three distinct outcomes of the pursuit. If the probability of Holmes meeting his death in the encounter is a (>0), and this is also the probability of his escape, then prove that y2-3ay+a =0. Hence deduce that in this particular case a must satisfy the inequality 28 (i) A standard pack of playing cards consists of four colour suits, each suit having 13 distinct cards. The 13 cards of a suit include four court cards-an ace, a king, a queen and a jack. From the pack, a hand of 13 cards is dealt out randomly to a player. Find Per), the probability that the hand contains exactly r court cards, 0:;:; r:;:; 13. Hence show that, for r ;;'1, per) satisfies the difference equation P( )_(17-r)(14-r)p(
r -
r(23+r)
P(O) = 36(13)/52(13\
).
r-1,
and
in standard factorial notation.
320
EXERCISES IN PROBABILITY AND STATISTICS
(ii) Two players A and B playa game of chance as follows. From the pack of 52 cards, 13 cards are dealt out to A and then another 13 cards to B, the player having more court cards being the Winner f the game. The game ends in a draw if both A and B have no COU~t cards or the same number of them. Prove that the probability fo the game to be drawn is r
t (16)(16-k)( 36 )(23+k)/(52)(39) k k 13-k 13-k 13 13'
k=O
Also, in particular, if it is known that A has all court cards, then show that the probability of B having no court cards is ~ approximately. Verify that the percentage error in this approximation is;'!7·
29 In a game of chance, a player repeatedly rolls k (> 1) unbiased cubical dice till at least one six shows up. If the event "at least one six" OCcurs on the rth throw of the dice, the player wins £2 1- kr (r;;;:.l). Prove that the probability of the player winning on the rth throw is (~)k(r-l)[l-(~)kJ.
Hence deduce that his expected reward is l-(~)k
£ 2k -
1
[1-(&YJ'
so that, on the average, the player can never be on the winning side if the non-returnable stake to play the game is £2 1- k • Also, show that the expected reward is a decreasing function of k.
30 An urn contains n (> 3) balls, either white or black, but otherwise identical; each ball has a probability p of being white and q of being black (p + q = 1). A random sample of k «n) balls is drawn from the urn. Prove that the probability of the sample containing only one white ball is k
"-t+ (nr-11
k)prq"-r.
r=1
Furthermore, if it is known that the urn contains one black and one white ball and the remaining n - 2 balls are equally likely to be either white or black, prove that the probability of the sample of k balls containing only one white ball is ,,-k+l (11 -
k
n(I1-1)2,,-2'
r~1
k)
r(n-r) r-1 .
31 A man plays a game of chance in which, at each turn, he rolls a pair of unbiased cubical dice whose faces are numbered from 1 to 6. He continues until the first "successful" turn, a successful turn being one in which at least one of the dice shows 6. If this is his 11th turn (11 ;;;:.1), he receives a reward of £a" (a < 1). This terminates the game and the stake for playing it is 50 pence. Prove that the player's expected reward is £l1a/(36-25a). Hence deduce that, on the average, the player will be on the winning side if a> ~~. 32 In a game of poker, five cards out of a standard pack of 52 are dealt out at random to a player. There are four suits in a pack and the 13 cards in a
SUPPLEMENT
321
suit are regarded to be in an ascending order in which the ace is taken to be Ihe lowest card and also the highest. Any five cards (not necessarily of the same suit) which are in an unbroken sequence are said to form a run. I-Iowever, if the five cards in the run belong to the same suit, then the sequence is known as a running flush. Find the probability that the player has a run but not a running flush. Also, show that there is a 4 per cent increase in this probability if it is known Ihat the player has the jack of hearts. What is the explanation for this increase? 32a There are It alternatives in a multiple choice test, and the probability of an examinee knowing the right answer is p. However, if he knows the right answer, then it is not absolutely certain that he will give the correct response because of the emotional tensions of the testing situation. It may therefore be assumed that the probability of the examinee giving the correct response when he knows the right answer is 1 - a where a > 0 is small but not negligible. Alternatively, if the examinee does not know the right answer Ihen he randomly selects one of the It altet:natives. (i) Prove that the probability of the examinee knowing the right answer when he, in fact, gives the correct response is Itp(1-a)
l+[n(l-a)-l]p·
Also, determine the probability of the examinee not knowing the right answer when, in fact, he gives an incorrect response. (ii) Evaluate these probabilities on the assumption that when the examinee does not know the right answer, he knows that m < It of the alternatives are incorrect so that he makes a random choice from the remaining It - m alternatives. (iii) Find the limiting values of the probabilities in (i) and (ii) as It ~ 00, and comment on the results obtained. 33 As a financial inducement to Ruritanians for changing their habits of smoking, the government presented two separate proposals in parliament. The first proposal referred to a decrease in the excise duty on cigars and lobacco, and the second called for an increase in the duty on cigarettes. Two free votes were taken in parliament with the following results. The ratio of Ihe number of M.P.s voting for a decrease in duty on cigars and tobacco to Ihe number voting against it was one and a half times the ratio in the vote on an increase in the duty on cigarettes. Again, of those M.P.s who voted in favour of a reduction in the duty on cigars and tobacco there was a majority of 165 in favour of the increase of duty on cigarettes; and of those who voted against the decrease in duty on cigars and tobacco there was a majority of 135 in favour of an increase of duty on cigarettes. Finally, if 110 of those who voted for both government proposals had, in fact, joined those who voted against them, the number of the former would have been twice Ihat of the latter. Assuming that there were no abstentions in the votings, find (i) the total number of M.P.s attending the meeting; (ii) the numbers voting for each proposal; (iii) the numbers voting for and against both proposals; and (iv) the numbers voting for one and against the other proposal.
322
EXERCISES IN PROBABILITY AND STATISTICS
34 Each of two numbers x and y is selected randomly and independ from the integers 1, 2, 3, 4 and 5. Show by suitable enumeration tha~ntly probability that x2 + y2 is divisible by 5 is is. Further, prove that this is ~he the probability for 2X2+3y2 to be divisible by 5, and that the probab~l'sll that both x 2+ y2 and 2x 2+ 3y2 are divisible by 5 is ,Js. Illy Extend these results to the case when x and yare chosen frollJ h integers 1 to 5N, where N is any integer ~1, to show that the ab t e probabilities are independent of N and so also applicable when x and y ~\'e selected from the set of all integers. dre
35 There are k similar urns numbered from 1 to k, each containing IJJ + 1 (11 > k) balls which are identical apart from their colour. The balls in the urn are all white, but in the rth urn (1'::;; r'::;; k -1) there are m + r black 'I ; 11 - r white balls. An urn is selected randomly and two balls are drawn fl:(;l( it. If both the balls are found to be white, determine the condition~; probabilities that the kth urn was selected, on the assumption that tI;~ second drawing was made (i) after replacement of the first ball drawn; and (ii) without replacement of the first ball drawn. Explain very briefly why the conditional probability in (i) should be less than that in (ii).
kl:
36 There are six unbiased dice Dl> D 2 , • •• , D 6 , the six faces of D j beinl: numbered (i, i, i, 4,5,6) or (i, i, i, 1,2,3) according as i.::;; 3 or i > 3. If one Ilf the dice is selected randomly and rolled twice, then prove that the probahility of obtaining a double-six is -h. Further, given that a double-six has been observed, prove that thl' probability of the selected die being D6 is i. How is this probability altercd if it is known that D3 is a biased die such that, though it is equally likely 10 show a three or a number greater than three, the probability of it showing a six is twice that of obtaining a four or a five? 37 On receiving an external stimulus, a certain kind of biological particle gives rise to a progeny of r (0.::;; r'::;; n) particles with probability (~)p'q" " where p and q are positive parameters such that p + q = 1. The original particle then dies. The particles, if any, constituting the progeny act independently of each other and are subjected to another external stimulus, till' behaviour of these progeny particles being the same as that of the original particle. If Xl and X 2 are random variables denoting the number of particles in the progenies generated after the first and second stimulus respectively, prove that the joint probability-generating function of Xl and X2 is E(OflO~2) == G(Ol> O2) = [q + pOl(q + p02)/I]/I.
Hence, or otherwise, show that (i) P(X2 > 0) = 1- q/l (1 + pq/l-l)/I; (ii) E(Xl + X 2) = np(1 + np);
and
(iii) var(Xl + X 2) = I1pq[np + (1 + np f].
38 A system can be in anyone of sixteen states which may be represented as the equal cells of a square divided by lines parallel to its sides. Initially the system is equally likely to be in anyone of the states. The sixteen states are of three types conveniently denoted as A, Band C, and their distribu-
SUPPLEMENT • J1
11 0
323
is as given in the diagram below. A B B A
B C C B
B C C B
A B B A
After initial placement, the system is moved n times. At each move, the system is transferred to a neighbouring cell in any direction horizontally, "ertically or diagonally, all such moves being equally likely. \ For n;?!: 1, suppose all' {311 and 'YII respectively are the probabilities that after It moves the system is in an A-type, B-type or C-type cell. Prove that Ihese probabilities satisfy the following difference equations: a" =!{311-1 +!'YII-l
{311 = ~all_1 +~{311-1 +!'YII-l 'Y" =1all -l +~{311-1 +i'YlI-l'
Show that the solution of these difference equations is all =!-i{3",
where
10 [ 13 (-9)"] .
{3"=21 1- 90 40
Hence deduce the probabilities that after n moves the system will be in a specific A-type, B-type or C-type cell and verify that, as n ~ 00, these probabilities are in the ratio 3: 5 : 8.
39 Two players A and B contest a series of games. At each trial the probabilities of A and B winning a game are p and q respectively (pi 0, qrO), and there is a non-zero probability r for it to be drawn. It is agreed Ihat the winner of the series will be the player who is the first to win four more games than his opponent. Prove that, for pi q but irrespective of the value of r, (i) the initial probability of A winning the series is 1 1 + (q/p)4 '
and (ij) the probability of B winning the series when he is exactly 4) games behind A is
11
(0 ~ n ~
1-(p/q)4-11 1- (p/q)8
Hence deduce the values of the probabilities (i) and (ii) when a game cannot be drawn, the other conditions for the contest being unaffected.
40 A self-service store has a stock of nt + n undated one pint bottles of milk of which n are fresh and 111 a day old, and it may be assumed that these
324
EXERCISES IN PROBABILITY AND STATISTICS
are placed randomly on the service counter of the store. If a cu selects k (k < Ilt and n) bottles of milk, find the probability that she ~O~lcr fresh milk bottles. as
In
f (v) (In n+~ -:-k k)j(1lt n+ n), n-v-k>O, r
r=O
r
and that she gets no fresh milk is
f (v) (111 + nn~ v- k)j (111 +
r=O
r
r
11).
11
Hence, or otherwise, prove that the conditional probability that the secor I customer obtains k bottles of fresh milk when it is known that at least one :'r her bottles is fresh is I
f
r=O
(v)(I11+~-:-k)j[(m+n)_
nr k
r
n
f
r=O
(v)(m+n~v-k)]. r
nr
41 In a game of chance, a player can score one, two or three points at " trial with constant probabilities q, pq and p2 respectively, where p + q = 1. in repeated trials of the game, Un denotes the probability that the player< total score will be n points at some stage, then show that Un satisfies a third-order linear difference equation with the initial conditions Uo = 1 and Ul = U2 = q. Hence deduce that
Ii
1 [1+(-P)n+l{~Sinn71'/3-(1+P)COSn71'/3}], for 11;;;:0, (1+p+p2) ,,3 42 A finite population consists of the N integers 1,2,3, ... ,N, where N is unknown. A random sample of n integers is taken from this population without replacement, and it is observed that x is the largest integer in the sample. If X is the random variable denoting the largest integer in samples of n obtained from the population, then prove that the probability distrihution of X is given by the set of equations Un
=
P(X=x)= e=~)j(~,
for
n~X~N.
Use this probability distribution to show that for any integer r the rth factorial moment is E[(X + r-1)
Hence verify tliat
(n+r).N. T=(n+1)X 1 n
is an unbiased estimate of N, and that
1)(N -n) n(n+2) .
( ) _ (N +
var T -
SUPPLEMENT
325
[Note: It may be assumed that
f
x="
(X+k)= (N+k+1) l1+k l1+k+1'
ror all integer values of k ~ -1.] 43 A common method of making a saving for the future is by means of periodic payments, usua!ly at equispaced intervals of time. These payments accumulate compound Interest at a fixed rate, and the whole amount is payable after a stipulated number of years. An investor makes an initial payment of £R, and ag.r~es to pay every subsequent year increasing amounts R,2R, 3R, .... In addItIon to these payments, the investor has probabilities pand 1 - p of contributing £2R or £R towards the annuity at the beginning of each year after the first. Prove that the expected amount accumulated after 11 years is
R
SIt =2 [{I +(1 + p)p}{(l + p)" -1}+ p2(1 + p)" - np], p
where the annual percentage rate of interest is lOOp (0 < P < 1). Hence show that, irrespective of the value of p and for 11 large compared with IlP, SIt
Finally, if under the above conditions the investor desires a total return of A, deduce that
1
n >-log[Ap2/R(1 + pf]. p
44 In The Wind on the Moon by Eric Linklater (Macmillan; 1944), the Palfrey sisters, Dinah and Dorinda, have in all the sum of 16 shillings and 11 pence to pay for the unusual services of the barristers Hobson and Jobson. In offering the sum to the barristers, Dinah thinks that it would be rather difficult for them to divide the money equally between them. However, Mr Jobson thinks otherwise and declares "I see there are twice as many half-crowns as shillings and the number of half-pennies is the same as the number of shillings and half-crowns added together, including the very shining bob with the head of Queen Victoria on it. Then if you add to that (that is, the total number of half-crowns and halfpennies) the total number of two-shilling pieces, the total is one and a half times the number of pennies. Now let me see ... " "There are two single shillings", said Mr Hobson, "and if you multiply the number of half-crowns by that you will get the exact number of pennies. It's perfectly easy, Jobson. We divide the 16 shillings and 11 pence into two exactly equal halves, by taking 11 coins each. There are no complaints and nothing left over." Determine the individual face values of the 22 coins offered in payment to the barristers. Hence show that if the 22 coins are randomly divided into two groups of 11 each, then the probability that the resulting division of money will be equal is 200/4199-0·0476. It may be assumed that the symmetrical distribution of coins is the only solution for equal division of the money.
326
EXERCISES IN PROBABILITY AND STATISTICS
Also, show that the same distribution of the face values of the coi . ns IS obtained even if the number of shillings is not known. [Note: For those unfamiliar with the pre-decimal British monetary syste shilling or a bob was worth 12 old pence, a two-shilling piece 24 old P:' a IICr and a half-crown 30 old pence.]
45 (i) Define (x), the distribution function of the unit normal variable X and then show that for any x > 1 . x
1 Jexp[1 -1) +<1> (x-2+ 1) -2 (t2-1)2J dt= (X-2-1.
2J(2'Tr)
-x
(ii) The parliament in Ruritania consists of 2N + 1 members. On . non-party motion, a free vote is proposed. A pressure group consiS\~ of 11 members who agree amongst themselves that they will all VOir in the same way, but it may be assumed that the remaining members will vote independently, and each is equally likely to vote for o~ against the motion. Assuming that there were no abstentions at the actual voting, determine the probability that more than half the total votes will be cast in the same way as those of the pressure group. Jr N is large compared with 11, use a suitable approximation to show that, for fixed N, this probability is an increasing function of II. Further, assuming that the effective range of a unit normal variable is from -3 to 3, prove that it is practically certain that the decision on the motion will go the same way as the voting of the pressure group if 11 ;;;, ~[J(8N + 13) - 3].
46 A population of wild animals consists of N members, where N is a large but unknown number, and a biologist is interested in obtaining an estimate of N. He takes a random sample of W animals, marks and then releases them. After this, he starts capturing the animals randomly and noting whether they are marked or not. He continues this sampling without replacement till this second sample contains exactly w (fixed and preassigned) marked animals. The sampling is discontinued and it is observed thai the total sample size is n. If X is a random variable denoting the size of the sample, prove that P(X=I1)=
(~=:)(:=~)/(~),
for
w~X~N-W+w.
By considering P(X = n) as a function g(N) of the unknown parameter N, show that g(N) g(N-1)
(N -11)(N - W) N(N- W-I1+W)'
Hence deduce that the maximum-likelihood estimate of N is the largest integer contained in IlW/w. Also, assuming that E(X) = w(N + l)/(W + 1), evaluate a simple unbiased estimate of N. [Note: It may be assumed that no change in the animal population occurs in between the taking of the two samples.]
SUPPLEMENT
327 47 A player has a constant probability p (>1) of winning in an independent trial of a .game of c?ance. The sta.k~ for each trial is a shillings. If the player wins a trIal he receives (a + x) shIllIngs (x> 0), but he loses his stake money ~J1 the contrary event. The player decides to play this game with the proviso :hat he would stop play immediately after his first failure. If S is the random variable denoting the net gain of the player at the end of his play, prove that px
E(S)=--a; q
px 2
var(S)=-2 , q
p+q=1.
Also, show that the player can expect to gain at least a shillings at the end of play if x> a/po
48 Small electrical fuses are mass-produced and then packed into large boxes by an automatic filling machine. The number of fuses put into a box by the machine cannot be controlled completely; and in order to ensure that no customer is a loser, the filling machine is so adjusted that it puts at least n [uses in a box. It may be assumed on empirical considerations that the actual number of fuses in a box is a discrete random variable X having the geometric distribution with point-probabilities P(X = x) = (1- p)px-n,
for
X~
n,
where p is a positive parameter such that 0 < P < 1. Given a randomly selected box, the probability that any particular fuse selected at random from the box is usable is a constant 0, where 0 < 0 < 1. If a box contains exactly x fuses, prove that the probability that it contains exactly r usable fuses is P(r I X = x) =
(:)0'(1- oy-r,
for
0:0;;; r:O;;; x,
and write down the expected number of usable fuses in a box containing exactly x fuses. Hence, or otherwise, show that the expected number of usable fuses in a randomly selected box (whatever the number of fuses it contains) is E(r) = nO + pO/(l- p).
49 A manufacturer of a breakfast cereal introduces a coupon scheme as a sales promotion campaign. A set of coupons consists of It (~2) different ones and one coupon is placed in every packet of the cereal. A complete set of coupons can be exchanged for a stock of spring bulbs. A housewife buys one packet of the cereal every week. Assuming that it is equally likely for her to find anyone of the n coupons in a packet, prove that the probability that she will have to wait r (~1) weeks before obtaining the (x + l)th coupon when she already has x different coupons is P(r I x) =
(1-~) (~r-l,
for
1:0;;; x:O;;; n-1.
Hence show that, for any given x, the expectation of r is It/(Il- x), and the expected total number of weeks required for the completion of one set is
328
EXERCISES IN PROBABILITY AND STATISTICS
50 (i) If X is a random variable having the Poisson distribution with /L, and a, (3 and k are non-negative integers such that 0 < k s: l11ean prove that '" Q <:" I~, 13
L r(klp(X = r) = /L kP(a -
k os; X os; (3 - k).
r=a
(ii) A photographic dealer normally sells a standard roll of colou 1'1 for 42 new pence, but in order to encourage sales he deck[ ,1111 allow a discount to customers who purchase more than one rOI~~ III time. To a customer who buys r (2 os; r os; 5) rolls at a time the
where a = P(Oos; X os; 5); b=P(1OS;XOS;4); c=P(Oos;Xos;3). Henn' deduce that var(Z) = 36(1- ~~+e~~b + /Lc)
[6(\~a:_~ /Lbr
What is the average return per roll of film sold under the schellle of the dealer?
51 The attendance records of workers at a large factory kept for a IOIl~ time show that the probability of a worker being absent for r (;;;'0) days in a year was approximately given by the Poisson distribution with mean IJ.. The absence of a worker causes dislocation in the production schedule which results in a loss to the factory; and it was estimated that, on the average, if a worker was absent for r days in a year the net loss to the factory was £a/'(r+ 1) e-13r, where a and (3 are positive parameters and (3 is small. Prove that the expected loss (in pounds) to the factory due to absenteeism of a worker in a year is a/L(/L e- 13 + 2)exp[ -(/L + (3) + /L e- 13 ], Hence show that if /L and (3 are such that 1 < /L < el3, then the expected loss must be less than 3a.
52 The Poisson distribution is occasionally referred to as a distribution describing the occurrence of rare events. Explain this remark. A commercial secretarial organization charges Sa pence for cutting a foolscap stencil. The price includes the cost of the stencil and the remuneration of the typist, and the residual profit of the organization is a fifth of the charge made, provided the typist makes no typographical errors. However. if an error is made, then the profit of the organization is diminished by the additional cost of correction, On empirical considerations, it is known thaI the cost in pence of correcting r errors on a stencil is 2r(3r + 2)/(r+ 1), for r;;;' 1, It may be assumed that, on the average, the typist makes /L errors per
SUPPLEMENT
329
.Ieocil where /L is.lsmaldl. Shuggesht a sUhitable model for the distribution of ors on a stenci an t en s ow t at the expected cost in pence of :rtrrecting the errors made on a stencil is .0 2[3/L -1 + /L -1(1-e- lL )]. Ileoce show that if the organization wishes to obtain, on the average, a oftt of A.a pence per stencil, where A. is a constant such that 0 < A. < 1, and \ assumed to be sufficiently small for terms involving /L 2 to be negligible, ;hell. as a first approximation, the organization will attain its objective if 5/L
a=I_A. .
<3 A stationery store plans an advance order of a standard line of next :ear's calendars which are usually sold in the pre-Christmas season. The order can be placed for any number of calendars, and the cost per calendar 10 the store is two shillings and sixpence. The store expects to sell the 'alelldars in the pre-Christmas season at a (1 < a < 2) times the cost price, ~ut the residual stock will have to be disposed of in the January sale at a fraction (3 (0 < (3 < 1) of the cost price. The past experience of the store ,hoWS that the pre-Christmas sales of this line of calendars are Nx, where N ~ a positive integer and x is a random variable having a Poisson distribution lI'ith mean /L and distribution function F(x). If the store orders Ny calendars, show that the expected profit in pence of the store is y G(Y)=30N[(a-(3)
,,~u (x
y)p(x)+(a-l)YJ,
II'here P(x)=e-ILIL"/x! Hence, by considering the behaviour of the finite difference G(y + 1)G(y), prove that the optimum size of the stock which the store must order to maximize its expected profit is Nyu, where Yu is the smallest integral value of y for which a-I a-(3
F(y)~--.
54 A government wishes to control immigration by restricting the entry of foreigners to an annual intake of a persons. (It may be assumed that the immigrants enter the country at the commencement of each calendar year.) Suppose initially, at the start of the first calendar year, the total population of the country is a constant N. However, due to the natural changes in the population, it is presumed that the actual number of persons in the country at the end of the year will be Nx, where x is a random variable such that its probability density function is A. e-A(x-l),
for x ~ 1 and A. > 1 is a parameter.
Accordingly, at the beginning of the second calendar year the total population, including the annual quota of immigrants, is another random variable }'2=a+Nx.
Prove that E(Y2)=a+N(I+A.)/A.. In general, suppose that the expected population, including the immigrant quota, at the beginning of the rth (r ~ 3) year is 1 + A.) E(Yr-l)' E(Yr) = a + ( -A.-
330
EXERCISES IN PROBABILITY AND STATISTICS
Use this equation to verify that the expected population at the beginni the (k + l)th year is ng of a[
(1 + "f - AkJ
Ak -
1
+N
(1 + A)k A .
Hence deduce that, if the annual immigrant intake a = N/ A, the popular will attain IJ. times its initial size at the beginning of the (k + l)th year whe101J . , re . fi es the equation k satIs 2(1 + A)k = (IJ. + l)A k. If A is large, show that an approximate solution of this equation is
1)
IJ. + . k =(l+A)log ( -2-
55 The annual profit of a steel company depends upon the demand x and the two scaled parameters a and (3 representing the capacity of the plant and the selling price of steel respectively. It is known from past experience that, for given a (>1) and (3 «1), the profit increases with rising demand However, the effect of an increase in price is to decrease demand due to th~ competition of imported steel; consequently, for given a, the total realizable profit tends to decrease somewhat because of the additional cost of holding unsold stock. Accordingly, it is suggested on empirical evidence that a reasonable approximation of this dampening effect of price increase on profit is a factor exp[-(3(a - x)], which proportionately reduces a parabolic increase in profit with rising demand. It may therefore be assumed that, on a suitable scale, the profit of the company is T= aX(l + (3x)
e-!Ha-x).
Hence, assuming that the demand is appropriately scaled so that x is a normally distributed random variable with zero mean and variance (3, prove that the expected profit is E(T) = a(32«(33 + 2)exp[-(3(a - (32/2)]. Finally, suppose (3 is fixed by a retail price agreement amongst the steel companies, and a company has the freedom to determine the production capacity of its plant for maximizing the expected profit. Show that under such a restrictive price arrangement the company can obtain maximum profit when a = 1/(3.
56 A factory produces corned beef for export which is despatched in large consignments of 12 oz. containers to customers overseas. However, due to a recent failure in the sterilization of the product, the government has imposed the restriction that a consignment should only be allowed to pass for export if a random sample of 100 containers from it is found to be completely free from infection. It is suspected that, despite improvement in the sterilization process at the factory, there is an a (small) per cent rate of infection in the consignments offered for inspection. If it may be assumed that the size of the consignments is large compared with the sample size so that the effect of sampling from a finite population is negligible, prove that the probability of a random consignment being passed as free of infection is approximately
SUPPLEMENT
331 Hence deduce that the probability that of a batch of ten consignments least three will be rejected on inspection is
_fl.
:1
1-
L 2
w=O
(10) (l-e-"')W(e-"')lO-
w•
W
If, over a period of time, this probability is assessed to be 1· 5 per cent, verifY that the rate of infection still present in the consignments is approximately five per cent. [Note: e- o.os = 0.95 correct to two decimal places.]
57 A printing house proposes to pay £a as a standard charge for proofreading a book irrespective of the number of errors detected by the proof-reader. If no errors are detected in the proofs, then the proof-reader is paid another £ e-Aa, where A> 0 is a parameter. On the other hand, if the proof-reader detects errors in the proofs, then he is paid £pr-1a if he detects r errors for 1::;;; r
P(x = 0) = l-e- A ; P(x=r)=(I-e- A )e- r>-,
for l::;;;r
Assuming that the proof-reader detects the errors present in the proofs, shoW that the expected amount payable to him is e-A(I-e-A)(2-p e- A)] a + I-pe - A '
[1
and hence deduce that this amount can never exceed 7a/4.
58 A retailer obtains his supplies of a small machine component from the manufacturer in large batches, each batch consisting of M components. Although the production is under statistical control, there is a proportion e of defective components in each batch such that e may be regarded approximately as a continuous random variable with the probability density function 60(1- 0) in the range 0::;;; e::;;; 1. The retailer sells each component for one shilling but, to attract custom, he agrees to refund a shillings (1 < a < 2) to a customer for a defective component supplied. To protect himself under such a guarantee system, the retailer takes a sample of N (fixed and «M) components from each batch supplied to him by the manufacturer for destructive testing, and refuses to accept any batch containing n or more defective components. For any given 0=0, find the conditional probability of the retailer accepting the batch after inspection, and then show that his expected net income in shillings from such a batch is g(n, 0) = (M - N)(I-aO)
~t~ (~W;(I- O)N-x.
Hence deduce that the expected net income of the retailer per batch for variation in e is g(n) =
(M - N)(n + 1)(2) 2(N+4)(4) [6(N+2)(N +4-a)-2(2n + 1){(N + l)a + N +4}+
+ 3an(n + 1)].
332
EXERCISES IN PROBABILITY AND STATISTICS
Finally, assuming that N is sufficiently large for terms involving N-I be negligible but 11/N is finite, show that g(n) is a maximum for 11::: N;o approximately. Q
59 A factory produces packets of margarine and the nominal weight of th contents of each packet is one lb. However, due to random fluctuations .c the automatic weighing machine, the actual weight of the contents of I~l packet is a normally distributCi:d random variable x with mean IL a ~ variance u 2 (IL »u). It is also known from the past experience of the facton( y that . the cost in shillings of producing a packet containing x lb of margari,r~ IS
0: + (3x - (x 2 -
( 2)
e --v(x-/-L)/u,
where 0:, (3 and 'Yare small positive parameters. Prove that the expectcd cost of a packet of margarine is a
+ (3/1- - (/1- - 'YU f e _~-V2.
An economic crisis forces the government to devalue its currency and consequently, there is an increase in the import price of edible oils used ir; the production of the margarine. To offset a part of the increase thc manufacturer makes certain small economies in his fixed costs and also establishes checks to lessen waste. As a result of these measures, thc parameters of the cost function are expected to become 0:' «0:), (3' (>~) and 'Y. The manufacturer aims that, on the average, there will be no increasc in his cost of production; and he plans to achieve this by suitable alterations in the parameters of the weight distribution. Assuming that the new weight distribution is normal with mean /1-' and variance U,2, and /1-' is so chosen that 0: + (3/1- = a' + (3' /1-', prove that there will be no change in the expected cost of production if /1- -/1-' = 'Y(u-u'). Hence show that the production of packets produced by the new system which are less than the nominal weight is ['Y{-(O: - 0:') + «(3' - (3)/1- + (3'(1-/1-)J (0: - a') - «(3' - (3)/1- + 'Y(3' u ' where (z) is the distribution function of a unit normal variable z. 60 It is known from the past experience of a publishing house that a small proportion of typographical errors remains undetected by the usual methods of proof-reading. In order to improve upon the existing procedure, the publishing house agrees to an additional proof-reading of a book with the proposal that the proof-reader will be paid (i) £0·25 for a page on which he detects no error; (ii) £1·00 for a page on which he detects a single error; and (iii) £1·25 for a page on which he detects more than one error. The probability that a word on a page is typographically incorrect is a small number a and, on an average, there are 11 words on a page. If /I is sufficiently large compared with 0: but 110: = /1-, a finite number, give without proof the probability that there are exactly r (~O) errors on a page. Hence,
SUPPLEMENT
333
assuming that the proof-reader detects the errors present, show that the eXpected payment per page to the proof-reader is £~[5 -
(4+ IL) e- IL ].
The proof-reader is unwilling to accept the suggested rates of payment because he realizes that it is unlikely that many pages will contain one or ptO re errors per page. As a counter-proposal, the proof-reader asks for an arrangement which would give him an expected payment of £1·00 per page by raising the amount £0·25 in (i) when the amounts £1·00 and £1·25 in (ii) and (iii) remain fixed. Prove that the increased payment that the publishing house should make for each page on which the proof-reader finds no errors, in order to meet his demand is £M5 + IL -e- IL ].
61 A manufacturer of a duplicating machine rents out the machine to cuslomers on an annual basis. The annual rental for a machine is fa, a fixed charge, plus an amount which depends upon the number of copies made in a year. Accordingly, if x copies are made on a machine in a year, then the lolal rental payable (in pounds sterling) is T(x) === a
+ bx(1-tx),
where b is another constant. If it is known from empirical considerations that x can be regarded as a continuous random variable with the probability density function (A + 3)(A + 2)x (1+X)A+4 ,forx;;a.O,
where A > 1 is a parameter, prove that for r;;a. 0 E(x r ) = f(r+2)f(A - r+2)/f(A +2).
Hence deduce that E(T) =
a
+ (2A -1)b
A(A+1)'
The manufacturer wishes to so arrange the rental of the machines that, on the average, he will obtain a rental income of at least £Aa per machine. Show that the manufacturer will attain his objective if
a
2A-1
b
A(A -1)'
-<---::-2
62 In a certain welfare state, a person pays an annual contribution for social security based on his income x which is greater than a, the minimum individual income in the population; the amount of the contribution is A(x - a), where A is a parameter such that 0 < A< 1. The probability distribution of the incomes of individuals liable to pay the social security contribution is log-normal with the probability density function _1_(x-a)-lexp-_1_[log(x-a)-lLf, for x>a, u.,fi;,. 2u 2 Where u and IL are parameters in standard notation. Prove that, on an average, the contribution paid by an individual is A exp(1L + !u2 ).
334
EXERCISES IN PROBABILITY AND STATISTICS
As a concession to income earners, the government proposes that 0 I persons with incomes greater than (3 (>a) should be required to pay ~ y social security contribution at the rate of A(X - (3). Show that the aVer he contribution now payable is A times age [1-<1>(8 - 0')] e fL +¥>"2 - ({3 - a )[1- <1>(8)], where 8 == [log({3 - a) -IL ]/0' and <1>0 is the distribution function of th standardized normal variable. Hence deduce that the relative change in the average social security contribution is e <1>(8 - 0') + [1- <1>(8)] exp 0'(8 -!O').
63 An owner of a large Edwardian mansion has the choice between tw methods of heating the residence. He can either continue to use solid fuel i:: the existing fire-places or replace them by thermostatically controlled gas fires. It is estimated that the annual consumption of solid fuel would be N tons at a cost of £a per ton. On the other hand, the initial cost of installing t~e gas fires is substantial and it m~y be discounted as an annual cost of £(l Smce the gas fires are thermostatIcally controlled, the consumption of gas would depend upon the daily temperature distribution as recorded within the house. For anyone day, the gas consumption in therms may be regarded as a random variable X with a probability density function proportional to e- Ax2 . X3 for X>O, and A > 0 is a parameter. Prove that the average consumption of gas per day is N w/ A therms. Hence, assuming that the price of gas is £ 'Y per therm and that, on the average, there are 300 days in a year when heating is at all required, determine the expected annual cost of heating the house by gas. Also, show that, on the average, solid fuel heating will be more economical as long as 'Y
aN-{3
J>.
22SJ";'
->---
64 A refinery, located at a seaport, has a capacity of processing N gallons of crude oil during a week. The refinery is supplied with crude oil by tankers which arrive at random intervals of time; and if the refinery receives no fresh crude oil during a week then it is scheduled to process only aN gallons, where 0 < a < 1. The amount of crude oil received by the refinery during a week is a random variable X, and as X increases the scheduled processing capacity of the refinery also increases. However, since the capacity of the refinery is limited, it may be assumed on empirical considerations that this increase dies off exponentially. It may therefore be assumed that if the amount of crude oil received by the refinery in a week is X, then the scheduled processing amount is T = N[l-(l-a) e- 13x ], where (3 «1) is a small positive parameter. If the probability density function of the probability distribution of X is f(x)
=
x
e-~x2
for X;;:. 0,
prove that E(T) = N - N(l-a)[l-J2;. e!13 2{3{1-({3)}],
335
SUPPLEMENT
where. ct>(.) is th~ distri?ution function ~f a unit normal variable. Hence, aSSumIng that (3 IS sufficiently small ~or (3 to be negligible, show that in any one week the amount of crude oIl scheduled for processing cannot be greater than the expected amount if
0 1 log (7T X";-I3· 1- s e12) 2"
•
6S A continuous random variable X has the probability density function proportional to x"'-I/(l+(3x"')2",
for X;;oO,
where a and (3 are positive parameters and n > 1. Prove that if (2/1-1)a - r > 0, then the rth moment of X about the origin is given by
E(X') = 2n-l (3'/""
B(~+
12n -1-~) a
a'
in standard notation for the beta function. Also, show that the stationary values of the probability density function of X are the roots of the equation a '" ,..x
=
a-I (2n-l)a+l .
Hence deduce that for a> 1 the probability distribution of X has a mode at the point [
a-I
]
1/",
X= {(2n-l)a+l}(3
.
66 Explain, very briefly, the concept of conditional probability. A continuous random variable X has the beta distribution of the first kind with the probability density function 1 - - - x l1l - l (l-x) B(m,~
,
for 0..; X..; 1
,
where 111 is a positive parameter. Given a a positive number less than unity, prove that P(X ..;a) = a "'(111 + l-l11a).
Given another positive number (3 < a, prove that . ((3)111 111 + 1 - m(3 P(X"; (3 I X..; a) = - . 1 . a 111+ -l11a
67 A continuous random variable X has the probability density function ![1 + h(l- x 2 )], for -l..;X..; 1, where A is a parameter having some value in the interval (-1,1). Prove that for any non-negative integer r
E(X')=.!. [_1_{1+(-lY+2}+ 2A {I + (-lY+3}]. 2 r+ 1 (r+2)(r+4)
336
EXERCISES IN PROBABILITY AND STATISTICS
Hence verify that 2A
var(X) =
E(X) = 15 ;
75-4A 2 225
Also, prove that the distribution function of X is
( 21[A4
A
1 2)] F x)=- l--+x+-x 2( 1-2:x
2
.
Hence show that the median of the probability distribution of X is a rc' I root of the equation a
A(x 2 -1f-4x = 0, and that this root is > or <0 according as A> or <0.
68 A continuous random variable X has the probability density function proportional to x 2 /(1 + x 4 ), defined in the range -00 < X < 00. If k denotes the proportionality factor, prove that k (2r+3 1-2r) E(X2 r)=2 B - 4 - ' - 4 - '
. provided 1-2r>0,
in standard notation of the beta function. Hence deduce that k = .f2/7r and that none of the even moments of X exists. Also, show that the turning values of the probability density function of X are the roots of the equation
X4=1. Hence prove that the probability distribution of X is bimodal and determinc its modes. Finally, show that the points of inflexion of the probability distribution of X are the real roots of the equation
3x 8 -12x 4 + 1 = 0, and determine these roots explicitly. [Note: It may be assumed that f(t)f(l- t) = 1T/sin 1Tt.]
69 A continuous random variable X has the probability density function ex(3x",-l f(x) = (1 + (3x"'f' for X;;;'O, where ex and (3 are positive parameters. Prove that if ex > r, then the rth moment of X about the origin is given by E(xr) =_l_B(l +..!:. (3r/'" ex '
1-..!:.)
a'
in standard notation for the beta function. Also, for a> 1, show that the mode of the probability distribution of X is at the point [ ex -1 ]11'" x= (3(a+1) .
SUPPLEMENT
337
Finally, prove that the median of the probability distribution of X is at the point
flen ce , for ex> 1, infer the sign of the skewness of the probability distribution of X. 10 (i) For any two positive numbers ex and v, the incomplete gamma function is a ra(v)=r;v)
J
e-xx,,-l dx.
o
If
v> 1, then show by suitable integration by parts that e-aex,,-t ra(v-1)- ra(v) =
r(v)
(ii) For any r;;;:: 0 and 0> 0, prove that II
[(r, 0)=
Je-
4x2 x r dX=2(r-1)/2rA(r~ 1)r(r~
1),
o
where A =!02. (iii) A continuous random variable Z has a non-normal probability distribution with the probability density function 1 [Z4_6z2+3] fu e- tz2 1+ n ,for -oo
P(Z:SO; 0) = <1>(0) + e-!1I2 8 (3- ( 2 )
,
nfu
where <1>(.) denotes the distribution function of a unit normal variable and 8 is a positive constant.
71 A continuous random variable X has the probability density function porportional to (ex + Ix!) exp- ~ lxi, defined for -oo<X <00, where ex and ~ are positive parameters. Evaluate the proportionality factor and then verify that for any integer r > 0 E(X2r )
= (ex~ + 2r+ 1)(2r)! (ex~ + 1)~2r
Hence deduce that 'Y2, the coefficient of kurtosis of X, is 24
'Y2 = 3 -
(ex~ + 3)2 '
so that, irrespective of the values of ex and ~, l< 'Y2 < 3. 72 A continuous random variable X has the probability density function proportional to (ex+x4)e- X2 defined for -oo<X
338
EXERCISES IN PROBABILITY AND STATISTICS
posItIve parameter. Determine the proportionality factor and verify thai E(X) = O. Also, show that the (2r)th central moment of X is 1L2r
(X) = [4a + (2r + 3)(2r + 1)] r(r + !) (4a + 3)-/;
Hence deduce that X has unit variance if a =~. Prove that in this cas mode of the distribution of X is at the origin and the maximum ordina~ th~ the distribution of X is 3/(4";;). Also, show that the coefficient of kurtC (!f of the distribution of X is OSI, I'z(X) = -i. Compare these values with the corresponding ones for a unit normal distribution and comment on the differences observed.
73 The distribution function of a continuous random variable X having th . "logistic" distribution is defined by the equation ~ P(X:os; x) = (1 + e- x )-l,
for -00 < X < 00.
Evaluate the probability density function of X. By using the transformation y = (1 +e-X)-l, or otherwise, prove that the moment-generating function of X about the origin is Itl< 1. Hence deduce that 1'1 and 1'2, the coefficients of skewness and kurtosis of X are 0 and 6/5 respectively. . Also, show that (i) the semi-interquartile range of X is loge 3; and (ii) the points of inflexion of the probability density function of X arc
74 A continuous random variable X has the probability density function proportional to x 4 /(l + x 2 )(1 + X4), for -00< X < 00. Prove that the proportionality factor is 2/7T. Show that the turning values of the distribution of X are the roots of the equation X6
-x 2 -2=O.
Hence deduce that the distribution of X is bimodal and, assuming that the modes lie in the neighbourhood of the points x = prove that a more accurate approximation for the modal values is x = ± 35/23.
±J3i}'
75 A fluid flows continuously at a constant rate of Q molecules per minute into and out of a reactor. The reactor is said to be "well stirred" if the molecules inside it are always mixed in such a manner that the probability that any given molecule will leave the reactor during an infinitesimal time-interval Sx is approximately Sx/(3, where (3 == V/Q, V being the volullle of molecules inside the reactor. It is then known that the time for which a molecule remains in the reactor is a random variable X having a negative exponential distribution with mean (3. However, if two well-stirred reactors, each containing V molecules, are connected in parallel, then the entering fluid splits between them. If the total flow rate is 2Q molecules per-minute and a fraction a (O
SUPPLEMENT
339
loes through one of the~~ rea~to~s a?d the remaining 1 - a through the ~ther, th~n t~e probablhty. ~hstnbut.lOn of X is approximately hyper~%ponentIaI, with the probablhty density function f(x)
= 2;2 [e- 2aX/l3+
C:o'Ye-20 - a
)x/13
J,
O~X <00.
prove .that in this case the moment-generating function of X about the origin IS 2[2O'(1-O')-{1-2O'(1-O')}{3t]
Mo () t = ---'--------'-------'--'-~ (20' - (3t)[2(1- a) - (3t] . Hence deduce the mean and variance of X. Also, show that, irrespective of the value of a in its permissible range of variation, E(X) = (3
var(X) ~ {32.
and
16 Evaluate the moment-generating function about the mean of a unit normal variable X. Hence verify that the (2r)th central moment of X is (2r)! I-'- (X) - - -
2r
- 2r. r! '
for r;30.
Suppose Z is a continuous random variable with the probability density function proportional to e-!z2[1+O'z(z+1)],
for -oo
where a is a positive constant. Prove that the odd and even moments of Z about the origin are ,
(Z)
a
(2r+2)!
1-'-2r+1
=1+O'·2 r+ I .(r+1)!'
1-'-2r(Z) =
1+(2r+1)O' (2r)! 1 . -2r" +0' . r.
and for r;3 O.
Hence determine the mean and variance of Z. Also, show that both E(Z) and var(Z) are increasing functions of a but that, as a ~ 00, their limiting values are 1 and 2 respectively. 77 For a continuous random variable X having the negative exponential distribution with probability density function A e-AX,
for X;30,
obtain the cumulant-generating function of X. Here deduce that the rth cumulant of X is (r-1)!
Kr(X) = -A-r-
, for r;31.
Suppose e- Ay is regarded as proportional to the point-probabilities of a discrete random variable Y which takes all the non-negative integral values 0,1,2, .... Show that the probability-generating function of Y is 0(8) =E(8 Y ) = (1-e- A)/(1- 8 e- A).
340
EXERCISES IN PROBABILITY AND STATISTICS
Hence determine the cumulant-generating function of Y and verify thaI KI(Y)=1/(e A -1);
and
K2(Y)=e A/(e A -1)2.
Finally, if >.. is sufficiently small for>.. 2 to be negligible, prove thaI
KI(X)-Kl(Y)=~ (1-~)
and
K2(X)-K2(Y)=A
78 A standard pack of playing cards has four aces and 48 other card, l pack is well shuffled and then cards are dealt out one by one face up~. hl, until the second ace appears. If X is a discrete random variable denotin number of cards dealt out before the appearance of the second ace pg. Ill' that ' 111\\.
clrt
P(X = r) =
(~)C~81)(523_ r) /
(5r2) , for 1 ~X ~49.
Also show that P(X = r) satisfies the recurrence relation P(X=r+l)=
(r+ 1)(49- r) ( ) .P(X=r), for 1~r~48. r 51- r
Hence verify that P(X = r) is an increasing function of r only if r"", 16. Explain, very briefly, how the above recurrence relation can be lIsed obtain the numerical value of P(X ~ 5).
10
79 Explain, very briefly, the concept of unbiasedness of an estimate in Ihl' theory of estimation. A continuous random variable X has the probability density function x A f( x) = _1_ 6>..4 e- / .X3, for X
~ 0,
where>.. is a positive parameter. Prove that E(X) = 4>..
and
var(X) = 4>.. 2.
If Xl> X2, •.. ,X" are 11 independent observations of X, show thaI maximum-likelihood estimate of >.. is
llll'
A=~i,
where i is the average of the Xi' Hence deduce that an unbiased estimate of >.. 2 is ni 2 /4(411
+ 1),
whereas the estimate i 2 /16 has a bias of O(n- I ). 80 A continuous random variable X has a normal distribution such lhal both the mean and variance of X are equal to 0, unknown. If XI' Xb ','" x" are independent observations of X, show that the equation of 8, lhl' maximum-likelihood estimate of 0, is e(e+1)=i 2+s 2,
where n
ni=Lxj j~l
n
and
ns 2 =L(xj-if. i~l
SUPPLEMENT
341
~eoce deduce that
8 = ~({1 + 4(.XZ + S2)}! -1] ]lIII that, for large samples,
20 2 var(O) = n(28+ 1)' A
11 Explain,. ver'! briefly, the concept of unbiasedness in the theory of tatistical estimation . . A continuous random variable X has the probability density function
1
f( x) = -3 x 2 e- x/ fJ for X;a.O. , 20
prove that for any r;a. 0
E(xr) = !orf(r+ 3). Hence verify that E(X)=30;
Given that XI> X2, ••• , X" are independent realizations of X, prove that the maximum-likelihood estimate of 8 is 8=li,
Ilhere i is the average of the n observations. Also, determine var(O). Two functions 1 " L1 = x~ and ~=li2 4n i=1
L
Jre suggested as possible estimates of var(X). Show that Ll is an unbiased of var(X) but
~Iimate
\0
that L2 is asymptotically unbiased.
82 An infinite population consists of white and black balls, and it is known that p, the proportion of white balls in the population, is rather small. In order to obtain a good estimate of p, an experimenter decides to sample the balls one at a time till he obtains exactly r (fixed in advance) white balls in the sample. (i) If X is a random variable denoting the size of the sample which includes exactly r white balls, prove that P(X=n)= (;=Dprq,,-r,
for X;a.r;
q==l-p.
(ii) Prove that the probability-generating function of X is E(OX) = (pO)'(1-qOrr.
Hence, or otherwise, deduce that E(X)= rIp.
342
EXERCISES IN PROBABILITY AND STATISTICS
(iii) Given r and the sample realization n of X, prove that the ma . )(llllll01_ likelihood estimate of p is r
A
p=-, 11
and that for large samples
p2q
var(p)=-. r
(iv) Also, ve