On 21/05/14 16:15, Riccardo (Jack) Lucchetti wrote:
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>

I prefer that the number of each dummy corresponds with the observation:

tmp = (time-1)%$pd + 1
list DUMS = dummify(tmp)

--
Firma Arista
Ignacio Díaz-Emparanza
Zuzendaria/Director
ignacio.diaz-emparanza@ehu.es
94 6013732
EKONOMIA APLIKATUA III SAILA (EKONOMETRIA ETA ESTATISTIKA)/ DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA)
UPV/EHU

Avda. Lehendakari Aguirre, 83 | 48015 BILBAO
T.: +34 946013740 | F.: +34 946013754
www.ea3.ehu.es
ERNE! Baliteke mezu honen zatiren bat edo mezu osoa legez babestuta egotea. Mezuak badu bere hartzailea. Okerreko helbidera heldu bada (helbidea gaizki idatzi, transmisioak huts egin) eman abisu igorleari, korreo honi erantzunda. Kontuz! Mezua ez bada zuretzat, ez erabili, ez zabaldu beste inori, ez kopiatu eta ez baliatu.
¡ATENCIÓN! Este mensaje contiene información privilegiada o confidencial a la que sólo tiene derecho a acceder el destinatario. Si usted lo recibe por error le agradeceríamos que no hiciera uso de la información y que se pusiese en contacto con el remitente.

E-mail hau inprimatu baino lehen egiaztatu inprimatzeko beharra.
Antes de imprimir este e-mail piense bien si es necesario hacerlo.