Assignment 1-418 Answers - Copy - Copy (2)
Assignment 1-418 Answers - Copy - Copy (2)
Question (2)
(1)
44 106
𝑋′𝑋 =
106 270
0.41925466 −0.16459627
(𝑋 ′ 𝑋) − 1 =
−0.16459627 0.06832298
4.9
𝑋′𝑌 =
13.8
̂ = −𝟎. 𝟐𝟏𝟕𝟎𝟖𝟎𝟕𝟓
𝜷
𝟎. 𝟏𝟑𝟔𝟑𝟑𝟓𝟒
(2) Signifiance :
−0.2142857
𝜀 = 𝑌 − 𝑋𝛽̂ = 0.4968944
−0.0009317
−0.139441
′
𝜺 𝜺 𝟎. 𝟑𝟏𝟐𝟐𝟔
𝝈𝟐 = = = 𝟎. 𝟏𝟓𝟔𝟏
𝑵−𝑲 𝟐
Please Note I divide by (N-K) not (N-K-1) as the model has no constant!
0.41925466
̂ ) = 𝝈𝟐 (𝑿′ 𝑿)−𝟏 = 𝟎. 𝟏𝟓𝟔𝟏 × −0.16459627
𝑽𝒂𝒓 (𝜷
−0.16459627 0.06832298
𝟎. 𝟎𝟔𝟓𝟒𝟒𝟓𝟔 −0.02569
=
−0.02569 𝟎. 𝟎𝟏𝟎𝟔𝟔𝟓𝟐𝟐
−𝟎. 𝟐𝟏𝟕𝟎𝟖𝟎𝟕𝟓
𝒕𝜷𝟏 = = 𝟎. 𝟖𝟒𝟖
√𝟎. 𝟎𝟔𝟓𝟒𝟒𝟓𝟔
𝟎. 𝟏𝟑𝟔𝟑𝟑𝟓𝟒
𝒕𝜷𝟐 = = 𝟏. 𝟑𝟐
√𝟎. 𝟎𝟏𝟎𝟔𝟔𝟓𝟐𝟐
(5) Autocorrelation:
𝜀𝑡 𝜀𝑡−1 𝜀𝑡 . 𝜀𝑡−1
-0.21429 ---- ---
0.496894 -0.21429 -0.106479415
-0.00093 0.496894 -0.000462111
-0.13944 -0.00093 0.000129679
𝑉𝑎𝑟( 𝜀𝑡 ) = 0.102404
𝑉𝑎𝑟( 𝜀𝑡−1 ) = 0.133189
∑𝜀𝑡 . 𝜀𝑡−1 0.106811847
𝐶𝑜𝑣 (𝜀𝑡 , 𝜀𝑡−1 ) = =− = −0.035603949
𝑁 3
0.035603949
𝜌̂𝑡 = − = −0.30486422
√0.102404 × 0.133189
𝜌̂𝑡2 = 0.09294
𝑄𝐵𝑃 = 3 × 0.09294 = 𝟎. 𝟐𝟕𝟖𝟖
This is Lower than theoretical value, no autocorrelation problem.
Data is Time series; any corrections should be through Newey West technique.
The change is not expected to affect in any way the relationship between X and Y, therefore the
slope should not change. In fact, X and Y scatter plot won’t change if I use same weights for the
two variables (their mean and standard deviation)
Assume:
X Y
5 11
3 7
1 6
3 8
1 2 3 4 5
x1
y Fitted values
-1 0 1 2 3
nx
ny Fitted values
No change in the Slope However the scale X and Y changed and the constant also expected
to change.