Hi, this is with the Windows snapshot from May 23rd, previous gretl
installations were cleanly removed, and I made sure that there's only
one version/instance of the regls addon on the system (I hope).
See this example:
<hansl>
include regls.gfn
function void checko(series y, list X)
bundle stage1 = regls(y, X, _(ridge=TRUE))
print y # error
end function
open murder.gdt --frompkg=regls --quiet
list X = population..LemasPctOfficDrugUn
smpl 1 1000
checko(murdPerPop, X)
</hansl>
From the indicated line I'm getting an error "'y' undefined",
which
really puzzles me. I mean 'y' is passed as an argument, is used
successfully (it seems) in the regls call, and then afterwards it
disappears??
thanks
sven