On 01/05/14 10:37, Tim Nall wrote:
Series has zeroes from time to time, including four in a row in the
last four observations. I restricted the data to a sample with far
fewer zeroes, and did not receive the same error. TMN
Tramolin uses 'append' to retrieve the "linear series" (adjusted
for
outliers and with interpolations for missing observations). 'append'
tries to add new variables to the current gretl dataset and needs that
the new variables have the same number of observations as the dataset.
If not, it gives an error.
In principle zeroes should not be a problem, but I see that if the
zeroes are at the end of the series Tramo internally discard them and
produces the linear series for the reduced sample. I have just changed
the Tramolin code to consider this last zeroes as NA and avoid the
error. I commited this change to the server.
Tramolin is a rather old function which I think was coded before we had
the interface to tramo in gretl. I thought this was obsolete, but
certainly I also have used it recently. I think that if the GUI
interface to Tramo had a way to save the "linear" series we could retire
Tramolin.
--
Firma Arista
*Ignacio Díaz-Emparanza*
Zuzendaria/Director
ignacio.diaz-emparanza(a)ehu.es <mailto: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* <
http://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.