On Tue, 31 Dec 2013, Sven Schreiber wrote:
Hi,
I stumbled across a very strange thing, namely ending up with two variables
with the same name "nordwest" in a panel workfile. I'm attaching a
stripped-down version in the hope that the effect is still visible when the
file gets to you.
The source was a Stata file, but I just re-imported to check, and only one
"nordwest" appears right after the import. So it must have been something
after that, within gretl. BTW, the content of the variables were not
identical, which is of course even worse.
This is with the 32bit gretl 1.9.14 on Win7.
This is in fact a bit disturbing, but is a consequence of the fact that
internally the two object are distinct. The fact that series have a name
is (surprising as it may sound) little more than a convenience for the
user. Internally, series are identified by their progressive order. If you
could send us the original Stata file, we could see why we end up with
duplicate labels and how we could modify the auto-renaming algorithm to
avoid similar cases in the future.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------