Explain why $E(X)=1.65$ and $Var(X)=1.64$

183 Views Asked by At

Let $U$ be uniformly distributed on the interval [$\frac{1}{3},1$]. Let $X$ be a random variable such that the conditional distribution of $X$ given $U=p$ is Geometric with parameter $p$.

(a) Find expressions for $E(X|U)$ and $Var(X|U)$

(b) Using your answer for (a) explain why $E(X)=1.65$ and $Var(X)=1.64$

I'm getting confused about the two different distributions in this problem. How do I approach this question?

1

There are 1 best solutions below

2
On BEST ANSWER

a) It is given that $X_{|U=p} \sim Geo(p)$, so $E[X|U=p] = \frac{1}{p}$ and $Var[X|U=p] = \frac{1-p}{p^2}$.

b) Using the total expectation and total variance:

$$ E[X] = E[E[X|U]] = E\left[\frac{1}{u} \right] = \int_{1/3}^1\frac{1}{u}\frac{3}{2}du = \frac{3}{2}(0 + \ln(3)) \approx 1.65 $$ For the variance of $X$ use the total variance formula, i.e., \begin{align} Var(X) &= E(Var(X|U)) + Var(E(X|U))\\ &= E\left[\frac{1-u}{u^2}\right] + Var\left[\frac{1}{u}\right]\\ & =\int_{1/3}^1\frac{1-u}{u^2}\frac{3}{2}du + \int_{1/3}^1\frac{1}{u^2}\frac{3}{2}du - 1.65^2 \end{align}