Cochrane–Orcutt procedure
Posted: Fri May 23, 2014 10:54 am
Hi people. I'm trying to estimate potential GDP using a 3-input cobb douglas production function. A first estimation of the linear equation (after taking logs of both sides) shows autocorrelation amongst residuals (dw stat equals ~0.6). After implementing CO procedure (rho=0.6966685366345294), Dw stat hasn't been improved then the serial correlation still exist.
Could you please help me in removing autocorrelation? It's urgent. Any answer will be appreciated.
ls y c k h l
genr e=resid
ls e e(-1)
scalar rho=c(1)
smpl 2000q1 2000q1
genr y_star=((1-rho^2)^0.5)*y
genr h_star=((1-rho^2)^0.5)*h
genr k_star=((1-rho^2)^0.5)*k
genr l_star=((1-rho^2)^0.5)*l
genr e_star=((1-rho^2)^0.5)
smpl 2000q2 2013q4
genr y_star=y-rho*y(-1)
genr l_star=l-rho*l(-1)
genr k_star=k-rho*k(-1)
genr h_star=h*rho*l(-1)
genr e_star=1-rho
smpl @all
ls y_star e_star k_star h_star l_star
Could you please help me in removing autocorrelation? It's urgent. Any answer will be appreciated.
ls y c k h l
genr e=resid
ls e e(-1)
scalar rho=c(1)
smpl 2000q1 2000q1
genr y_star=((1-rho^2)^0.5)*y
genr h_star=((1-rho^2)^0.5)*h
genr k_star=((1-rho^2)^0.5)*k
genr l_star=((1-rho^2)^0.5)*l
genr e_star=((1-rho^2)^0.5)
smpl 2000q2 2013q4
genr y_star=y-rho*y(-1)
genr l_star=l-rho*l(-1)
genr k_star=k-rho*k(-1)
genr h_star=h*rho*l(-1)
genr e_star=1-rho
smpl @all
ls y_star e_star k_star h_star l_star