Professional Documents
Culture Documents
n = 60 x = 3599 y = 5098
x2 = 224091 y 2 = 448662 xy = 296024
Call:
lm(formula = y ~ x, data = a)
Residuals:
Min 1Q Median 3Q Max
-16.1368 -6.1968 -0.5969 6.7607 23.4731
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 156.3466 5.5123 28.36 <2e-16
x -1.1900 ( A ) ( B ) ( )
Response: Y
Df Sum Sq Mean Sq F value Pr(>F)
x 1 11627.5 11627.5 ( E ) ( )
Residuals ( C ) 3874.4 ( D )
1
1. (5 points) Write the statistical model for a simple linear regression of
y on x and describe the assumptions for the error term.
4. (10 points) Predict the muscle mass of a 65 year old woman, and nd
a 95% condence interval for the expected muscle mass of a 65 year
old woman and a 95% prediction interval for a new individual woman
of age 65.
60
(a) The minimum of the sum of squared errors i=1 (yi y
i )2 is
attained by the least square line y = 156.3466 1.1900x.
(b) The Mean Square Error (MSE) measures the marginal variation
of y, i.e. the deviations of yi s from its center y.
2
B. Consider the following simple linear regression model
y = 0 + 1 x +
6. (10 points) Verify that the sample covariance between y and y is always
nonnegative.
y = 1 x +
9. (10 points) Let 2 = Var(). Show that E( ni=1 yi2 ) = 2 + 12 i x2i .