
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Class: Introduction to Mathematical Statistics; Subject: STATISTICS; University: University of Wisconsin - Madison; Term: Fall 2004;
Typology: Study notes
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Yj ∼ N (β 0 + β 1 xj , σ^2 ).
The density function for Yj are
f (yj ) =
2 πσ
exp
[ (^) (yj − β 0 − βj xj ) 2 2 σ^2
The loglikelihood is
L(β 0 , β 1 ) = const −
2 σ^2
∑^ n
j=
(yj − β 0 − β 1 xj )^2.
We maximize the loglikelihood which is equivalent to minimizing the sum of the residuals
1 2 σ^2
∑^ n
j=
(yj − β 0 − β 1 xj )^2.
Hence MLE is LSE in linear regression.
β^ ˆ 1 = Sxy Sxx where Sxy = n(xy − x¯y¯). It can be shown that
β^ ˆ 1 = Sxy Sxx
∑^ n
j=
cj Yj ,
where cj = (xj − x¯)/Sxx. So LSE is a linear estimation. From
∑n ∑ j=1^ cj^ = 0, n j=1 cj^ xj^ = 1^ and^
∑n j=1 c 2 j =^ S − xx (^1) we can show that E βˆ 1 = β 1
showing unbiasness. Further, V βˆ 1 = σ^2 /Sxx. Since βˆ 1 is a linear combination of normals, βˆ 1 ∼ N (β 1 , σ^2 /Sxx).
∼ tn− 2 ,
where S (^) βˆ 1 = ˆσ/
Sxx and σˆ = SSE/(n − 2). It can be shown that SSE = Syy − S^2 xy/Sxx, we get S (^) βˆ 1 = √n^1 − 2
Syy Sxx −^ (^
Sxy Sxx ) (^2). Then we reject H 0 if |t| > tα/ 2 ,n− 2 at 100(1 − α)% significance. We don’t usually compute the test statistic by hand. Use R-package. Example. We continue Lecture 19 example.
summary(lm(y˜x))
Call: lm(formula = y ˜ x)
Residuals: Min 1Q Median 3Q Max -10.908 -6.312 1.758 4.354 10.
Coefficients: Estimate Std. Error t value Pr(>|t|)
(Intercept) 29.48 13.23 2.22 0. x 0.55 0.17 3.12 0.01 *
Signif. codes: 0 ‘’ 0.001 ‘’ 0.01 ‘’
Residual standard error: 7.647 on 8 degrees of freedom Multiple R-Squared: 0.5519, Adjusted R-squared:0.4959 F-statistic:9.854o 1 and 8 DF, p-value: 0.