2019 Comp Q1 - 3
2019 Comp Q1 - 3
as an instrument a dummy variable di (takes only the values 0 and 1). Derive the explicit expression for
the IV estimator.
IV Estimator:
β^IV =
∑ i d i yi
∑ i di z i
the following:
E[Yt ] = 0
Given that εt is white noise with variance σ 2 and εt are uncorrelated for different t:
https://chatgpt.com/c/0e332593-feba-456f-a623-4a5a45bb8bf4 1/5
7/7/24, 2:54 AM Linear Regression Properties
(c) Derive the covariance of this process for all j . Note that j represents the number of periods
between Yt and Yt−j .
For j = 1:
Yt = εt + θ2 εt−2 + θ3 εt−3
Cov(Yt , Yt−1 ) = 0
For j = 2:
Yt = εt + θ2 εt−2 + θ3 εt−3
Cov(Yt , Yt−2 ) = θ2 σ 2
For j = 3:
Yt = εt + θ2 εt−2 + θ3 εt−3
Cov(Yt , Yt−3 ) = θ3 σ 2
For j 2 and j =
= 3:
Cov(Yt , Yt−j ) = 0
https://chatgpt.com/c/0e332593-feba-456f-a623-4a5a45bb8bf4 2/5
7/7/24, 2:54 AM Linear Regression Properties
Cov(Yt ,Yt−j )
ρ(j) =
Var(Yt )
For j = 2:
θ2 σ 2 θ2
ρ(2) =
σ 2 (1+θ22 +θ32 )
= 1+θ22 +θ32
For j = 3:
θ3 σ 2 θ3
ρ(3) =
σ (1+θ22 +θ32 )
2
= 1+θ22 +θ32
For j 2 and j =
= 3:
ρ(j) = 0
(e) Plot the autocorrelation function with the information you derived above.
To plot this:
Points:
At lag 0: ρ(0) =1
At lag 1: ρ(1) =0
θ2
At lag 2: ρ(2) = 1+θ22 +θ32
θ3
At lag 3: ρ(3) = 1+θ22 +θ32
Qsi = Qdi , where usi and udi are mutually independent i.i.d. random variables,
both with a mean of zero and variance σs2 and σd2 , respectively.
β0 + β1 Pi + usi = γ0 + γ1 Pi + udi
Solving for Pi :
https://chatgpt.com/c/0e332593-feba-456f-a623-4a5a45bb8bf4 3/5
7/7/24, 2:54 AM Linear Regression Properties
ud −us
Pi = γβ01−−βγ01 + βi1 −γ1i
The price Pi is a function of both usi and udi . Given that usi appears in the denominator, Pi and usi are
correlated.
Qsi = β0 + β1 Pi + usi
Since Pi is correlated with usi , the OLS estimator of β1 will be biased and inconsistent because one of
the OLS assumptions (no correlation between the regressors and the error term) is violated.
To estimate β0 , β1 , and γ0 , we can use an instrumental variables (IV) approach. A possible instrument
could be a variable that affects supply but not demand, or vice versa.
For example, if we have an instrument Zi that affects supply but not demand, we can use two-stage
1. First stage:
P i = π 0 + π 1 Z i + vi
2. Second stage:
Use the predicted values P^i from the first stage in the supply equation:
1. First stage:
P i = π 0 + π 1 Z i + vi
2. Second stage:
Use the predicted values P^i from the first stage in the demand equation:
https://chatgpt.com/c/0e332593-feba-456f-a623-4a5a45bb8bf4 4/5
7/7/24, 2:54 AM Linear Regression Properties
By using instruments that are correlated with Pi but uncorrelated with the error terms usi and udi , we
https://chatgpt.com/c/0e332593-feba-456f-a623-4a5a45bb8bf4 5/5