dlog with lags
Posted: Wed Aug 10, 2011 1:33 pm
how do I run an OLS with lagged logs? While i can do the following: "x c x(-1 to 05)" i was not able to do "x c dlog(x(-1 to 05))"
Code: Select all
ls x c dlog(x(-1)) dlog(x(-2)) dlog(x(-3)) dlog(x(-4)) dlog(x(-5))
Code: Select all
series dlogx = dlog(x)
ls x c dlogx(-1 to -5)