On Fri, 1 Feb 2008, Marcos Larios wrote:
> could you be more specific, please? Single equation or VAR,
> ARMA or not, etc. etc.
Hi Sven, I'm refering to the Roots in an ARMA model, ...
At present the roots are computed and printed (as you know), but
they're not fetchable via a "$" variable. That probably should
be added.
In the meantime this might be helpful: if you estimate an ar(i)ma
model using the --x-12-arima option in gretl, a plain
text file named varname.rts (where "varname" is the name of the
dependent variable) is written. This is in a simple fixed format
and contains all the roots information. It will be written to
your x12arima working directory. You can find out where that is
using
print "@x12adir"
in gretl.
the thing is that I need to build the graph for the unit root
test in ARMA models, for which I require acces (through code) to
the Roots, Imaginary, Modulus and Frecuency in the Unit Root
Test Results in the ARMA models, I also need to know how to
"draw" a circle in a graph with gretl, it seems I can't get
gnuplot to recognize the circle equation...
We currently have code for graphing the roots when you estimate a
VAR. You can see how we do this in either of these ways.
(a) Estimate a arbitrary VAR in the GUI. In the VAR output window
select Graphs/VAR inverse roots. Click on the graph and select
"Save to session as icon". Open the icon view window (View/Icon
view). Right-click on the graph icon and select "Edit plot
commands". You'll get a window showing the gnuplot commands for
making this sort of graph, which you could save under another name
and use as a template.
(b) Look at the C code that constructs the graph commands for this
case.
http://gretl.cvs.sourceforge.net/*checkout*/gretl/gretl/lib/src/graphing....
and look for "gretl_VAR_roots_plot".
Allin Cottrell