The mail has been sent magically before i finish it. Sorry for these duplicate mail issue. I was close to end actually.
Hello Mr Cottrell,Thank you for your help ! II am so grateful to you. I have one more additional question:How do i need to construct the parameter list of arma if i want to add an independent variable. (i.e: AR-X model) . In the example code you have given, the list as constructedlist[1] = 1; /* AR order */list[2] = 0; /* order of integration */list[3] = 1; /* MA order */list[4] = LISTSEP; /* separator */list[5] = 1; /* position of dependent variable in dataset */2012/2/8 Allin Cottrell <cottrell@wfu.edu>
_______________________________________________On Wed, 8 Feb 2012, Emrah Samdan wrote:See http://gretl.sourceforge.net/API/new/gretl/gretl-Plugins.html
I am a newbie for this mail list. Sorry, if i ask something not suitable.
I have been trying to use libgretl api to make estimations using arma
models, I have made the libgretl read my datafile. However, when i call
arma function like this:
ArmaModel = arma(list,NULL,dset,OPT_N,prn) ; it gives the error arma.so:
cannot open shared object file: No such file or directory.
I have execute sudo ldconfig /usr/local/lib/gretl-gtk2/ to add arma.so .But
it didn't fix my problem.
Do you have any solution to this ?
You should do:
gretl_setenv("GRETL_PLUGIN_PATH", "/usr/local/lib/gretl-gtk2/");
to tell libgretl where to find the plugins.I'm attaching a simple example.
Additionally, is there any place where some example code resides. I
desperately need some example code for especially arma model. ?
Allin Cottrell
Gretl-devel mailing list
Gretl-devel@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel
--
---Emrah Samdan