On Thu, 12 Oct 2006, Sven Schreiber wrote:
Hi, with gretl built today from cvs I can't get the
post-estimation
access to internal variables from *Systems* (VAR, VECM) to work via the
gui. (Well, actually this is the first time I'm trying, don't know about
earlier versions.)
It works if I do everything including estimation via console, but not if
I estimate via gui first, and then try various access methods (console
command, via menu in main window).
Also, in the documentation it says that in every model window there
should be some menu item to access those internal variables. But that
only seems to apply to single-equation stuff, right? If so, maybe it
should be clarified.
With VARs, at present, the only values you can retrieve via the
gui are the per-equation residuals (under the Save menu in the
model window). Basically this is because all other available
values are matrices, and there's no facility (yet) for handling
matrices in the gui (only series and scalars).
One other point: when you estimate a model via the gui (single
equation or multiple) it does _not_ become the "last model", for
data retrieval purposes, so far as the console is concerned.
This is perhaps debatable, but it's by design. The idea was that
things could get confusing. Suppose a user has one "thread" going
in the console (estimate, retrieve values, calculate), and then,
"on the side", estimates a model via point-and-click. Then where
should, say, $uhat be drawn from in the next console command?
At present the answer is, from the last model estimated via the
console.
Actually, the underlying assumption is that anyone doing anything
at all complicated with retrieval of model data would write a
script, in which case these issues don't arise.
Allin.