I would like to express my support of rudimentary handling of string valued variables. I
teach an MBA statistic course using Gretl. Having the ability to use a string valued
variable as a category variable would be great! The same functionality is currently
available, but for my students a named category is more intuitive than number codes
representing that category. It would also make factorized boxplots cooler too. Something
to think about for Gretl 3.0 ;-)
Logan
-----Original Message-----
From: gretl-users-bounces(a)lists.wfu.edu [mailto:gretl-users-
bounces(a)lists.wfu.edu] On Behalf Of Riccardo (Jack) Lucchetti
Sent: Friday, August 2, 2013 6:05 AM
To: Gretl list
Subject: Re: [Gretl-users] Value labels
On Fri, 2 Aug 2013, Giuseppe Vittucci wrote:
> I noted that the new version of gretl handles the value labels for
> string-valued variables when it imports a dataset.
> They are shown when I list the variable.
> I wonder if there is some way to access/modify/drop these labels.
At present, the feature is experimental and no, there's no built-in way.
The only thing you can do, at the moment, is
* save your dataset in xml form
* open the xml file and look for "valstrings"
* modify the xml file as desired
If you're thinking "this is way too complicated", you're right. Proper
support
for string-valued variables is planned, but not a priority, unless overwhelming
popular demand convinces the development team ;)
-------------------------------------------------------
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
-------------------------------------------------------