Professional Documents
Culture Documents
Regression Tutorial
Regression Tutorial
1) Suppose that the MSE of model A is less than the MSE of model B. What can we say about the R2
of models A and B?
2) Show that adding more factors increases the R2 of a linear regression model.
A B C D E
Weight (kg) 57.48 56.57 66.11 65.10 70.19
Height (m) 1.52 1.60 1.68 1.75 1.80
𝑦𝑦 = 𝛽𝛽0 + 𝛽𝛽1 𝑥𝑥
where 𝑦𝑦 is weight (kg) and 𝑥𝑥 is height (m).
a) Express RSS of the above regression line as a function of 𝛽𝛽0 and 𝛽𝛽1 .
b) Find the stationary point of the above RSS function (i.e., 𝛽𝛽0 and 𝛽𝛽1 values such that
derivative of RSS equals zero).
c) Determine if the stationary point is a minimum, maximum or inflection point.