Overview of nls
by Ryan J. Pieszak
Greetings all,
In the documentation shown below (from the gretl-guide.pdf), are the regression functions being passed in standard functions? How would I know what function to pass in? My assumption was that I could just pass in the data sets and gretl would give back the parameters used to build the function.
nls C = alpha + beta * Y^gamma
nls y = alpha + beta * x1 + (1/beta) * x2
Also, it says that if the nonlinear function is a generalization of a linear model, running the ols and passing it's coefficient estimates in as the intial parameters would be more accurate. How do I know if the nonlinear function is a generalization of a linear model?
I don't really understand how to use the nls, and the documentation makes some assumptions on the user's level of knowledge.
Any help would be greatly appreciated.
Thanks,
Ryan
18 years, 3 months
Problems install Gretl in Mac Os X
by Ricardo Borges Gama Neto
I'm trying to install Gretl in Mac Os X. But there are some problems.
Can You help me? I put a archive in doc with the problems.
Thanks.
Ricardo Borges.
18 years, 3 months
Re:Re: [Gretl-users] Installing gretl from source
by Talha Yalta
>OK, I found a few moments to create a new snapshot. Can you
>please try this one and see if it works? Thanks.
Compiles like a charm :) Thanks very much. By the way, the linux
version doesn't report the build date in the "about" section as
opposed to the windows snapshots.
--
Don't go around saying the world owes you a living. The world owes you
nothing. It was here first. - Mark Twain
--
18 years, 3 months
This is off-topic but...
by Talha Yalta
...I know everybody in this mailing list use "free software" in
general and gretl in particular. So here is my question:
I have been using openoffice for a while now because it is open source
(well, almost), it has a very nice equation editor and it has built-in
pdf export function. However, I came to realize that maybe I must be
learning how to create documents in latex because it looks like it is
increasingly becoming prefered or even required way for journal
submissions.
I searched the web and found a latex editor called LYX. It looks very
neat but do you think it is worth learning how to use this program?
Are there better alternatives? Which programs do you fellow economists
use for writing articles?
I appreciate any feedback. Sincerely,
A T Yalta
--
Don't go around saying the world owes you a living. The world owes you
nothing. It was here first. - Mark Twain
--
18 years, 3 months
Request for semicolon separator for CSV data import.
by Hélio Guilherme
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I know that everyone is very busy, but I have a request for Allin or Jack.
On my Excel files I use ',' for decimal separator and ';' for lists
separator. This is, I think, the standard for Portuguese users.
So when to import data from a CSV file, Gretl have no option to choose
the ';'. So can it be implemented?
(I know that I can find/replace ';' for spaces in a text editor, but too
lazy. Also, I don't have time to study the code to change it for you. )
Thanks,
Hélio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEmcGCHvesJJ5UqvkRAtMeAKCtUHb5yvwNYl6LC9MOYsFRJb5JKACg+Ypj
lFAAOVnyiesqaApSwDn6WNI=
=G+Ez
-----END PGP SIGNATURE-----
18 years, 3 months
Re:Re: [Gretl-users] Installing gretl from source
by Talha Yalta
>On Mon, June 19, 2006 18:02, Talha Yalta wrote:
>>>In Debian, those files are included in the libxml2-dev package. I suppose
>>> that
>>>applies to Ubuntu as well. I can compile ok with version 2.6.26.dfsg-1
>>>Have you got libxml2-dev installed? What version?
>>
>> Yes, I have libxml2-dev package already installed. The version number
>> is: 2.6.24.dfsg-1ubuntu1.
>
>Maybe those files are not included in 2.6.24. Try:
>
> find /usr/include -name "xmlmemory.h"
>
>And see what you get.
>
>If all else fails, you may try to install the debian packages instead.
Well I tried the find /usr/include -name "xmlmemory.h" command and I got:
/usr/include/libxml2/libxml/xmlmemory.h
/usr/include/gnome-xml/libxml/xmlmemory.h
/usr/include/gnome-xml/xmlmemory.h
I was also able to locate the "parser.h" file in the same directories.
Since I have these files installed, is there a way to make the
configure file see them so that the program will compile? Also, why
can't the snapshot see these files while the official gretl-1.5.1 can
compile without errors?
A. T. YALTA
--
Don't go around saying the world owes you a living. The world owes you
nothing. It was here first. - Mark Twain
--
18 years, 3 months
Re:Re: [Gretl-users] Installing gretl from source
by Talha Yalta
>In Debian, those files are included in the libxml2-dev package. I suppose that
>applies to Ubuntu as well. I can compile ok with version 2.6.26.dfsg-1
>Have you got libxml2-dev installed? What version?
Yes, I have libxml2-dev package already installed. The version number
is: 2.6.24.dfsg-1ubuntu1.
>Thanks for the report. Could I ask you to take a look at the
>"Makefile" generated by configure, in src/gui2? In particular,
>there should be two lines starting
>XML_CFLAGS = ...
>XML_LIBS = ...
Yes, the Makefile file has those two lines as:
XML_CFLAGS = -I/usr/include/libxml2
XML_LIBS = -lxml2 -lz -lm
>A word of advice here (this may or may not be the problem).
>When you update the sources from CVS, you should run "configure"
>before "make", in case anything to do with the build process has
>changed meantime. Configure (re-)generates the Makefiles, and a
>stale Makefile may cause problems.
I run ./configure before running make in each case. In fact, the first
time I tried to compile the snapshot was on a fresh install of kubuntu
without any gretl installed. After getting the error message, I tried
and succesfully installed the official version. Later, I tried to
install the snapshot again and I got the same error message (after
running ./configure before running make.
--
Don't go around saying the world owes you a living. The world owes you
nothing. It was here first. - Mark Twain
--
18 years, 3 months
Re:Re: [Gretl-users] Installing gretl from source
by Talha Yalta
>> There is just one problem though: I realized that the source code that
>> I downloaded is for the official version 1.5.1. While this is newer
>> than the package offered in ubuntu repos, it is not the latest
>> snapshot that I wanted. How do I download the tar.bz2 file for the
>> latest development version?
>
>Sorry, I don't have a regular schedule for making snapshots of the
>sources. In general, CVS is a possibility:
>
>http://sourceforge.net/cvs/?group_id=36234
>
>But also I've just made a snapshot:
>
>http://ricardo.ecn.wfu.edu/pub/gretl/gretl-1.5.1-CVS.tar.bz2
>
>Allin
Thanks very much for the CVS snapshot of latest gretl Professor
Cottrell. And I must say compiling is really fun. In the last few days
I was able to run the latest versions of Lyx and Kile by means of
compiling. This saves me from using outdated packages (somehow) in the
dapper repos. There was a problem with compiling the gretl CVS file
though. During the make process, I got an error about two missing
files. I don't know why this happened but can it be something to do
with the snapshot? Because the official version compiles without any
problems. Here is the error message I get:
make[1]: Entering directory `/home/talhayalta/gretl-1.5.1/gui2'
gcc -c -g -O2 -I.. -I../lib/src -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/includ e
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/in clude/glib-2.0
-I/usr/lib/glib-2.0/include -I../gui2 -I../gui2/gtkextra-lite -
I/usr/include/libpng12
-I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/l
ib/glib-2.0/include
-DLOCALEDIR=\"/usr/local/share/locale\" about.c
In file included from gretl.h:36,
from about.c:23:
../lib/src/libgretl.h:32:31: error: libxml/xmlmemory.h: No such file
or director y
../lib/src/libgretl.h:33:28: error: libxml/parser.h: No such file or directory
In file included from ../lib/src/libgretl.h:376,
from gretl.h:36,
from about.c:23:
../lib/src/gretl_model.h:170: error: syntax error before 'xmlNodePtr'
../lib/src/gretl_model.h:343: error: syntax error before 'node'
make[1]: *** [about.o] Error 1
make[1]: Leaving directory `/home/talhayalta/gretl-1.5.1/gui2'
make: *** [gui2] Error 2
--
Don't go around saying the world owes you a living. The world owes you
nothing. It was here first. - Mark Twain
--
18 years, 3 months
rolling windows
by Daniel
Does anyone know if there is an easy way to do a rolling windows /recursive
estimation in Gretl and saving the predicted value?
/Daniel
--
-------------------------------------------------------
Daniel Heller Sahlgren
cell: +46-733 19 59 38
18 years, 3 months
Re: [Gretl-users] This is off-topic but...
by Talha Yalta
>Go for the real thing. Use LaTeX. If you're addicted to point-and-click and
>you don't mind the KDE-Qt style, Kile is not bad, but if you ask me,
>Emacs+AucTeX is the definitive answer. You may want to start with Kile and
>switch to Emacs later.
>
>On LaTeX, read this first:
>http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf
>
>Oh, and don't forget this :-)
>http://www.ecn.wfu.edu/~cottrell/wp.html
>
>HTH,
>
>Riccardo "Jack" Lucchetti
>Dipartimento di Economia
>Facoltà di Economia "G. Fuà"
>Ancona
So, as I understand from replies, Lyx is a good quality program that I
can depend on. To be honest, Kile and emacs options are very tempting.
I am a little confused but also intimidated from the screenshots of
Kile. So I guess it might be a good idea for me to start with lyx to
get things done and gain experience with working in this new
environment for a while. The objective will be to switch to working in
the text mode eventually. Thanks very much everybody for the useful
feedback.
--
Don't go around saying the world owes you a living. The world owes you
nothing. It was here first. - Mark Twain
--
18 years, 3 months