Ahhh.  There you go.  I knew that it had to be in there because I thought I had it working at some point!  Thanks....

Lee

On Thu, Mar 28, 2013 at 1:23 PM, Riccardo (Jack) Lucchetti <r.lucchetti@univpm.it> wrote:
On Thu, 28 Mar 2013, Allin Cottrell wrote:

On Thu, 28 Mar 2013, Lee Adkins wrote:

What do you think about a leads function to go with lags?  Even better
would be to allow synatx like x(2 to -2) to add two leads and two lags
(along with the contemporaneous value of x) to a variable list.

Well the "even better" option works already ;-)

<hansl>
open data9-7
list foo = PRIME(2 to -2)
print foo -o
</hansl>

Truth be told, you need the "plus" sign to have this work with, say, ols, as in

<hansl>
open data9-7
ols QNC const PRIME(+2 to -2)
</hansl>

-------------------------------------------------------
  Riccardo (Jack) Lucchetti
  Dipartimento di Scienze Economiche e Sociali (DiSES)

  Universitą Politecnica delle Marche
  (formerly known as Universitą di Ancona)

  r.lucchetti@univpm.it
  http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------
_______________________________________________
Gretl-devel mailing list
Gretl-devel@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel



--
Lee Adkins
Professor of Economics
lee.adkins@okstate.edu

learneconometrics.com