On Wed, 14 Nov 2012, Mariusz Doszyń wrote:
I want to add some kind of linguistic variable to my data set (in
form of a
vector). This vector will contain name of the method used while calculating
forecasts for each variable. Maybe you have any ideas how to do this in
In English these are called string variables. Look at the
discussion of strings in chapter 13 of the Gretl Users Guide.
In this case you may want something like
string methods = "Method_1 Method_2 Method_3"
loop foreach i @methods -q
printf "Method = $i\n",
# print other stuff