





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Problem 3.1 Pag.
Yi, and the semstudentized residuals are
the standarized residuals by the inverse of the variance of the error term: e
∗
i
e i
i
} = 0 is one of the assumptions of the model that make that the line β 0
X to be the
expectation of the random variable Y as a function of X.
n
i=
e i
= 0 is a property derived
from the OLS estimation, and is not a consequence of the first statement.
The residual is the observed difference between the Y and the estimated mean of Y using OLS.
Problem 3.2 Pag.
Figure 1: Residuals pattern when varaince decreases with X.
Problem 3.3 Pag.
r = 0.97373. Given that r < 0 .987, H 0 is rejected.
Figure 2: Residuals pattern when the function is U shape.
Figure 3: Boxplot for X.
Figure 4: Dotplot for residuals.
d 1 = 0.43796. n 2 = 55,
d 2 = 0.50652. s = 0.417275 and:
t
∗
BF
1
65
1
55
t
= 2.61814. Then, given that |t
∗
BF
| ≤ t
we conclude that the error variance is
constant.
Problem 3.10 Pag.
′
i
s: figure 7.
Figure 7: Residuals vs. estimated means.
be in this range, that is, the expected number is also 4.
Problem 3.12 Pag.147 SSE(F ) is called pure erro sum of squares due to is calculated takine the
squares of the distences betwwen the points Yi and the estimated real mean, claculated as an average
of iid random variables, and not estimated as the result of a linear function. That is, SSE(F ) always
estimated the error, whitout taking into account if the linear model is correct or not.
Problem 3.16 Pag.
′ = log Y seems to be appropiate in this
case.
λ -0.2 -0.1 0 0.1 0.
Then, the log transformation is appropiate.
= 0.6549 and b 1
mated data.
Figure 8: Scatter plot of Solution Concentration data.
Figure 9: Transformated data and fitted line.
Figure 10: residuals vs. estimated means for transformed data.
Figure 13: Scatter plot transformed data 3.17).
Figure 14: residuals vs. estimated means (transformed data 3.17).
Figure 15: Normal Q-Q plot for residuals (transformed data 3.17).
2
Problem 3.19 Pag.149 The residuals are correlated with the random variables Y i
, however, they
are not correlated with the estimated means
i
, so, a linear pattern between e and y is normal in
linear models. In order to check the assumptions of the model plotting the residuals, the plot of e
vs
i
is more meaningful.
Problem 3.20 Pag.149 In both cases the new ditribution of the error terms is not going to be
independent N
0 .σ
2
Problem 3.21 Pag.
Yij −
Yij
2
Yij −
Yj
2
Yj −
Yij
2
Yij −
Yj
Yj −
Yij
But: ∑ ∑ (
ij
j
j
ij
Yij
Yj −
2
j
Yij
Yij +
Yj
Yij = (2)
j
nj
2
j
j
nj
2
j
Yij
Yij +
Yj
Yij (3)
Since
ij
= b 0
Xj ij
= b 0
Xj j
j
does not depend on j, we have:
Yij −
Yj
Yj −
Yij
j
n j
2
j
j
n j
2
j
j
n j
j
j
j
n j
j
j
Problem 3.22 Pag.149 If we fix j, for each i in the model we take the sum:
i
Yij −
Yj
2
= (nj − 1) s
2
j
And:
j
(n j
− 1) s
2
j
Where s
2
j
is the sample variance of the iid random sample Y 1 j , Ysj , ..., Yn j j^
. So, we know that:
(nj − 1) s
2
j
σ
2
∼ χ
2
nj − 1