Dear Sven,
I think "genr dummy" can do what you need.
Best,
Henrique
Enviado via iPhone
Em 15/02/2013, às 09:54, Sven Schreiber <svetosch(a)gmx.net> escreveu:
Hi,
a quite simple question actually: is there a one-liner that adds
seasonal dummies to the workfile in a script, similiar to the one-click
option in the GUI?
What I have is a loop like this (untested BTW):
loop i=1..$pd
series dum$i = ($obsminor==$i)
endloop
But there must be a shorter way I guess.
thanks,
sven
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users