I have the used the package and it nearly worked.
The only thing that seems not to work was the handling of missing codes at
the beginning and end of the files.
First time the script added correctly lines per missing code, but I think
the adding of the same lines after TRAMO is mistaken.
I had to take the
lines out of the routine for it to work.
It helped me a lot.
set shelldir @tramodir\graph\series
! del /Q *.t && cd @tramodir && "@tramo" -i sername -k
sername.ser && cd
@tramodir\graph\series && echo "ser_adj" > sername.txt
! type "@tramodir\ausentesp" >> sername.txt
! if exist xlin.t. (more +6 xlin.t >> sername.txt) else (more +6
xorigt.t >> sername.txt)
! type "@tramodir\ausentesf" >> sername.txt
[mailto:firstname.lastname@example.org] On Behalf Of Ignacio
Sent: Monday, April 27, 2009 11:10 AM
To: Gretl list
Subject: Re: [Gretl-users] TRAMO in Gretl: two qustions
El Saturday 25 April 2009 21:07:06 Allin Cottrell escribió:
On Sat, 25 Apr 2009, Allin Cottrell wrote:
> On Sat, 25 Apr 2009, Ofer Cornfeld wrote:
> > I have series in Gretl that need to be corrected according to TRAMO
> > with the following rules...
> > How can I activate it via a script? (As the above, needs to be done on
> > a regular basis).
> Sorry, can't be done via gretl at present, though that could be
I had forgotten that Ignacio Diaz-Emparanza worked on this sort of
issue, and came up with a clever script. I'm attaching a copy;
you should be able to modify it for your purposes.
I finally wrote it as a function package. You may find it opening with the
gretl menu: file/function files/on server/ tramolin
this has the more updated and corrected script.
Please, Yi-Nung, try it with this package and report any error. I will try
DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA)
Avda. Lehendakari Aguirre, 83 | 48015 BILBAO
T.: +34 946013732 | F.: +34 946013754
Gretl-users mailing list