El 15/02/11 08:43, Annaert Jan escribió: > > I encountered a strange behaviour when trying to compact a time-series > dataset. I have a monthly dataset from 1837:12 to 2008:12. When I > compact the dataset to annual using the GUI (and selecting the 'last' > method) everything works well, except that the last annual observation > turns out to be 2007 instead of 2008. I'm using Gretl 1.9.3 and have > encountered this behaviour both on Mac OS and on Windows XP. > When I add a dummy obs for 2009:01 and then compact, the last > observation is indeed 2008 in the annual dataset. So, I'm not stuck but > I was wondering whether the compacting behaviour is working as intended > or whether it is a small bug. > > > Jan Annaert
I may confirm the bug with gretl in current cvs on Ubuntu Linux 10.04. I defined a dataset from 1837:12 to 2008:12 and a time trend, when compacting to annual the data was delimited to 1837-2007 (the last obs was that of 2007:12). By adding a new observation (/Data/Add observations..) the trend was correctly defined in 2009:01 but in compacting I continue to obtain the data only for 1837-2007. -- 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