I'm reviewing old exams in preparation for a statistics final, and I'm stuck on a particular question:
Suppose that you have n independent random variables $Y_i$, with each distributed normal with expected value $\beta x_i$ and known variance $\sigma^2$. Further suppose that the $x_i$ are known constant values, and define the likelihood as $\mathcal{L}(\beta; y) = \frac{f(y ; \beta)}{f(y ; \hat{\beta})}$, where $\hat{\beta}$ is the maximum likelihood estimate for $\beta$.
- Show that $\hat{\beta} = \frac{\sum_{i=1}^n x_i y_i}{\sum_{i=1}^n x_i^2}$
- Find the sampling distribution of the MLE
- Show that the sampling distribution of $-2\ln(\mathcal{L}(\beta; y))$ is Chi-squared with 1 df
I had no problem with (1), but I'm unsure about (2) and (3).
For (2), I rewrote (1) as $\sum_{i=1}^n k_i y_i$ where the $k_i$ are constants and equal to $\frac{x_i}{\sum_{i=1}^n x_i^2}$. I then used linearity of expectation to say that the expected value of the sampling distribution is $\sum_{i=1}^n k_i \beta x_i$. For the variance, I believe it would be $\mathrm{Var}(\sum_{i=1}^n k_i y_i) = \sum_{i=1}^n \mathrm{Var} (k_i y_i)$ because of independence. Therefore, the variance of the sampling distribution should be $\sigma^2 \sum_{i=1}^n k_i^2$. Since the $y_i$'s are normal, their sum should be normal, so the sampling distribution is $N(\sum_{i=1}^n k_i \beta x_i, \sigma^2 \sum_{i=1}^n k_i^2)$.
For (3), I'm not sure where to start. Using the definition of $\mathcal{L}(\beta; y)$ above, I simplified to be $$\mathcal{L}(\beta; y) = \exp \left[ \frac{1}{2\sigma^2} \left(2\beta \sum_{i=1}^n x_i y_i - \beta^2 \sum_{i=1}^nx_i^2 - \frac{(\sum_{i=1}^n x_i y_i)^2}{\sum_{i=1}^n x_i^2} \right) \right]$$ So $-2\ln \mathcal{L}(\beta; y)$ would be $$ \frac{-1}{\sigma^2} \left(2\beta \sum_{i=1}^n x_i y_i - \beta^2 \sum_{i=1}^nx_i^2 - \frac{(\sum_{i=1}^n x_i y_i)^2}{\sum_{i=1}^n x_i^2} \right)$$ but I'm not seeing how this is a chi-squared distribution with 1 degree of freedom.
I realize this is a long post, but I'd appreciate any hints or clarifications on either subproblem.