

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: Exam; Class: Introductory Applied Statistics for Engineers; Subject: STATISTICS; University: University of Wisconsin - Madison; Term: Spring 2000;
Typology: Exams
1 / 2
This page cannot be seen from the preview
Don't miss anything!


TA Jiale Xu
Webpage www.stat.wisc.edu/∼xujiale/stat
Email [email protected]
Office hour Tue. 2:10-3:20pm and Wed. 2:10-3:00pm
The simple linear regression is given by
yi = α + βxi + i
where is’s are independent and identically distributed with N (0, σ
2 ). Here x is called independent
variable (or predictor), y is called dependent variable (or response). The coefficients α and β can be
estimated by the method of least square.
In most case, we have many dependence variables, such as temperature, pressure and so on.
The general linear model is
Y = β 0 + β 1 X 1 + · · · + βp− 1 Xp− 1 + .
Suppose we have n observations then the the model can be written as
yi = β 0 + xi 1 β 1 + · · · + xi,p− 1 βp− 1 + i i = 1, · · · , n.
If we introduce matrix notation,
y 1
y 2
. . .
yn
1 x 11 · · · x 1 ,p− 1
1 x 21 · · · x 2 ,p− 1
. . .
1 xn 1 · · · xn,p− 1
β =
β 0
β 1
. . .
βp− 1
p− 1
Then the linear model can be written as
Y = Xβ + .
Here X is called designed matrix. The Least Square estimator of β is
βˆ = (XT^ X)−^1 XT^ Y.
the trend or add the the regression line.
fm1<-lm(y~x,data)
characteristics of 45 U. S. occupations in 1950. We are interested in the relation between the
prestige and education.
their standard errors, and p-values.
”pre-packaged” plot. Check whether the assumptions are satisfied.
you find?