Chapter 3

Expectation. Variance. Moments

[25/100%]
Show
LaTeX
Problem 101

Show that the integral ∫−∞+∞∣x−m∣f(x) dx\int_{-\infty }^{+\infty } \left|x - m\right| f(x)\, dx becomes minimum when mm is the median of the distribution with density ff.

?
Problem 102

Let f(x)f(x) denote the density function of the random variable XX. Suppose that XX has a symmetric distribution about aa, that is, f(x+a)=f(a−x)f(x + a) = f(a - x) for every xx. Show that the mean E[X]\mathbb {E}\left[X\right] equals aa, provided it exists.

?
Problem 103

Show that E[XY]2≤E[X2]E[Y2]\mathbb {E}\left[XY\right]^{2} \leq \mathbb {E}\left[X^{2}\right] \mathbb {E}\left[Y^{2}\right] provided the second moments exist.

?
Problem 104

Show that ∣E[X]∣≤E[∣X∣]\left|\mathbb {E}\left[X\right]\right| \leq \mathbb {E}\left[\left|X\right|\right].

?
Problem 105

For every set AA of real numbers, we define the indicator function by

IA(x)={1,if x∈A,0,if x∉A. I_{A}(x) = \begin{cases} 1, & \text{if } x \in A, \\ 0, & \text{if } x \notin A. \end{cases}

Show that

P(A)=E[IA(X)]=∫AdFX(x). \mathbb {P}\left(A\right) = \mathbb {E}\left[I_{A}(X)\right] = \int _{A} dF_{X}(x).
?
Problem 106

If E[X]=E[X2]=0\mathbb {E}\left[X\right] = \mathbb {E}\left[X^{2}\right] = 0, show that P(X=0)=1\mathbb {P}\left(X = 0\right) = 1.

?
Problem 107

Show that the mean μ\mu of a random variable XX has the property

min⁡cE[(X−c)2]=E[(X−μ)2]=Var⁡[X]. \min _{c} \mathbb {E}\left[(X - c)^{2}\right] = \mathbb {E}\left[(X - \mu )^{2}\right] = \operatorname {Var}\left[X\right].
?
Problem 108

Show that for a continuous random variable XX with density function ff and cumulative distribution function FF

μ=E[X]=∫0+∞[1−F(x)] dx−∫−∞0F(x) dx. \mu = \mathbb {E}\left[X\right] = \int _{0}^{+\infty } [1 - F(x)]\, dx - \int _{-\infty }^{0} F(x)\, dx.

Consequently, in the graph below μ=area⁡(A)−area⁡(B)\mu = \operatorname {area}(A) - \operatorname {area}(B).

?
Problem 109

If the nnth moment of the random variable XX with distribution function FF exists, show that

E[(X−c)k]=k∫c∞(x−c)k−1[1−F(x)] dx−k∫−∞c(x−c)k−1F(x) dx,1≤k≤n. \mathbb {E}\left[(X - c)^{k}\right] = k \int _{c}^{\infty } (x - c)^{k-1} [1 - F(x)]\, dx - k \int _{-\infty }^{c} (x - c)^{k-1} F(x)\, dx, \qquad 1 \leq k \leq n.
?
Problem 110

Show that the first nn moments determine the first nn central moments and, conversely, that the first nn central moments with the mean determine the first nn moments.

?
Problem 111

If XX is bounded, i.e., there is a constant k<∞k < \infty such that P(∣X∣≤k)=1\mathbb {P}\left(\left|X\right| \leq k\right) = 1, then XX has moments of every order.

?
Problem 112

If the nn-order moment μn′\mu_{n}' exists, then show that there exist all μk′\mu_{k}' (k=1,2,…,n−1k = 1, 2, \ldots , n - 1).

?
Problem 113

Show that a necessary condition for the mean of a random variable with distribution function FF to exist is that

lim⁡x→−∞xF(x)=lim⁡x→+∞x[1−F(x)]=0. \lim _{x \to -\infty } x F(x) = \lim _{x \to +\infty } x [1 - F(x)] = 0.
?
Problem 114

In a lottery, nn numbers are selected from the NN numbers 1,2,…,N1, 2, \ldots , N. Find the variance of the sum SnS_{n} of the selected numbers.

?
Problem 115

An urn contains N1N_{1} white balls and N2N_{2} black balls; nn balls are drawn at random,

?
(a)

with replacement,

(b)

without replacement.

What is the expected number of white balls in the sample?

Problem 116

A student takes a multiple-choice test consisting of two problems. The first one has 3 possible answers and the second one has 5. The student chooses, at random, one answer as the right one from each of the two problems. Find:

?
(a)

the expected number, E[X]\mathbb {E}\left[X\right], of the right answers XX of the student;

(b)

the Var⁡[X]\operatorname {Var}\left[X\right].

Generalize.

Problem 117

In a lottery that sells 3,000 tickets the first lot wins $1,000, the second $500, and five other lots that come next win $100 each. What is the expected gain of a man who pays 1 dollar to buy a ticket?

?
Problem 118

A die is thrown until the result ``ace or even number'' appears three times. Find the expected number of throws:

?
(a)

in one performance of the experiment;

(b)

in ten repetitions.

Problem 119

AA pays 1 dollar for each participation in the following game: three dice are thrown; if one ace appears he gets 1 dollar, if two aces appear he gets 2 dollars and if three aces appear he gets 8 dollars; otherwise he gets nothing. Is the game fair, i.e., is the expected gain of the player zero? If not, how much should the player receive when three aces appear to make the game fair?

?
Problem 120

A player has 15 dollars. If heads appear on the first toss he receives 1 dollar and he withdraws from the game. If tails appear he bets 2 dollars and if he wins the second toss he withdraws; otherwise he continues playing on a bet of 4 dollars. If he loses, he bets the remaining amount of 8 dollars. What is the expected gain of the player?

?
Problem 121

Of the parcels mailed abroad 10 never reach their destination. Two books may be sent separately or in a single parcel. Each book is worth $2. The postage for each book sent separately is 10¢ and for both books in a single parcel 15¢. For each of the two ways of mailing, find:

?
(a)

the probability that both books reach their destination;

(b)

the probability that at least one book reaches its destination;

(c)

the expected net (after postage) value of the commodities reaching their destination.

For each of the three criteria (a), (b), and (c), which way of mailing is preferable?

Problem 122
?
(a)

Two indentical coins are thrown once in such a way that if one shows heads so does the other (dependent). Let P(heads)=p\mathbb {P}\left(\text{heads}\right) = p and XX be the total number of heads that appear. Find the mean and the variance of the random variable XX.

(b)

Two different coins with probabilities of heads p1p_{1} and p2p_{2} are thrown independently. Find the mean and the variance of the random variable XX as defined in (a).

Problem 123

Let XX be a random variable with distribution function

F(x)={1−0.8e−x,x≥0,0,x<0. F(x) = \begin{cases} 1 - 0.8 e^{-x}, & x \geq 0, \\ 0, & x < 0. \end{cases}

Plot the graph of F(x)F(x) and then evaluate E[X]\mathbb {E}\left[X\right]. Give an example of a random variable XX that has the above distribution.

?
Problem 124

If the random variable XX is N(μ,1)\mathscr {N}\left(\mu , 1\right), show that the random variable Y=[1−Φ(X)]/φ(X)Y = [1 - \Phi (X)]/\varphi (X), where Φ\Phi and φ\varphi denote the distribution function and the density of N(0,1)\mathscr {N}\left(0, 1\right), respectively, has mean value 1/μ1/\mu.

?
Problem 125

The truncated Poisson distribution with the zero class missing has probability function

P(X=k)=λk(eλ−1)k!,k=1,2,…. \mathbb {P}\left(X = k\right) = \frac{\lambda ^{k}}{(e^{\lambda } - 1) k!}, \qquad k = 1, 2, \ldots .

Find E[X]\mathbb {E}\left[X\right] and Var⁡[X]\operatorname {Var}\left[X\right].

?