[Gretl-users] Lag in OLS

Artur T. artur.tarassow at googlemail.com
Thu Oct 8 10:31:42 EDT 2009


hi erhan,

ols y 0 y(-1 to -12) x(0 to -12) should work.

best,
artur

Erhanfadli Azrai schrieb:
> Dear Gretl users,
>
> I'm trying to run this command:
>
> ols y const x(-1) x(-2).... x(-12) z(-1) z(-2)...z(-12) i.e. from lag1
> to lag12 . but it seems i have to list all of the variables. Is there
> a simpler form such that i just have to type out
> ols y const x(-1)...x(-12) z(-1)..z(-12)?
>
> z, y and x are time-series.
>
>
> Thank you.
>
>
> Erhan Azrai,
> Malaysia.
> _______________________________________________
> Gretl-users mailing list
> Gretl-users at lists.wfu.edu
> http://lists.wfu.edu/mailman/listinfo/gretl-users
>   



More information about the Gretl-users mailing list