On Thu, 4 Apr 2013, aymen kaabi wrote:
This is what you want only if you plan to write your own code
in C or C++ or similar, linked to the libgretl library, to run
an autoregression. If you just want to run the autoregression,
use gretl itself:
http://gretl.sourceforge.net/ .
If coding to the libgretl API is really your intent, you
should look at the examples in the "extra" subdirectory in the
gretl source package. The examples don't include a VAR but
they will give you some notion of how to get started, and will
hopefully make the description of the gretl_VAR() function in
the API documentation more comprehensible.
And in the latter case you should be looking at the "new"
gretl API, not the old.
http://gretl.sourceforge.net/API/
Allin Cottrell