On Fri, 25 Nov 2011, Ignacio Diaz-Emparanza wrote:
El 24/11/11 18:30, Allin Cottrell escribió:
> On Thu, 24 Nov 2011, Ignacio Diaz-Emparanza wrote:
>
>> I tried to set up a script with periodicity 336 and gretl responded:
>>
>> ? setobs 336 1:1
>> frequency (336) does not make seem to make sense
>>
>> Why not? One observation each half an hour in a week: 48x7=336
>
> For a non-standard time-series frequency you need to add the
> option --time-series:
>
> <hansl>
> nulldata 800
> setobs 336 1:1 --time-series
> smpl ; 10
> print index --byobs
> </hansl>
Sorry, I forgot that.
But this was because I previously tried with periodicity 24x7=168
(hourly data in a week) without the --time-series option and it works.
gretl's heuristic for rejecting a periodicity specification, pd, is
as follows: pd is less than 1 OR (pd is greater than the number
of observations in the dataset AND the --time-series flag was not
given).
Allin