Professional Documents
Culture Documents
𝑛 𝑋1𝑖 … 𝑋𝑘𝑖
𝑖=1 𝑖=1
𝑛 𝑛 𝑛
2
= 𝑋1𝑖 𝑋1𝑖 … 𝑋1𝑖 𝑋𝑘𝑖
𝑖=1 𝑖=1 𝑖=1
⋮ ⋮ ⋮ ⋮
𝑛 𝑛 𝑛
2
𝑋𝑘𝑖 𝑋1𝑖 𝑋𝑘𝑖 … 𝑋𝑘𝑖
𝑖=1 𝑖=1 𝑖=1
Distribution of 𝛽
We know that
𝛽 = (X’X)−1X’Y.
The only random variable involved is Y, so the distribution of 𝛽 is based
on the distribution of Y.
Since Y ∼ N(Xβ,σ2I),
we have E(𝛽) = (X’X) −1 X’Xβ = β
σ2𝛽 = Cov(𝛽) = σ2 (X’X) −1
Since σ2 is estimated by the MSE, s2, σ2𝛽 is estimated by s2(X’X)−1.
ANOVA Table
Sources of variation are:
Regression
Error (Residual)
Total
Source df SS MS F
Regression P-1=k+1 – 1 = k RSS MSR = RSS/(p – 1) MSR/MSE
Error n–p=n–2 SSE MSE = SSE / (n – p)
Total n–1
Inference for Individual Regression Coefficients
• Confidence Interval for 𝛽 1
• We know that 𝛽 1∼ N(β, σ2(X’X)−1)
• Define var{𝛽 1}p×p = 𝜎2(X’X)−1 = MSE × (X’X) −1
• CI for β1:
23 3 8 6562
15 2 7 4569
24 4 9 6897
29 5 4 7562
31 7 6 8234
25 3 10 7485