Question 3.6.1
Let \(X \ \vert\ \Theta \sim {\mathrm{Binom}}(4, \Theta)\) and let \(\Theta \sim {\mathrm{Unif}}(0, 1)\).
- Let \(g(\Theta) = \mathbb{E}[X \ \vert\ \Theta]\) and consider the transformed variable \(Y = e^{g(\Theta)}\). Establish a lower bound on \(\mathbb{E}[Y]\). Show all of your work and the inequality you use. Hint: \(h(x) = e^x\) is a convex function.
Recall Jensen’s inequality, which says that for a convex function \(f\), \(f(\mathbb{E}[X]) \le \mathbb{E}[f(X)]\). The function \(h(x) = e^x\) is convex (its second derivative \(e^x\) is positive), so we can apply Jensen’s inequality to the random variable \(g(\Theta)\):
\[
\begin{aligned}
\mathbb{E}[Y] &= \mathbb{E}[e^{g(\Theta)}]\\
&\ge e^{\mathbb{E}[g(\Theta)]}\\
&= e^{\mathbb{E}[\mathbb{E}[X \ \vert\ \Theta]]}\\
&= e^{\mathbb{E}[X]}\\
&= e^{2}\\
&= 7.389
\end{aligned}
\]
Here the step \(\mathbb{E}[\mathbb{E}[X \ \vert\ \Theta]] = \mathbb{E}[X]\) is the law of total expectation, and \(\mathbb{E}[X] = 2\) comes from Question 3.5.2(a) (since \(\mathbb{E}[X \ \vert\ \Theta] = 4\Theta\) and \(\mathbb{E}[\Theta] = 1/2\)).
Therefore, \(\mathbb{E}[Y] \ge 7.389\).
- Find an upper bound on \(P(|X - 2| \ge 3)\). Show your work and name the inequality you use.
Chebyshev’s inequality says that for any random variable with finite mean and variance, and any \(a > 0\),
\[
P(|X - \mathbb{E}(X)| \ge a) \le \frac{\operatorname{Var}(X)}{a^2}.
\]
From Question 3.5.2, \(\mu = \mathbb{E}[X] = 2\) and \(\operatorname{Var}(X) = 2\). So with \(a = 3\),
\[
\begin{aligned}
P(|X - 2| \ge 3) &\le \frac{2}{3^2}\\
&= 2/9 \\
&= 0.2222
\end{aligned}
\]
Remark: the bound is valid but loose. Since \(X\) is Binomial\((4, \Theta)\), it only takes values in \(\{0, 1, 2, 3, 4\}\), so \(|X - 2| \le 2\) always, and the true probability is \(0\).
Question 3.6.2
Let \(Z \sim \text{Poisson}(3)\). Use Markov’s inequality to find an upper bound on \(\mathbb{P}(Z \ge 7)\).
Markov’s inequality says that if \(Z \ge 0\) and \(a > 0\), then
\[
\mathbb{P}(Z \ge a) \le \frac{\mathbb{E}[Z]}{a}.
\]
A Poisson random variable is nonnegative, and \(\mathbb{E}[Z] = 3\). Taking \(a = 7\),
\[
\mathbb{P}(Z \ge 7) \le \frac{3}{7} \approx 0.4286.
\]
Side note: the exact probability is much smaller:
\[
\mathbb{P}(Z \ge 7) = 1 - \sum_{k=0}^{6} \frac{e^{-3}3^k}{k!} \approx 1 - 0.9665 = 0.0335.
\]
Markov’s inequality uses only the mean, so it is often far from being a “tight” bound.
Question 3.6.3
Let \(X \sim \text{Exponential}(5)\) (rate \(5\), so \(\mathbb{E}[X] = 1/5\)). Use Markov’s inequality to find an upper bound on \(\mathbb{P}(X \ge 3)\), and compare it with the exact value.
Since \(X \ge 0\) and \(\mathbb{E}[X] = 1/5\), Markov’s inequality with \(a = 3\) gives
\[
\mathbb{P}(X \ge 3) \le \frac{\mathbb{E}[X]}{3} = \frac{1/5}{3} = \frac{1}{15} \approx 0.0667.
\]
The exact value is:
\[
\mathbb{P}(X \ge 3) = \int_3^\infty 5e^{-5x}\,dx = e^{-15} \approx 3.06 \times 10^{-7}.
\]
The Markov bound is much larger than the actual probability.
Question 3.6.4
Let \(X \sim \text{Geometric}(1/2)\), where \(\mathbb{P}(X = k) = (1/2)^{k+1}\) for \(k = 0, 1, 2, \dots\) (the number of failures before the first success). For this distribution, \(\mathbb{E}[X] = 1\) and \(\operatorname{Var}(X) = 2\).
- Use Markov’s inequality to find an upper bound on \(\mathbb{P}(X \ge 9)\).
By Markov’s inequality with \(a = 9\),
\[
\mathbb{P}(X \ge 9) \le \frac{\mathbb{E}[X]}{9} = \frac{1}{9} \approx 0.111.
\]
Remark: the exact value is \(\mathbb{P}(X \ge 9) = (1/2)^9 = 1/512 \approx 0.00195\), using \(\mathbb{P}(X \ge k) = (1 - \theta)^k\) for a Geometric\((\theta)\).
- Use Markov’s inequality to find an upper bound on \(\mathbb{P}(X \ge 2)\).
By Markov’s inequality with \(a = 2\),
\[
\mathbb{P}(X \ge 2) \le \frac{\mathbb{E}[X]}{2} = \frac{1}{2}.
\]
The exact value is \(\mathbb{P}(X \ge 2) = (1/2)^2 = 1/4\).
- Use Chebyshev’s inequality to find an upper bound on \(\mathbb{P}(|X - 1| \ge 1)\).
Chebyshev’s inequality with \(\mu = 1\), \(\operatorname{Var}(X) = 2\) and \(a = 1\) gives
\[
\mathbb{P}(|X - 1| \ge 1) \le \frac{\operatorname{Var}(X)}{1^2} = \frac{2}{1} = 2.
\]
This is a useless bound, since every probability is at most \(1\).
Question 3.6.5
Let \(Z \sim N(5, 9)\) (mean \(5\), variance \(9\)). Use Chebyshev’s inequality to find an upper bound on \(\mathbb{P}(|Z - 5| \ge 30)\).
Here \(\mu = 5\) and \(\operatorname{Var}(Z) = 9\), so \(\sigma = 3\). Chebyshev’s inequality with \(a = 30\) gives
\[
\mathbb{P}(|Z - 5| \ge 30) \le \frac{\operatorname{Var}(Z)}{30^2} = \frac{9}{900} = \frac{1}{100} = 0.01.
\]
Question 3.6.6
Let \(X \sim \text{Geometric}(1/11)\), where \(\mathbb{P}(X = k) = (1 - \theta)^k\theta\) for \(k = 0, 1, 2, \dots\) and \(\theta = 1/11\). Use Jensen’s inequality to find a lower bound on \(\mathbb{E}[X^4]\) in two different ways.
- Apply Jensen’s inequality to \(X\) with \(f(x) = x^4\).
For a Geometric\((\theta)\) on \(\{0, 1, 2, \dots\}\), \(\mathbb{E}[X] = (1 - \theta)/\theta\). With \(\theta = 1/11\),
\[
\mathbb{E}[X] = \frac{10/11}{1/11} = 10.
\]
The function \(f(x) = x^4\) is convex (its second derivative \(12x^2\) is nonnegative), so Jensen’s inequality gives
\[
\mathbb{E}[X^4] \ge (\mathbb{E}[X])^4 = 10^4 = 10{,}000.
\]
- Apply Jensen’s inequality to \(X^2\) with \(f(x) = x^2\).
First find \(\mathbb{E}[X^2]\). The variance of a Geometric\((\theta)\) on \(\{0, 1, 2, \dots\}\) is \((1 - \theta)/\theta^2\), so
\[
\operatorname{Var}(X) = \frac{10/11}{(1/11)^2} = \frac{10}{11}\cdot 121 = 110,
\]
and therefore
\[
\mathbb{E}[X^2] = \operatorname{Var}(X) + (\mathbb{E}[X])^2 = 110 + 100 = 210.
\]
Now apply Jensen’s inequality with the convex function \(f(x) = x^2\) to the random variable \(X^2\):
\[
\mathbb{E}[X^4] = \mathbb{E}[(X^2)^2] \ge (\mathbb{E}[X^2])^2 = 210^2 = 44{,}100.
\]
Comparison: the second approach gives a much stronger lower bound (\(44{,}100\) versus \(10{,}000\)). It uses more information about the distribution (the variance as well as the mean).
Question 3.6.7
Suppose \(\operatorname{Var}(X) = 4\) and \(\operatorname{Var}(Y) = 9\).
- What is the largest possible value of \(\operatorname{Cov}(X, Y)\)?
The Cauchy-Schwarz inequality says
\[
|\operatorname{Cov}(X, Y)| \le \sqrt{\operatorname{Var}(X)\operatorname{Var}(Y)} = \sqrt{4 \cdot 9} = 6.
\]
So the largest possible value of \(\operatorname{Cov}(X, Y)\) is \(6\). (Equivalently, \(\text{Corr}(X, Y) \le 1\).) It is attained when \(Y\) is an increasing linear function of \(X\) with the right scale, for example \(Y = \tfrac{3}{2}X + c\), since then \(\operatorname{Var}(Y) = \tfrac{9}{4}\cdot 4 = 9\) and \(\operatorname{Cov}(X, Y) = \tfrac{3}{2}\cdot 4 = 6\).
- What is the smallest possible value of \(\operatorname{Cov}(X, Y)\)?
From the same inequality, \(-6 \le \operatorname{Cov}(X, Y)\), so the smallest possible value is \(-6\). It is attained when \(Y\) is a decreasing linear function of \(X\), for example \(Y = -\tfrac{3}{2}X + c\).
- Let \(Z = \tfrac{3}{2}X\). Compute \(\operatorname{Var}(Z)\) and \(\operatorname{Cov}(X, Z)\), and compare with your answer to part (a).
Using \(\operatorname{Var}(aX) = a^2\operatorname{Var}(X)\) and \(\operatorname{Cov}(X, aX) = a\operatorname{Var}(X)\) with \(a = 3/2\):
\[
\begin{aligned}
\operatorname{Var}(Z) &= \left(\tfrac{3}{2}\right)^2 \cdot 4 = 9,\\
\operatorname{Cov}(X, Z) &= \tfrac{3}{2} \cdot 4 = 6.
\end{aligned}
\]
So \(Z\) has the same variance as \(Y\) (\(\operatorname{Var}(Z) = 9\)), and \(\operatorname{Cov}(X, Z) = 6\) equals the largest possible value from part (a). This is exactly the Cauchy-Schwarz bound \(\sqrt{\operatorname{Var}(X)\operatorname{Var}(Z)} = \sqrt{4 \cdot 9} = 6\), so \(\text{Corr}(X, Z) = 1\). The upper bound in (a) is attained because \(Z\) is an exact increasing linear function of \(X\).
- Let \(Z = -\tfrac{3}{2}X\). Compute \(\operatorname{Var}(Z)\) and \(\operatorname{Cov}(X, Z)\), and compare with your answer to part (b).
Now \(a = -3/2\):
\[
\begin{aligned}
\operatorname{Var}(Z) &= \left(-\tfrac{3}{2}\right)^2 \cdot 4 = 9,\\
\operatorname{Cov}(X, Z) &= -\tfrac{3}{2} \cdot 4 = -6.
\end{aligned}
\]
Again \(\operatorname{Var}(Z) = 9\), and \(\operatorname{Cov}(X, Z) = -6\) equals the smallest possible value from part (b). Here \(\text{Corr}(X, Z) = -1\), because \(Z\) is an exact decreasing linear function of \(X\). The lower bound in (b) is attained.