0322-In-Class - Exercise
0322-In-Class - Exercise
Name (ID):
2. How do you normlize the forecast error and specify its distribution?
Solution:
Because of f = (y0 − ŷ0 ) ∼ N (0, var(f )), we normlize the forecast error by:
f −0 y0 − ŷ0
= ∼ tN −2
se(f ) se(f )
q
(x0 −x̄)2
p 1
where se(f ) = var(f
ˆ )= σ̂ 2 [1 + N + P
(xi −x̄)2 ]
Thus, the CI is
[ŷ0 − tc se(f ), ŷ0 + tc se(f )].
4. Write down the slope and elasticity for the following three models:
Solution:
(a) The log-linear model Slope: β2 y, Elasticity: β2 x
(b) The linear-log model Slope: β2 x1 , Elasticity: β2 y1
(c) The log-log model Slope: β2 xy , Elasticity: β2