Prob-1
b1E[b1]=SxxSxy=β1+∑SxxXi−Xˉεi⇓=β1
b0E[b0]=yˉ−b1xˉ=β0+β1xˉ+εˉ−b1xˉ⇓=β0
E[SSE]=E[i=1∑Nei2]=E[i=1∑N[yi−(yˉ−SxxSxyxˉ+SxxSxyxi)]2]=E[i=1∑N(yi−yˉ−SxxSxy(xi−xˉ))2]=E[Syy−β^12Sxx]
Since
Syy=β12Sxx+i=1∑N(εi−εˉ)2+2i=1∑Nβ1(xi−xˉ)(εi−εˉ),
we have
E[Syy]=β12Sxx+(n−1)σ2
And
E[β^12Sxx]=SxxE[β^12]=Sxx(Sxxσ2+β12)
So
E[SSE]=(n−2)σ2
Prob-2
Let b0=∑aiYi, where ai=N1+SxxXˉ(Xi−Xˉ)
Take any other linear estimator of β0:
β~0=∑wiYi,wi=ai+di,
Unbiasedness requires
∑di=0,∑diXi=0.
which leads to ∑aidi=0
Let's see the variance:
V[β~0]=σ2∑(ai+di)2=σ2(∑ai2+∑di2)≥σ2∑ai2=V[b0]
The equality holds iff di=0 ∀i.
So b0 is the best among them.
Prob-3
a.
The estimated regression function is
y^=10.2+4x

It appears good.
b.
14.2
c.
4
d.
Xˉ=1Yˉ=14.2
14.2=Yˉ=10.2+4Xˉ=10.2+4
Prob-4
a.

95% CI
[b1±t0.975,8⋅s(b1)]=[2.918,5.082]
Interpretation:
Keep sampling and calculate the CI, 95% of the CIs cover the real value.
b.
H0Ha:β1=0:β1=0
Test statistic:
t=s(b1)b1=4.0/0.469=8.53
Decision rule:
reject if ∣t∣>t0.975,8=2.306
Conclusion: there is a linear association.
P value is 0.0000275.
c.
95% CI
[b0±t0.975,8s(b0)]=[8.670,11.730]
Interpretation:
Keep sampling and calculate the CI, 95% of the CIs cover the real value.
d.
Alternatives
H0Ha:β0≤9:β0>9
Test statistic
t=s(b0)b0−9=1.809
Decision rule: reject if t>t0.975,8=2.306
Conclusion: At the 0.025 significance level there is not sufficient evidence that the mean number of broken ampules with no transfers exceeds 9.0.
P-value: 0.054
e.
If β1=2.0,
s(b1)b1∼t(8,.52)
the power is
P(s(b1)∣b1∣>2.306)=0.9367
If β0=11,
s(b0)b0−9∼t(8,.7511−9)
the power is
P(s(b0)b0>2.306)=0.648