Hi,
I'm currently trying to use the cool function-package features of gretl.
In the process I'm having some problems (with the cvs version from
yesterday).
Illustration:
1. start gretl
2. load example data2-3.gdt
3. execute the following function definition (without the email
linebreaks, of course):
function alphatest2 (int order, int rank, list endo, int consttrend,
bool seasonals)
vecm order rank endo
end function
4. Then execute the following script:
genr myorder = 2
genr myrank = 1
list myvar = unemp infl
genr myconsttrend = 3
genr myboolseasonals = 0
alphatest2 (myorder, myrank, myvar, myconsttrend, myboolseasonals)
... which sends gretl in an infinite loop it seems, so it has to be killed.
Experimentation showed that a function with the command:
vecm order 1 endo
works well.
And something totally unrelated: In the command reference index (text
format), when I click on genr, I get matrix.
thanks,
Sven