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.
--
Ignacio Diaz-Emparanza
DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA)
UPV/EHU Avda. Lehendakari Aguirre, 83 | 48015 BILBAO
T.: +34 946013732 | F.: +34 946013754
www.ea3.ehu.es