The average annual temperature for 12 selected years in Berlin can be read from the following table:
| Year | 1890 | 1900 | 1911 | 1922 | 1930 | 1943 |
|---|---|---|---|---|---|---|
| temperature | 8.1 | 8.8 | 9.7 | 7.4 | 9.2 | 9.3 |
The second part of the table
| Year | 1966 | 1967 | 1983 | 1998 | 2000 | 2019 |
|---|---|---|---|---|---|---|
| temperature | 8.8 | 9.6 | 9.7 | 9.5 | 10.5 | 11.1 |
We will explain the temperature $Y_i$ in year $x_i$ using a simple linear regression model $$ Y_i = \beta_0 + \beta_1 x_i + \varepsilon_i, \; \; \; \; \; i = 1, ..., 12 $$ Where $\varepsilon_1, ... , \varepsilon_{12} \sim N(0, 0.5)$ are independent random variables and $\beta_0$, $\beta_1 \in \mathbb{R}$ are unknown parameters.
Is $\hat{\beta}_1$ unbiased? Find the $MSE(\hat{\beta}_1)$.
I have already found that $\hat{\beta}_0 = -23.9$ and $\hat{\beta}_1 = 0.017$. I have managed to solve it using R code, but i want to be able to do it by hand.
So far i know that $MSE(\hat{\Theta}) = E[(\hat{\Theta} - \theta)^2]$ and but i'm not sure i know what my $\hat{\Theta}$ and $\theta$ is here.
I havet tried to find information in my book about how i determine if $\hat{\beta}_1$ is unbiased, but haven't been able to find anything yet?
The MLE is indeed unbiased. In fact, more is true. We have $$ \hat \beta = (X^TX)^{-1}X^Ty$$ Thus $$E(\hat \beta \mid X) = (X^TX)^{-1}X^T E(y\mid X) = (X^TX)^{-1}X^TX\beta = \beta$$ Taking expectations on both sides shows $E(\hat \beta) = \beta$. Note the only assumptions we have used are $X^TX$ is invertible and $E(y\mid X) = X\beta$.