ECON107 ASSIGNMENT 1 Answer Key - mysmu.eduย ยท โˆด Do not reject H. 0. Question 2 (20 marks) 1....

4

Click here to load reader

Transcript of ECON107 ASSIGNMENT 1 Answer Key - mysmu.eduย ยท โˆด Do not reject H. 0. Question 2 (20 marks) 1....

Page 1: ECON107 ASSIGNMENT 1 Answer Key - mysmu.eduย ยท โˆด Do not reject H. 0. Question 2 (20 marks) 1. ๐›ฝ 1 = nฮฃ๐‘‹๐‘–๐‘Œ๐‘– โˆ’ ฮฃ๐‘‹๐‘–ฮฃ๐‘Œ๐‘– nฮฃ๐‘‹๐‘–2 โ€“ (ฮฃ๐‘‹๐‘–)2

ECON107 ASSIGNMENT 1 Answer Key Question 1 (50 marks)

1. โˆ‘Xt2 = 32+22+12+(-1)2+02 = 15

โˆ‘XtYt = (5)(3)+(2)(2)+(3)(1)+(2)(-1)+(-2)(0) = 20

โˆ‘Xt = 3+2+1+(-1)+0 = 5

โˆ‘Yt = 5+2+3+2+(-2) = 10

๐‘‹ = ฮฃ๐‘‹๐‘ก5

= 1

๐‘Œ = ฮฃ๐‘Œ๐‘ก5

= 2

2. ๐›ฝ1๏ฟฝ = nฮฃ๐‘‹๐‘ก๐‘Œ๐‘ก โˆ’ ฮฃ๐‘‹๐‘กฮฃ๐‘Œ๐‘กnฮฃ๐‘‹๐‘ก2 โ€“ (ฮฃ๐‘‹๐‘ก)2

R = (5)(20)โˆ’(5)(10)(5)(15)โˆ’(52)

= 1

๐›ฝ0๏ฟฝ = ๐‘Œ โˆ’ ๐›ฝ1๏ฟฝ.๐‘‹ = 1

3.

-2

-1

0

1

2

3

4

5

-2 0 2 4

Yt

Xt

(1,2)

Page 2: ECON107 ASSIGNMENT 1 Answer Key - mysmu.eduย ยท โˆด Do not reject H. 0. Question 2 (20 marks) 1. ๐›ฝ 1 = nฮฃ๐‘‹๐‘–๐‘Œ๐‘– โˆ’ ฮฃ๐‘‹๐‘–ฮฃ๐‘Œ๐‘– nฮฃ๐‘‹๐‘–2 โ€“ (ฮฃ๐‘‹๐‘–)2

4. ๐›ฝ1: An unit increase in X leads to an average of ๐›ฝ1 unit increase in Y

๐›ฝ0: an average value of Y when X is 0.

5. See above. 6. โˆ‘ ๐‘’๐‘ก5

๐‘ก=1 = โˆ‘ (๐‘Œ๐‘ก5๐‘ก=1 โˆ’ ๐‘Œ๐‘ก๏ฟฝ )

= โˆ‘ (๐‘Œ๐‘ก5๐‘ก=1 โˆ’ ๐›ฝ0๏ฟฝ โˆ’ ๐›ฝ1๏ฟฝ.๐‘‹๐‘ก)

= 1+(-1)+1+2+(-3) = 0

Standard error of estimate, ๐œŽ๏ฟฝ = ๏ฟฝโˆ‘ (๐‘’๐‘ก)25๐‘ก=1๐‘›โˆ’2

= ๏ฟฝ12+(โˆ’1)2+12+22+(โˆ’3)2

5โˆ’2

= 2.309

Coefficient of determination, r2 = ๐ธ๐‘†๐‘†๐‘‡๐‘†๐‘†

= โˆ‘ (๐‘Œ๐‘ก๏ฟฝโˆ’5๐‘ก=1 ๐‘Œ)2

โˆ‘ (๐‘Œ๐‘กโˆ’5๐‘ก=1 ๐‘Œ)2

= 1026

= 0.385

38.5% of the total variation in Yt is explained by the regression model (or by X).

7. H0: ๐›ฝ1=0 H1: ๐›ฝ1โ‰ 0

t = ๐›ฝ1๏ฟฝโˆ’๐›ฝ1๐‘†(๐›ฝ1๏ฟฝ)

= (๐›ฝ1๏ฟฝโˆ’๐›ฝ1)๏ฟฝโˆ‘๐‘‹๐‘ก2

๐œŽ๏ฟฝ ~ t(n-k-1) ,

where ๐‘†(๐›ฝ1๏ฟฝ) = ๐œŽ๏ฟฝ

๏ฟฝโˆ‘๐‘‹๐‘ก2 = 0.7303. So t=1.3693

Reject H0 if |T| > t0.05 = 2.35336

Page 3: ECON107 ASSIGNMENT 1 Answer Key - mysmu.eduย ยท โˆด Do not reject H. 0. Question 2 (20 marks) 1. ๐›ฝ 1 = nฮฃ๐‘‹๐‘–๐‘Œ๐‘– โˆ’ ฮฃ๐‘‹๐‘–ฮฃ๐‘Œ๐‘– nฮฃ๐‘‹๐‘–2 โ€“ (ฮฃ๐‘‹๐‘–)2

โˆด Do not reject H0

Question 2 (20 marks)

1. ๐›ฝ1๏ฟฝ = nฮฃ๐‘‹๐‘–๐‘Œ๐‘– โˆ’ ฮฃ๐‘‹๐‘–ฮฃ๐‘Œ๐‘–nฮฃ๐‘‹๐‘–2 โ€“ (ฮฃ๐‘‹๐‘–)2

R = ฮฃ(๐‘‹๐‘–โˆ’๐‘‹)(๐‘Œ๐‘–โˆ’๐‘Œ)ฮฃ(๐‘‹๐‘–โˆ’๐‘‹)2

Add 1 to the dependent variable: new ๐›ฝ1๏ฟฝ = ฮฃ(๐‘‹๐‘–โˆ’๐‘‹)(๐‘Œ๐‘–+1โˆ’(๐‘Œ+1))ฮฃ(๐‘‹๐‘–โˆ’๐‘‹)2

= ฮฃ(๐‘‹๐‘–โˆ’๐‘‹)(๐‘Œ๐‘–โˆ’๐‘Œ)ฮฃ(๐‘‹๐‘–โˆ’๐‘‹)2

โˆด There is no change in ๐›ฝ1๏ฟฝ.

๐›ฝ0๏ฟฝ = ๐‘Œ โˆ’ ๐›ฝ1๏ฟฝ.๐‘‹

Add 1 to the dependent variable: new ๐›ฝ0๏ฟฝ = ๐‘Œ + 1 โˆ’ ๐›ฝ1๏ฟฝ.๐‘‹

โˆด ๐›ฝ0๏ฟฝ will increase by 1 unit.

2. ๐›ฝ1๏ฟฝ = nฮฃ๐‘‹๐‘–๐‘Œ๐‘– โˆ’ ฮฃ๐‘‹๐‘–ฮฃ๐‘Œ๐‘–nฮฃ๐‘‹๐‘–2 โ€“ (ฮฃ๐‘‹๐‘–)2

R = ฮฃ(๐‘‹๐‘–โˆ’๐‘‹)(๐‘Œ๐‘–โˆ’๐‘Œ)ฮฃ(๐‘‹๐‘–โˆ’๐‘‹)2

Add 1 to the independent variable: new ๐›ฝ1๏ฟฝ = ฮฃ(๐‘‹๐‘–+1โˆ’(๐‘‹+1))(๐‘Œ๐‘–โˆ’๐‘Œ)ฮฃ(๐‘‹๐‘–+1โˆ’(๐‘‹+1))2

= ฮฃ(๐‘‹๐‘–โˆ’๐‘‹)(๐‘Œ๐‘–โˆ’๐‘Œ)ฮฃ(๐‘‹๐‘–โˆ’๐‘‹)2

โˆด There is no change in ๐›ฝ1๏ฟฝ.

๐›ฝ0๏ฟฝ = ๐‘Œ โˆ’ ๐›ฝ1๏ฟฝ.๐‘‹

Add 1 to the independent variable: new ๐›ฝ0๏ฟฝ = ๐‘Œ โˆ’ ๐›ฝ1๏ฟฝ(๐‘‹ + 1)

= ๐‘Œ โˆ’ ๐›ฝ1๏ฟฝ.๐‘‹ โˆ’ ๐›ฝ1๏ฟฝ

โˆด ๐›ฝ0๏ฟฝ will increase by ๐›ฝ1๏ฟฝ unit.

Page 4: ECON107 ASSIGNMENT 1 Answer Key - mysmu.eduย ยท โˆด Do not reject H. 0. Question 2 (20 marks) 1. ๐›ฝ 1 = nฮฃ๐‘‹๐‘–๐‘Œ๐‘– โˆ’ ฮฃ๐‘‹๐‘–ฮฃ๐‘Œ๐‘– nฮฃ๐‘‹๐‘–2 โ€“ (ฮฃ๐‘‹๐‘–)2

Question 3 (30 marks)

๐›ฝ1๏ฟฝ =ฮฃ(๐‘‹๐‘– โˆ’ ๐‘‹)(๐‘Œ๐‘– โˆ’ ๐‘Œ)

ฮฃ(๐‘‹๐‘– โˆ’ ๐‘‹)2

Since there is no variation in X, ฮฃ(๐‘‹๐‘– โˆ’ ๐‘‹)2 = 0. ๐›ฝ1๏ฟฝ is then undefined. As a result, residuals are not defined. So are RSS and ESS. Therefore, r2 is naturally undefined as well.

โˆด The person is not justified as the regression model is not valid.

If observations were lined up at 45ยฐ from origin, ๐‘‹๐‘– = ๐‘Œ๐‘–

๐›ฝ1๏ฟฝ = ฮฃ๏ฟฝ๐‘‹๐‘–โˆ’๐‘‹๏ฟฝ๏ฟฝ๐‘Œ๐‘–โˆ’๐‘Œ๏ฟฝ

ฮฃ๏ฟฝ๐‘‹๐‘–โˆ’๐‘‹๏ฟฝ2

= ฮฃ๏ฟฝ๐‘‹๐‘–โˆ’๐‘‹๏ฟฝ๏ฟฝ๐‘‹๐‘–โˆ’๐‘‹๏ฟฝ

ฮฃ๏ฟฝ๐‘‹๐‘–โˆ’๐‘‹๏ฟฝ2 = 1

R2 = ๐ธ๐‘†๐‘†๐‘‡๐‘†๐‘†

= โˆ‘(๐‘Œ๐šค๏ฟฝโˆ’๐‘Œ)2

โˆ‘(๐‘Œ๐‘–โˆ’๐‘Œ)2

= โˆ‘(๐›ฝ0๏ฟฝ+๐›ฝ1๏ฟฝ .๐‘‹๐‘–โˆ’๐‘Œ)2

โˆ‘(๐‘Œ๐‘–โˆ’๐‘Œ)2 (๐›ฝ0๏ฟฝ=0 as intercept is at origin)

= โˆ‘(๐‘‹๐‘–โˆ’๐‘Œ)2

โˆ‘(๐‘Œ๐‘–โˆ’๐‘Œ)2

= โˆ‘(๐‘Œ๐‘–โˆ’๐‘Œ)2

โˆ‘(๐‘Œ๐‘–โˆ’๐‘Œ)2

= 1

โˆด Regression line will be a โ€˜perfect fitโ€™.