# Weighted least squares

Consider the estimator $b_1=\frac{\sum y_i}{\sum x_i}$. Suppose that $y_i = \beta x_i + \epsilon_i$, $E[\epsilon_i]=0$, $E[\epsilon_i \epsilon_j] (i \neq j)$ and $E[\epsilon_i^2]=\sigma_i^2$. Find a model for the variance of $b_1$ for which th estimator is BLUE.

The answer is supposed to be:

$v_i=x_i$ and $\sigma_i^2=\sigma^2 x_i$

Update:
I tried computing the variance of $b_1$. I get: $${\rm Var}(b_1)=\frac 1 {(∑x^2_i)^2}∑x^2_i\ {\rm Var}(\varepsilon_i)$$ I don't see however how I could proceed from here or whether this was the right thing to do.

• Please see the self-study tag wiki. Jul 4, 2014 at 10:26
• Can you say a little about what you have tried / understand so far? Jul 4, 2014 at 11:52
• @gung I tried computing the variance of $b_1$. I get that $\operatorname{Var}(b_1)=\frac{1}{(\sum x_i^2)^2} \sum x_i^2 \operatorname{Var}(\epsilon_i)$. I don't see however how I could proceed from here or whether this was the right thing to do. Jul 5, 2014 at 8:35
• Should the definition of $b_1$ be different from what you have in the first line (e.g. should it have summation over $i$ or something?) Jul 5, 2014 at 14:58
• @Glen_b Big sorry. That's really sloppy. I edited the OP. Jul 5, 2014 at 15:01

For weighted regression through the origin, I presume you either know or can show that $b_1=\frac{\sum_i w_ix_iy_i}{\sum_i w_ix_i^2} = \frac{\sum_i (w_ix_i)y_i}{\sum_i (w_ix_i)x_i}$
Since in this case $b_1=\frac{\sum_i y_i}{\sum x_i}$, you can see by inspection that the weights must be such that $w_ix_i$ is a constant.