Let $\{X_i : i = 1, 2, \dots ,n\}$ be independent random variables with finite second moments. They are not necessarily identically distributed. They do have the same mean,$\mu=E(X_i)$ for all i, but possibly different variances, $\sigma^2_i > 0$. Assume these variances are known. Let $p$ be the estimator that solves the problem $\min \Sigma[(X_i-m)^2/\sigma^2_i]$ with respect to $m$. Each squared term is weighted by the inverse of the variance. Show that $p = \Sigma(w_i X_i)$ for weights $w_i > 0$ such that $\Sigma w_i = 1$.
I know we have must find the weights. I get the weights as follows: $w_i = {(\Sigma[1/\sigma^2_i])}^{-1} / \sigma^2_i$.
Is this right?
Thanks!