On Thu, 10 Mar 2011, Ignacio Diaz-Emparanza wrote:
El 10/03/11 11:31, Ignacio Diaz-Emparanza escribió:
> It seems there is a bug in the command 'genr' when it is used with the
> option 'dummy'. It works well with quarterly, monthly and weekly data
> but not with other periodicity:
>
> <script>
> nulldata 100
> setobs 5 1:1 --time-series
> genr dummy
> print 2 3 4 5 --byobs
> </script>
>
> The output of this script is [...]
>
> so, the first dummy is created only with zeros.
>
> (gretl from current CVS running on Ubuntu Linux 10.04)
>
Sorry, it seems a problem with the 'setobs' command
setobs 5 1 --time-series
or
setobs 5 1/1/1 --time-series
works ok.
Thanks for the report. I think this should now be fixed in CVS and
snapshots.
Allin