Section 5.1

Generating functions

[12/100%]
Show
LaTeX
Problem 5.1.1

Find the generating functions of the following mass functions, and state where they converge. Hence calculate their means and variances.

?
(a)

f(m)=(n+m−1m)pn(1−p)mf(m) = \binom {n+m-1}{m} p^{n}(1-p)^{m}, for m≥0m \geq 0.

(b)

f(m)={m(m+1)}−1f(m) = \left\{ m(m+1)\right\}^{-1}, for m≥1m \geq 1.

(c)

f(m)=(1−p)p∣m∣/(1+p)f(m) = (1-p) p^{\left|m\right|} /(1+p), for m=…,−1,0,1,…m = \ldots ,-1,0,1, \ldots

The constant pp satisfies 0<p<10 < p < 1.

Problem 5.1.2

Let X(≥0)X( \geq 0) have probability generating function GG and write t(n)=P(X>n)t(n) = \mathbb {P}\left(X > n\right) for the 'tail' probabilities of XX. Show that the generating function of the sequence {t(n):n≥0}\left\{ t(n): n \geq 0\right\} is T(s)=(1−G(s))/(1−s)T(s) = (1-G(s)) /(1-s). Show that E[X]=T(1)\mathbb {E}\left[X\right] = T(1) and Var⁡[X]=2T′(1)+T(1)−T(1)2\operatorname {Var}\left[X\right] = 2 T^{\prime }(1)+T(1)-T(1)^{2}.

?
Problem 5.1.3

Let GX,Y(s,t)G_{X, Y}(s, t) be the joint probability generating function of XX and YY. Show that GX(s)=GX,Y(s,1)G_{X}(s) = G_{X, Y}(s, 1) and GY(t)=GX,Y(1,t)G_{Y}(t) = G_{X, Y}(1, t). Show that

E[XY]=∂2∂s∂tGX,Y(s,t)∣s=t=1 \mathbb {E}\left[X Y\right] = \left.\frac{\partial ^{2}}{\partial s \partial t} G_{X, Y}(s, t)\right|_{s = t = 1}
?
Problem 5.1.4

Find the joint generating functions of the following joint mass functions, and state for what values of the variables the series converge.

?
(a)

f(j,k)=(1−α)(β−α)αjβk−j−1f(j, k) = (1-\alpha )(\beta -\alpha ) \alpha^{j} \beta^{k-j-1}, for 0≤k≤j0 \leq k \leq j, where 0<α<1,α<β0 < \alpha < 1, \alpha < \beta.

(b)

f(j,k)=(e−1)e−(2k+1)kj/jf(j, k) = (e-1) e^{-(2 k+1)} k^{j} / j !, for j,k≥0j, k \geq 0.

(c)

f(j,k)=(kj)pj+k(1−p)k−j/[klog⁡{1/(1−p)}]f(j, k) = \binom {k}{j} p^{j+k}(1-p)^{k-j} /[k \log \left\{ 1 /(1-p)\right\} ], for 0≤j≤k0 \leq j \leq k, k≥1k \geq 1, where 0<p<10 < p < 1.

Deduce the marginal probability generating functions and the covariances.

Problem 5.1.5

A coin is tossed nn times, and heads turns up with probability pp on each toss. Assuming the usual independence, show that the joint probability generating function of the numbers HH and TT of heads and tails is GH,T(x,y)={px+(1−p)y}nG_{H, T}(x, y) = \left\{ p x+(1-p) y\right\}^{n}. Generalize this conclusion to find the joint probability generating function of the multinomial distribution of Exercise (3.5.1).

?
Problem 5.1.6

Let XX have the binomial distribution bin⁡(n,U)\operatorname {bin}(n, U), where UU is uniform on (0,1)(0,1). Show that XX is uniformly distributed on {0,1,2,…,n}\left\{ 0,1,2, \ldots , n\right\}.

?
Problem 5.1.7

Show that

G(x,y,z,w)=18(xyzw+xy+yz+zw+zx+yw+xz+1) G(x, y, z, w) = \frac{1}{8}(x y z w+x y+y z+z w+z x+y w+x z+1)

is the joint generating function of four variables that are pairwise and triplewise independent, but are nevertheless not independent.

?
Problem 5.1.8

Let pr>0p_{r} > 0 and ar∈Ra_{r} \in \mathbb {R} for 1≤r≤n1 \leq r \leq n. Which of the following is a moment generating function, and for what random variable?

?
(a)

M(t)=1+∑r=1nprtrM(t) = 1+\sum_{r = 1}^{n} p_{r} t^{r},

(b)

M(t)=∑r=1npreartM(t) = \sum_{r = 1}^{n} p_{r} e^{a_{r} t}

Problem 5.1.9

Let G1G_{1} and G2G_{2} be probability generating functions, and suppose that 0≤α≤10 \leq \alpha \leq 1. Show that G1G2G_{1} G_{2}, and αG1+(1−α)G2\alpha G_{1}+(1-\alpha ) G_{2} are probability generating functions. Is G(αs)/G(α)G(\alpha s) / G(\alpha ) necessarily a probability generating function?

?
Problem 5.1.10

Let X1,X2,…X_{1}, X_{2}, \ldots be independent, continuous random variables with common distribution function FF, that are independent of the positive integer-valued random variable ZZ. Define the maximum M=max⁡{X1,X2,…,XZ}M = \max \left\{ X_{1}, X_{2}, \ldots , X_{Z}\right\}. Show that

E[Z∣M=m]=1+F(m)G′′(F(m))G′(F(m)) \mathbb {E}\left[Z \mid M = m\right] = 1+\frac{F(m) G^{\prime \prime }(F(m))}{G^{\prime }(F(m))}

where GG is the probability generating function of ZZ.

?
Problem 5.1.11

Let 0<p=1−q<10 < p = 1-q < 1, and let XX have the geometric mass function f(x)=qx−1pf(x) = q^{x-1} p for x=1,2,…x = 1,2, \ldots. Find the probability generating function of Y=min⁡{n,X}Y = \min \left\{ n, X\right\} for fixed n≥1n \geq 1, and show that E[Y]=(1−qn)/p\mathbb {E}\left[Y\right] = \left(1-q^{n}\right) / p.

?
Problem 5.1.12

Let XiX_{i} be the number of balls in the iith of a sequence of bins, and assume the XiX_{i} are independent with common probability generating function GXG_{X}. There are NN such bins, where NN is independent of the XiX_{i} with probability generating function GNG_{N}. Each ball is 'unmarked' with probability uu, and marked otherwise, with marks appearing independently.

?
(a)

Show that the probability π\pi, that all the balls in the iith bin are unmarked, satisfies π=GX(u)\pi = G_{X}(u).

(b)

Deduce that the probability that all the balls are unmarked equals GN(GX(u))G_{N}\left(G_{X}(u)\right), and deduce the random sum formula of Theorem (5.1.25).

(c)

Find the mean and variance of the total number TT of balls in terms of the moments of XX and NN, and compare the argument with the method of Exercise (3.7.4).

(d)

Find the probability generating function of the total number UU of unmarked balls, and deduce the mean and variance of UU.