Properties of Expectation

A First Course in Probability · 170 exercises

Q. 7.17

Suppose that X1 and X2 are independent random variables having a common mean μ. Suppose also that VarX1=σ12 and VarX2=σ22. The value of μ is unknown, and it is proposed that μ be estimated by a weighted average of X1 and X2. That is, λX1+(1-λ)X2 will be used as an estimate of μ for some appropriate value of λ. Which value of λ yields the estimate having the lowest possible variance? Explain why it is desirable to use this value of λ

4 step solution

Q.22

Show that Y=a+b X, then

ρ(X,Y)=+1     if b>01     if b<0

3 step solution

Q.23

Show that Z is a standard normal random variable and if Y is defined by Y=a+bZ+cZ2, then

ρ(Y,Z)=bb2+2c2

3 step solution

Q.24

Prove the Cauchy-Schwarz inequality, namely,

(E[XY])2EX2EY2

Hint: Unless Y=-t X for some constant, in which case the inequality holds with equality, it follows that for all t,

0<E(tX+Y)2=EX2t2+2E[XY]t+EY2

Hence, the roots of the quadratic equation

EX2t2+2E[XY]t+EY2=0

must be imaginary, which implies that the discriminant of this quadratic equation must be negative.

3 step solution

Q7.34

7.34. For another approach to Theoretical Exercise 7.33, let Tr denote the number of flips required to obtain a run of r consecutive heads. (a) Determine E[Tr|Tr−1]. (b) Determine  in terms of E[Tr−1]. (c) What is E[T1]? (d) What is E[Tr]? 

6 step solution

Q7.35

The probability generating function of the discrete non-negative integer-valued random variable X having probability mass function pj,j0is defined by

ϕ(s)=EsX=j=0pjsj

Let Y be a geometric random variable with parameter p=1-s, where 0<s<1. Suppose that Y is independent of X, and show that
ϕ(s)=P{X<Y}

5 step solution

Q 7.32

 For an event A, let IA equal 1 if A occurs and let it equal 0 if A does not occur. For a random variable X, show that E[X|A] = E[XIA] P(A 

4 step solution

Q 7.33

A coin that lands on heads with probability p is continually flipped. Compute the expected number of flips that are made until a string of r heads in a row is obtained. Hint: Condition on the time of the first occurrence of tails to obtain the equation E[X] = (1 − p) r i=1 pi−1(i + E[X]) +(1 − p) q i=r+1 pi−1r Simplify and solve for E[X]. 

3 step solution

Q.7.38

The best linear predictor of Y with respect to X1 and X2 is equal to a + bX1 + cX2, where a, b, and c are chosen to minimize EY-a+bX1+cX22 Determine a, b, and c

6 step solution

Q.7.30

Consider Example 4f, which is concerned with the multinomial distribution. Use conditional expectation to compute E[NiNj], and then use this to verify the formula for Cov(Ni, Nj) given in Example 4f. 

4 step solution

Q.7.34

For another approach to Theoretical Exercise 7.33, let Tr denote the number of flips required to obtain a run of r consecutive heads. 

(a) Determine ETrTr-1.

(b) Determine ETr in terms of ETr-1.

(c) What is ET1 ?

(d) What is ETr ?

12 step solution

Q.7.36

One ball at a time is randomly selected from an urn containing a white and b black balls until all of the remaining balls are of the same color. Let Ma,b denote the expected number of balls left in the urn when the experiment ends. Compute a recursive formula for Ma,b and solve when a = 3 and b = 5. 

3 step solution

Q. 7.37

An urn contains a white and bblack balls. After a ball is drawn, it is returned to the urn if it is white; but if it is black, it is replaced by a white hall from another urn. Let Mn denote the expected number of white balls in the urn after the foregoing operation has been repeated n times.

  1.  Derive the recursive equation Mn+1=1-1a+bMn+1
  2. Use part (a) to prove that Mn=a+b-b1-1a+bn
  3. What is the probability that the (n+1) ball drawn is white?

8 step solution

Q.25

Show that if X and Y are independent, then

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

(a) in the discrete case;

(b) in the continuous case.

6 step solution

Q.26

Prove that E[g(X)YX]=g(X)E[YX].

3 step solution

Q.27

Prove that if E[YX=x]=E[Y] for all x, then X and Y are uncorrelated; give a counterexample to show that the converse is not true.

Hint: Prove and use the fact that E[XY]=E[XE[YX]].

4 step solution

Q.28

Show that Cov(X,E[YX])=Cov(X,Y).

3 step solution

Q.29

Let X1,,Xn be independent and identically distributed random variables. Find

EX1X1++Xn=x

3 step solution

Q.31

An urn initially contains b black and w white balls. At each stage, we add r black balls and then withdraw, at random, r balls from the b+w+r balls in the urn. Show that

F [number of white halls after stage t ]

=b+wb+w+rtw

3 step solution

Q.7.39

The best quadratic predictor of Y with respect to X is a + bX + cX2, where a, b, and c are chosen to minimize E[(Y  (a + bX + cX2))2]. Determine a, b, and c

3 step solution

Q.7.4

Use the conditional variance formula to determine the variance of a geometric random variable X having parameter p.

4 step solution

Q.7.42

It follows from Proposition 6.1 and the fact that the best linear predictor of Y with respect to X is μy + ρ σy/σx (X  μx) that if E[Y|X] = a + bX then a = μy  ρ σy/σx μx b = ρ σy σx (Why?) Verify this directly 

4 step solution

Q.7.43

Show that for random variables X and Z.

E(X-Y)2=EX2-EY2

where Y=E[XZ]

4 step solution

Q.7.45

For a standard normal random variable Z,

Show that μn=0(2j)! 2jj! 

Hint: Start by expanding the moment generating function of Z into a Taylor series about 0 to obtain

EetZ=et2/2

=j=0t2/2jj!

4 step solution

Q.7.47

Let X be a normal random variable with mean μ and variance σ2. Use the results of Theoretical Exercise 7.46 to show that

EXn=j=0[n/2]n2jμn2jσ2j(2j)!2jj!

In the preceding equation, [n/2] is the largest integer less than or equal to n/2. Check your answer by letting n = 1 and n = 2

4 step solution

Q.7.45


Verify the formula for the moment generating function of a uniform random variable that is given in Table 7.2. Also, differentiate to verify the formulas for the mean and variance. 


5 step solution

Q.7.44

Consider a population consisting of individuals able to produce offspring of the same kind. Suppose that by the end of its lifetime, each individual will have produced j new offspring with probability Pj, j0, independently of the number produced by any other individual. The number of individuals initially present, denoted by X0, is called the size of the zeroth generation. All offspring of the zeroth generation constitute the first generation, and their number is denoted by X1. In general, let Xn denote the size of the nth generation. Let μ=j=0jPj and σ2=j=0(jμ)2Pj denote, respectively, the mean and the variance of the number of offspring produced by a single individual. Suppose that X0 = 1— that is, initially there is a single individual in the population 

(a) Show that EXn=μEXn1.

(b) Use part (a) to conclude that EXn=μn

(c) Show that VarXn=σ2μn1+μ2VarXn1

(d) Use part (c) to conclude that 

VarXn=σ2μn1μn1μ1     if μ1nσ2     if μ=1

The model just described is known as a branching process, and an important question for a population that evolves along such lines is the probability that the population will eventually die out. Let π denote this probability when the population starts with a single individual. That is, 

π=P {population eventually dies out X0=1

(e) Argue that π satisfies 

π=j=0Pjπj

16 step solution

Q. 7.41

Let X be a normal random variable with parameters μ = 0 and σ2 = 1, and let I, independent of X, be such that P{I = 1} = 1 2 = P{I = 0}.  Now define Y by Y = X if I = 1 −X if I = 0 In words, Y is equally likely to equal either X or X.

(a) Are X and Y independent? 

(b) Are I and Y independent? 

(c) Show that Y is normal with mean 0 and variance 1.

(d) Show that Cov (X, Y) = 0

12 step solution

Q.7.2

An urn has n white and m black balls that are removed one at a time in a randomly chosen order. Find the expected number of instances in which a white ball is immediately followed by a black one.

4 step solution

Q.7.3

Twenty individuals consisting of 10 married couples are to be seated at 5 different tables, with 4 people at each table.

 (a) If the seating is done“at random,” what is the expected number of married couples that are seated at the same table? 

(b) If 2 men and 2 women are randomly chosen to be seated at each table, what is the expected number of married couples that are seated at the same table?

7 step solution

Q.7.4

If a die is to be rolled until all sides have appeared at least once, find the expected number of times that outcome 1 appears.


4 step solution

Q.7.5

A deck of 2n cards consists of n red and n black cards. The cards are shuffled and then turned over one at a time. Suppose that each time a red card is turned over, we win 1 unit if more red cards than black cards have been turned over by that time. (For instance, if n = 2 and the result is r b r b, then we would win a total of 2 units.) Find the expected amount that we win.

4 step solution

Q.7.6

Let A1,A2,,An be events, and let N denote the number of them that occur. Also, let I=1 if all of these events occur, and let it be 0 otherwise. Prove Bonferroni’s inequality, namely,

P(A1An)i=1nP(Ai)(n1)

Hint: Argue first that Nn1+I

6 step solution

Q.7.53

Suppose that X1, ... , Xn have a multivariate normal distribution. Show that X1, ... , Xn are independent random variables if and only if 

CovXi,Xj=0   when ij

4 step solution

Q.7.54

If Z is a standard normal random variable, what is Cov(Z, Z2)? 

3 step solution

Q.7.55

Suppose that Y is a normal random variable with mean μ and variance σ2, and suppose also that the conditional distribution of X, given that Y = y, is normal with mean y and variance 1.

(a) Argue that the joint distribution of X, Y is the same as that of Y + Z, Y when Z is a standard normal random variable that is independent of Y.

(b) Use the result of part (a) to argue that X, Y has a bivariate normal distribution. 

(c) Find E[X], Var(X), and Corr(X, Y). (d) Find E[Y|X = x]. 

(e) What is the conditional distribution of Y given that X = x? 

16 step solution

Q.7.1

7.1. Consider a list of m names, where the same name may appear more than once on the list. Let n(i), i = 1, ... , m, denote the number of times that the name in position appears on the list, and let d denote the number of distinct names on the list. 

(a) Express d in terms of the variables m, n(i), i = 1, ... , m. Let U be a uniform (0, 1) random variable, and let X = [mU] + 1

(b) What is the probability mass function of X

(c) Argue that E[m/n(X)] = d

10 step solution

Q. 7.48

If Y=a X+b where a and b are constants, express the moment generating function of Y in terms of the moment generating function of X

4 step solution

Q. 7.49

The positive random variable X is said to be a lognormal random variable with parameters μ andσ2 if log(X) is a normal random variable with mean μand variance σ2. Use the normal moment generating function to find the mean and variance of a lognormal random variable 

4 step solution

Q. 7.50

Let X have moment generating function M(t), and defineΨ(t)=logM(t). Show that Ψ''(t)t=0=Var(X).

4 step solution

Q. 7.51

Use Table 7.2 to determine the distribution of i=1nXi when X1,,Xnare independent and identically distributed exponential random variables, each having mean1/λ.

4 step solution

Q. 7.52

Show how to compute Cov(X,Y) from the joint moment generating function ofX and Y

4 step solution

Q. 7.7

Let X be the smallest value obtained when k numbers are randomly chosen from the set 1,,n. Find E[X] by interpreting X as a negative hypergeometric random variable.

4 step solution

7.11

Suppose in Self-Test Problem 7.3 that the 20 people are to be seated at seven tables, three of which have 4 seats and four of which have 2 seats. If the people are randomly seated, find the expected value of the number of married couples that are seated at the same table.

3 step solution

Q7.20

Let X be a nonnegative random variable having a distribution function F. Show that if F¯(x)=1-F(x), then

EXn=0xn-1F¯(x)dx

Hint: Start with the identity

Xn=n0Xxn-1dx


=n0xn-1IX(x)dx

where
Ix(x)=10if x<X otherwise

9 step solution

Q.7.18

Let X be the length of the initial run in a random ordering of n ones and m zeros. That is, if the first k values are the same (either all ones or all zeros), then X Ú k. Find E[X]. 

3 step solution

Q.7.19

There are n items in a box labeled H and m in a box labeled T. A coin that comes up heads with probability p and tails with probability 1 − p is flipped. Each time it comes up heads, an item is removed from the H box, and each time it comes up tails, an item is removed from the T box. (If a box is empty and its outcome occurs, then no items are removed.) Find the expected number of coin flips needed for both boxes to become empty. Hint: Condition on the number of heads in the first n + m flips.

3 step solution

Q.7.17

A total ofm items are to be sequentially distributed among n cells, with each item independently being put in a cell j with probability pj, j = 1, ...,n . Find the expected number of collisions that occur, where a collision occurs whenever an item is put into a non-empty cell.

3 step solution

Q.7.11

Suppose in Self-Test Problem 7.3 that the 20 people are to be seated at seven tables, three of which have 4 seats and four of which have 2 seats. If the people are randomly seated, find the expected value of the number of married couples that are seated at the same table. 

5 step solution

Q.7.12

Individuals 1 through n,n > 1, are to be recruited into a firm in the following manner: Individual 1 starts the firm and recruits individual 2. Individuals 1 and 2 will then compete to recruit individual 3. Once individual 3 is recruited, individuals 1,2, and 3 will compete to recruit individual 4, and so on. Suppose that when individuals 1,2,...,i compete to recruit individual i + 1, each of them is equally likely to be the successful recruiter.

(a) Find the expected number of the individuals 1,...,n who did not recruit anyone else.

(b) Derive an expression for the variance of the number of individuals who did not recruit anyone else, and evaluate it for n=5

6 step solution

Show/ page