image

is said to be a compound random variable, with the distribution of Nimage called the compounding distribution. In this subsection we will first derive an identity involving such random variables. We will then specialize to where the Xiimage are positive integer valued random variables, prove a corollary of the identity, and then use this corollary to develop a recursive formula for the probability mass function of SNimage, for a variety of common compounding distributions.

To begin, let Mimage be a random variable that is independent of the sequence X1,X2,image, and which is such that

P{M=n}=nP{N=n}E[N],n=1,2,

image

Proposition 3.5

The Compound Random Variable Identity

For any function himage

E[SNh(SN)]=E[N]E[X1h(SM)]

image

Suppose now that the Xiimage are positive integer valued random variables, and let

αj=P{X1=j},j>0

image

The successive values of P{SN=k}image can often be obtained from the following corollary to Proposition 3.5.

When the distributions of M-1image and Nimage are related, the preceding corollary can be a useful recursion for computing the probability mass function of SNimage, as is illustrated in the following subsections.

3.7.1 Poisson Compounding Distribution

If Nimage is the Poisson distribution with mean λimage, then

P{M-1=n}=P{M=n+1}=(n+1)P{N=n+1}E[N]=1λ(n+1)e-λλn+1(n+1)!=e-λλnn!

image

Consequently, M-1image is also Poisson with mean λimage. Thus, with

Pn=P{SN=n}

image

the recursion given by Corollary 3.6 can be written

P0=e-λPk=λkj=1kjαjPk-j,k>0

image

Remark

When the Xiimage are identically 1image, the preceding recursion reduces to the well-known identity for a Poisson random variable having mean λimage:

P{N=0}=e-λP{N=n}=λnP{N=n-1},n1

image

Example 3.34

Let Simage be a compound Poisson random variable with λ=4image and

P{Xi=i}=1/4,i=1,2,3,4

image

Let us use the recursion given by Corollary 3.6 to determine P{S=5}image. It gives

P0=e-λ=e-4P1=λα1P0=e-4P2=λ2(α1P1+2α2P0)=32e-4P3=λ3(α1P2+2α2P1+3α3P0)=136e-4P4=λ4(α1P3+2α2P2+3α3P1+4α4P0)=7324e-4P5=λ5(α1P4+2α2P3+3α3P2+4α4P1+5α5P0)=381120e-4

image

3.7.2 Binomial Compounding Distribution

Suppose that Nimage is a binomial random variable with parameters rimage and pimage. Then,

P{M-1=n}=(n+1)P{N=n+1}E[N]=n+1rprn+1pn+1(1-p)r-n-1=n+1rpr!(r-1-n)!(n+1)!pn+1(1-p)r-1-n=(r-1)!(r-1-n)!n!pn(1-p)r-1-n

image

Thus, M-1image is a binomial random variable with parameters r-1,pimage.

Fixing pimage, let N(r)image be a binomial random variable with parameters rimage and pimage, and let

Pr(k)=P{SN(r)=k}

image

Then, Corollary 3.6 yields

Pr(0)=(1-p)rPr(k)=rpkj=1kjαjPr-1(k-j),k>0

image

For instance, letting kimage equal 1image, then 2image, and then 3image gives

Pr(1)=rpα1(1-p)r-1Pr(2)=rp2[α1Pr-1(1)+2α2Pr-1(0)]=rp2(r-1)pα12(1-p)r-2+2α2(1-p)r-1Pr(3)=rp3α1Pr-1(2)+2α2Pr-1(1)+3α3Pr-1(0)=α1rp3(r-1)p2(r-2)pα12(1-p)r-3+2α2(1-p)r-2+2α2rp3(r-1)pα1(1-p)r-2+α3rp(1-p)r-1

image

3.7.3 A Compounding Distribution Related to the Negative Binomial

Suppose, for a fixed value of p,0<p<1image, the compounding random variable Nimage has a probability mass function

P{N=n}=n+r-1r-1pr(1-p)n,n=0,1,

image

Such a random variable can be thought of as being the number of failures that occur before a total of rimage successes have been amassed when each trial is independently a success with probability pimage. (There will be nimage such failures if the rimageth success occurs on trial n+rimage. Consequently, N+rimage is a negative binomial random variable with parameters rimage and pimage.) Using that the mean of the negative binomial random variable N+rimage is E[N+r]=r/pimage, we see that E[N]=r1-ppimage.

Regard pimage as fixed, and call Nimage an NB(rimage) random variable. The random variable M-1image has probability mass function

P{M-1=n}=(n+1)P{N=n+1}E[N]=(n+1)pr(1-p)n+rr-1pr(1-p)n+1=(n+r)!r!n!pr+1(1-p)n=n+rrpr+1(1-p)n

image

In other words, M-1image is an NB(r+1)image random variable.

Letting, for an NB(rimage) random variable Nimage,

Pr(k)=P{SN=k}

image

Corollary 3.6 yields

Pr(0)=prPr(k)=r(1-p)kpj=1kjαjPr+1(k-j),k>0

image

Thus,

Pr(1)=r(1-p)pα1Pr+1(0)=rpr(1-p)α1,Pr(2)=r(1-p)2pα1Pr+1(1)+2α2Pr+1(0)=r(1-p)2pα12(r+1)pr+1(1-p)+2α2pr+1,Pr(3)=r(1-p)3pα1Pr+1(2)+2α2Pr+1(1)+3α3Pr+1(0)

image

and so on.

Exercises

1. If Ximage and Yimage are both discrete, show that xpXY(xy)=1image for all yimage such that pY(y)>0image.

*2. Let X1image and X2image be independent geometric random variables having the same parameter pimage. Guess the value of

P{X1=iX1+X2=n}

image


Hint: Suppose a coin having probability pimage of coming up heads is continually flipped. If the second head occurs on flip number nimage, what is the conditional probability that the first head was on flip number i,i=1,,n-1image?
Verify your guess analytically.

3. The joint probability mass function of Ximage and Y,p(x,y)image, is given by

p(1,1)=19,p(2,1)=13,p(3,1)=19,p(1,2)=19,p(2,2)=0,p(3,2)=118,p(1,3)=0,p(2,3)=16,p(3,3)=19

image

Compute E[XY=i]image for i=1,2,3image.

4. In Exercise 3, are the random variables Ximage and Yimage independent?

5. An urn contains three white, six red, and five black balls. Six of these balls are randomly selected from the urn. Let Ximage and Yimage denote respectively the number of white and black balls selected. Compute the conditional probability mass function of Ximage given that Y=3image. Also compute E[XY=1]image.

*6. Repeat Exercise 5 but under the assumption that when a ball is selected its color is noted, and it is then replaced in the urn before the next selection is made.

7. Suppose p(x,y,z)image, the joint probability mass function of the random variables X,Yimage, and Zimage, is given by

p(1,1,1)=18,p(2,1,1)=14,p(1,1,2)=18,p(2,1,2)=316,p(1,2,1)=116,p(2,2,1)=0,p(1,2,2)=0,p(2,2,2)=14

image

What is E[XY=2]image? What is E[XY=2,Z=1]image?

8. An unbiased die is successively rolled. Let Ximage and Yimage denote, respectively, the number of rolls necessary to obtain a six and a five. Find (a) E[X]image, (b) E[XY=1]image, (c) E[XY=5]image.

9. Show in the discrete case that if Ximage and Yimage are independent, then

E[XY=y]=E[X]for ally

image

10. Suppose Ximage and Yimage are independent continuous random variables. Show that

E[XY=y]=E[X]for ally

image

11. The joint density of Ximage and Yimage is

f(x,y)=(y2-x2)8e-y,0<y<,-yxy

image

Show that E[XY=y]=0image.

12. The joint density of Ximage and Yimage is given by

f(x,y)=e-x/ye-yy,0<x<,0<y<

image

Show E[XY=y]=yimage.

*13. Let Ximage be exponential with mean 1/λimage; that is,

fX(x)=λe-λx,0<x<