The expression of V[b1] deserves closer examination. It says that larger error term variance makes it harder to estimate β1, whereas a greater spread in the observed Xi's increases the precision of the estimator.
The unbiasedness of b1 uses the following assumption:
Zero conditional mean
The induction of V[b1] uses the following assumptions:
εi's are non-correlated
Equal variances
It is easy to see that b1 is normally distributed. So
σ/Sxxb1−β1∼N(0,1)
And because s2=n−2SSE satisfies
σ2(n−2)s2∼χn−22,s2⊥b1
so
s/Sxxb1−β1∼tn−2
We can use it to perform hypothesis testing and construct confidence intervals.
▶
conclusions concerning s^2
Chi-square distribution:
Let
X=11⋮1X1X2⋮Xn
Then Y^=HY, where
H=X(XTX)−1XT
thus
e=Y−Y^=(I−H)Y=(I−H)(Xβ+ε)=(I−H)ε
where the last equality follows because I−H is the orthogonal projection matrix onto R(X)⊥.
So
SSE=eTe=εT(I−H)T(I−H)ε=εT(I−H)ε
Since I−H is symmetric and has rank n−2, so there exists an orthogonal matrix Q such that
I−H=QΛQT
and because I−H=(I−H)2, Λ=(In−2O).
Note that σε∼N(0,In) and orthogonal transformations preserve the joint standard normal distribution and hence the independence of its components (Cov(AX,BY)=ACov(X,Y)BT), so QTσε∼N(0,In).
Finally,
σ2(n−2)s2=σ2SSE=Z12+⋯+Zn−22∼χn−22
where Zi∼i.i.d.N(0,1).
As for the independence, we can first see that b−β=(XTX)−1XTε, which is a linear combination of εi's, and s2 is a function of (I−H)ε which is also a linear combination of εi's. As εi∼i.i.d.N(0,1), b−β,(I−H)ε are jointly multivariate normal. So we only need to justify Cov(b−β,(I−H)ε)=0. Fortunately,
Cov(b−β,(I−H)ε)=(XTX)−1XT⋅σ2⋅(I−H)T=0
because (I−H)X=O (projecting itself to its own orthogonal complement)
Testing Correlation
Let (xi,yi) be a bivariate normal random sample of size n, then
E[Y∣X=x]=(μY−ρσXσYμX)+ρσXσYx
Note that b1=SxxSxy=SxxSyySxy⋅SxxSyy=rσ^Xσ^Y,
Testing H0:ρ=0 is equivalent to testing H0:β1=0
We'll show in next lecture that
t=1−r2rn−2∼tn−2
More appropriate when it is not sure which variable is the response.
Inference Concerning β0
Similarly, can show that
b0∼N(β0,σ2(b0))
where
σ2(b0)=σ2⋅(n1+SxxXˉ2)
t-statistic under H0:β0=0
s(b0)b0−0∼tn−2
where
s(b0)=sn1+SxxXˉ2
Remarks
Inference concerning β0 is usually not of interest, because shift in X causes shift in β0, and X=0 may not be in the scope (the range of the explanatory variable).
OLS Estimators Are BLUE
For an independent random sample (Y1,…,Yn) from a population with mean μ, the sample mean Yˉ was shown to be a best linear unbiased estimator of μ.
b1 is BLUE
Let b1=∑ciYi, where ci=SxxXi−Xˉ.
Take any other linear estimator of β1:
β~1=∑wiYi,wi=ci+di,
where di are arbitrary constants (functions of the Xi's only).
Unbiasedness constraints.
E[β~1]=β0∑wi+β1∑wiXi.
For this to equal β1 for all β1,β0 we need ∑wi=0 and ∑wiXi=1. Since ci already satisfies these, we need
when β1=0, we can just define the power as α so it is easy to compute the power. But when β1=0, we don't know the distribution of
T=s(b1)b1
Non-Central t-Distribution
First introduce the non-central t-distribution:
If Z∼N(0,1),U∼χk2, and Z⊥U then
U/kZ+δ∼t(k,δ)
which is a non-central t-distribution with df k and the non-centrality parameter δ.
So
T=s(b1)b1−β1+β1∼t(n−2,σ(b1)β1)
With this we can compute power(β1).
Note that the non-central t-distribution is asymmetric, however the asymmetry becomes smaller the larger degree of freedom.
In order to calculate power(β1), we need to know or assume σ(b1) from prior knowledge or pilot study.
▶
Why Non-Central t-Distribution?
Since
T=s(b1)b1−β1+s(b1)β1
and the former part follows tn−2, why don't we just calculate the power like following ?
The reason is that the term s(b1)β1 is an r.v.. Though the left part of the inequality follows t-distribution, the randomness of the right part cannot be ignored.
How to Increase the Power
It is equivalent to ask when s(b1)∣b1∣ is more likely to be large enough.
∣b1∣ tends to be large when the non-centrality is significant, i.e., β1 is far from the null value
s(b1)=Sxxs is small when Sxx is large → increase the sample size.