On Wed, 21 May 2014, Sven Schreiber wrote:
Am 21.05.2014 15:47, schrieb Riccardo (Jack) Lucchetti:
> On Wed, 21 May 2014, Sven Schreiber wrote:
>
>> Thanks Jack; I tried this more compactly with:
>> <hansl>
>> genr dummy # BTW, need a new syntax for this IMHO
>> series we = dummy_6 || dummy_7
>> </hansl>
>> but apparently the daily dummies are allocated "randomly", i.e.
dummy_1
>> starts with whatever is the first obs in the workfile (or sample?), not
>> Monday or Sunday. Could this be changed perhaps?
>
> One of the things I would very much like to kill in 2.0 is "genr dummy";
> actually, the "genr" keyword itself would go, if I had unlimited power ;)
>
Agreed (well, maybe deprecated and undocumented would be enough...); but
there should still be a script way of creating seasonal/periodic
dummies, and currently there is no alternative, or is there?
<hansl>
tmp = time % $pd
list DUMS = dummify(tmp)
</hansl>
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------