Dear gretl community,
I've got a defined list and want save the position of a variable in this
list as a number (in a scalar named 'a') using the command 'inlist';
which works fine so far.
In a next step I want to use this scalar for the following restriction,
which doesn't work:
<hansl>
open denmark
list ttt = LRY IBO
scalar a = inlist(ttt,IBO)
ols LRM const ttt
restrict
b[a]=1
end restrict
<hansl>
Is there a way to store the position of IBO and use it for this
restrict-command?
Best,
Artur