For an exercise I need to calculate $\mathbb{E}[X]$ with a Monte Carlo simulation. I need to use control variate $Y$ with $\text{Var}(Y)=2$ and $\text{Cov}(X,Y)=1$.
I am asked to give the optimale choice for $\theta$ in the following formula:
$Z_{\theta}=X+\theta(\mathbb{E}[Y]-Y)$ by making the variance of the stochast $Z_{\theta}$ as small as possible.
I assume you start by rewriting $\text{Var}(Z_{\theta})$, this is what I did:
$\text{Var}(X+\theta(\mathbb{E}[Y]-Y))$
$=\text{Var}(X)+\text{Var}(\theta(\mathbb{E}[Y]-Y)) + 2\text{Cov}(X,\theta(\mathbb{E}[Y]-Y))$
$= \text{Var}(X) +\theta^2\text{Var}(\mathbb{E}[Y]-Y) +2\theta \text{Cov}(X,\mathbb{E}[Y]) -2\theta\text{Cov}(X,Y) $
$= \text{Var}(X) +\theta^2\text{Var}(\mathbb{E}[Y]) +\theta^2\text{Var}(Y) -\theta^2\text{Cov}(\mathbb{E}[Y], Y) +2\theta \text{Cov}(X,\mathbb{E}[Y]) -2\theta\text{Cov}(X,Y) $
Since I can't rewrite the formula any further, I inserted the variables. This gave:
$= \text{Var}(X) +\theta^2\text{Var}(\mathbb{E}[Y]) +2 \theta^2 -\theta^2\text{Cov}(\mathbb{E}[Y], Y) +2\theta \text{Cov}(X,\mathbb{E}[Y]) -2\theta $
I don't know however how to go on from here, without the value of $\mathbb{E}[X]$. Am I doing something wrong?