gretl 1.7.6rc1
by Allin Cottrell
Current gretl CVS and the Windows snapshot at
http://ricardo.ecn.wfu.edu/pub/gretl/gretl_install.exe
contain release candidate 1 for gretl 1.7.6.
Please note that this version involves a backward-incompatible
change with respect to gretl 1.7.5 and earlier, affecting
user-defined functions that (a) take a named list of variables as
an argument and (b) do things with the list-member variables by
means of a "foreach" loop on the list.
I won't go into the rationale for this change here. Anyone who
wants the details may look at the proceedings on the gretl-devel
list for July, which were mostly taken up with this issue:
http://lists.wfu.edu/pipermail/gretl-devel/2008-July/thread.html
There's also a brief discussion in the chapter of the User's Guide
that deals with user-defined functions. But here's the bottom
line for users:
* If you want to "get hold of" a list-member variable in the
context noted above, you have to use the syntax listname.varname,
where listname is the name of the list in question and varname is
the name of the list member. (This is required only if you're
working with a list that was supplied as a function argument.)
Trivial example: inside a function, creating new variables which
are the cubes of the members of an original list, xlist, where
xlist is an argument to the function.
Old style:
loop foreach i xlist
$i_3 = $i^3
endloop
New style:
loop foreach i xlist
$i_3 = (xlist.$i)^3
endloop
In the new scheme, "$i" gets the name of the list-member variable
alright, but the variable is not "visible" under that name within
the function. So on the right-hand side of the expression that
creates the cubes, we need "(xlist.$i)^3". (Well, actually the
parentheses are not required, but wearing your seatbelt is in
general a good idea.)
Although this may affect quite a large number of existing
functions, we believe the effects are localized and the update
should be trivial. If anyone has a function for which the update
is _not_ trivial, please let us know.
Allin Cottrell.
14 years, 2 months
Problems with Accented Filenames (Windows XP & Mac OS/X)
by Henrique
Hi!
I sent a mail for our gretl list speaking about my problems with
accented filenames. Well, I hadn't solved my problem yet. Because of this I
try to use a PC (with Windows XP) computer to avoid these problems. But
another problem had arised!
I going to describe the problem to you with details:
(1) I opened gretl (version 1.7.8cvs build date 2008-09-22)
(2) I opened the datafile called "data9-7.gdt" (from the Ramanathan's
examples)
(3) I saved these file with another name: "Acentuação.gdt"
(4) I closed gretl
(5) I opened gretl again clicking in "Acentuação.gdt" twice
(6) I deleted the series 9, 10 and 11 (named SPRING, SUMMER and FALL,
respectively)
(7) I saved the database with these changes and closed gretl*
*After the "step 7", described above, I`d noticed that a new file, called
"Acentuação.gdt~" had appeared in the same folder of the file
"Acentuação.gdt". Before proceeding I had deleted this new file
("Acentuação.gdt~").
(8) I opened gretl again with a double click in the file "Acentuação.gdt"
(9) I opened the series called PRICE and choose the option "graph"
(10) I saved the graph as a session icon
(11) I closed the graph and tried to save the session with the name
"Acentuação Session.gretl". In that point the following message appears:
"zip error: File not found or no read permission (file '.Acentuação Session'
was not found)"
(12) After that message I tried to save the session with the name
"Acentuacao Session.gretl" (without accented characters). The software
(gretl) saved the session with success with the name "Acentuacao
Session.gretl"
(13) I closed gretl and when I'd tried to open the session file called
"Acentuacao Session.gretl"the following message appears:
"No such file or directory"
What's wrong? Am I doing any mistake? Any help are welcome!
Regards,
Henrique Andrade
PS.: I know I'm bugging you guys, but it isn't my intention! Sorry! :(
15 years, 8 months
DF unit root test for residual process in cointegration equation
by Piotr Kowalczyk
Hello,
I have just subscribed to Gretl users group. So firstly, I would like
to welcome all users and apologize for all my language mistakes.
I have got a problem with my analysis on cointegration. I was testing
some data on cointegration so I tested the order of integration of time
series (2 time series) and then estimated cointegration vector both in
Gretl (Engle-Granger test) and on my own. I have received the
differences between those estimations.
I was wondering if someone could send me the proper way to test
cointegration without using Gretl so as to achieve the same results as
using Gretl. I am interested in no constant test with 0 and 1 lag. Where
I can find the information on how Gretl is estimating tau_nc, estimated
(a-1) and p-value for this test.
Thank you for any help.
Kind regards
Piotr Kowalczyk
----------------------------------------------------
Dołącz do Wirtualnych! Ja już mam swój profil.
Kliknij -> http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Finfo.html&sid=493
16 years, 3 months
Introducing the Turkish translation of gretl :-)
by Talha Yalta
Ladies and gentlemen:
I am happy to tell you that I have just sent the complete and brand
new tr.po file to Allin so that he can replace it with the existing
old and incorrect one in the cvs. I have been translating the gretl UI
into Turkish over the summer and it was actually finished for quite
some time now. I have been testing it to make sure it is of a high
quality.
Over the last several weeks, I have also translated almost the entire
gretl web site into Turkish, which is also uploaded now to the cvs.
I don't think most people here (except Allin and Jack)
know me, so, let me briefly introduce myself: I am a gretl user and a
follower of its development since my Ph.D. studies at Fordham
University in New York. After my graduation last year, I started
working as assistant professor at TOBB University of Economics and
Technology in Ankara. Over the last few years, I was instumental in
testing the numerical accuracy of gretl on several fronts including
linear regression, nonlinear regression, univariate summary
statistics, statistical distributions and the arma functionality. In
2007, I published a review of gretl including its numerial accuracy in
Journal of Applied Econometrics (22 (4), 849-54, 2007). My newest
article is forthcoming in International Journal of Forecasting
(available online, doi:10.1016/j.ijforecast.2008.07.002) and looks at
the Box-Jenkins methodology from a computational perspective. It also
compares ARIMA results from several econometric packages including
gretl.
Aside from testing the acuuracy of gretl on different fronts, from now
on, I will also be the maintainer of the Turkish translation and the
Turkish web pages. I am very happy and honored to join the team of
gretl developers formally.
It is my understanding that with the upcoming version 1.7.9, gretl
will now have support for two new languages namely Russian and
Turkish. Step by step, I think we are getting close
to world domination. This is pretty exciting. I would like to thank
all the fellow developers and Allin in particular for creating what
has become one of the best econometric packages around.
Cheers
A. Talha YALTA
--
"Remember not only to say the right thing in the right place, but far
more difficult still, to leave unsaid the wrong thing at the tempting
moment." - Benjamin Franklin (1706-1790)
--
16 years, 3 months
Re: Fwd: Problem with Gretl
by FERNANDO DIAZ
Allin:
Reinstalling X11 solved the problem. I really don´t understand what
happened. Anyway, it is safe to reinstal X11. All the other application
running on X11 are working fine, so it seems it is not necessary to
uninstall it first.
Thanks for all your help!
* Fernando Díaz H., Ph.D.*
Assistant Professor of Finance
School of Economics and Managerial Sciences
Universidad de los Andes
(56 2) 412-9650
ferdiaz(a)uandes.cl
fdiaz(a)stima.cl
Avda. San Carlos de Apoquindo 2200, Las Condes,
Santiago
Chile
On Wed, Sep 24, 2008 at 5:37 PM, Allin Cottrell <cottrell(a)wfu.edu> wrote:
> On Wed, 24 Sep 2008, FERNANDO DIAZ wrote:
>
> > No. I really don´t understand what might have happened. The one thing
> that I
> > did install is the Xcode, since this was required for MacTex ( I use
> Lyx).
> > Anyways, do you think I will have to reinstall my other software - STATA,
> > LYX, OpenOffice -as well after reinstalling X11?
>
> It might be worth googling this problem some more. I have come
> across one possibly relevant exchange:
>
> http://article.gmane.org/gmane.os.apple.fink.general/25670
>
> Allin.
16 years, 3 months
Inflation...
by Mariusz Doszyń
Hello...
This question is not connected directly with gretl but I'll be grateful for your opinions. I've estimated panel data models for mainly UE countries with consumption, gross savings, invstments and money supply (M1) as dependent variables and income, interes rates, consumer prices index and time variable as an independent variables. Should all theses variables be corrected with restpect to inflation rates? Or maybe it's better idea to put inflation rate as an independent variable? Many keynesian economists used to analylize nominal variables...
Thanks in advance for your help...
Best wishes...
Mariusz
Poland
16 years, 3 months
Re: Problems with accented file names
by Gordon Hughes
> I'd tested with the new snapshot and it really worked fine!!!! Now,
>only the OS/X snapshot remains with the problems.
>
>Henrique
Mac OS-X is really Unix with an Apple veneer on top. The file
.profile is a hidden Unix file that contains basic information for
the shell that runs most programs. Textedit (the Apple editor) will
edit hidden files if (a) you have administrative privileges (which is
likely if you are the sole user), (b) you use the terminal rather
than the standard graphical interface. Do a Google search on "edit
hidden files in OS-X" and you will find articles with appropriate
instructions - eg
http://www.tech-recipes.com/rx/2618/os_x_easily_edit_hidden_configuration...
.
But, I am surprised that this is necessary. The International
configuration under System Preferences should set up the language
preferences to cope with Brazilian Portuguese files. Check that the
box for Portugues (Brasil) is ticked in the list of language options
- I assume that it is since you say that you can see files with
accented file names in other programs. Also check that the
associated configuration variables are correct.
Gordon
16 years, 3 months
Fwd: Problem with Gretl
by FERNANDO DIAZ
---------- Forwarded message ----------
From: FERNANDO DIAZ <ferdiaz(a)miuandes.cl>
Date: Wed, Sep 24, 2008 at 12:51 AM
Subject: Problem with Gretl
To: cottrell(a)wfu.edu
Dear Allin:
I have a problem with Gretl for Mac. I installed Gretl from the file
gretl-1.7.8.dmg last week. When I tried the first time, it worked perfectly.
However, when I tried to run it today, I received the following message:
The application gretl_x11 quit unexpectedly.
I have tried everything you suggest in the readme.pdf, but it is not
working. The weird thing is that I was able to run it last week! The problem
is that I am a new Mac user, so I really do not know what to do. I would be
most grateful if you could help me with this issue, since I use Gretl to
teach the introductory econometrics class.
I have a Macbook Pro Intel Core 2 Duo running on Max OS X Version
10.5.2.Other software using X11 - like Octave or R - seem to run
without problems.
(I already suscribed to the mailing list)
Thanks for your help
* Fernando Díaz H., Ph.D.*
Assistant Professor of Finance
School of Economics and Managerial Sciences
Universidad de los Andes
(56 2) 412-9650
ferdiaz(a)uandes.cl
fdiaz(a)stima.cl
Avda. San Carlos de Apoquindo 2200, Las Condes,
Santiago
Chile
16 years, 3 months
Contents of a list excluding the constant term
by Gordon Hughes
I am close to completing improved versions of my stochastic frontier
functions, but I am trying to get better starting values. This leads
me to the following problem. Suppose that a function is given a list
X containing the independent variables, which may or may not include
the constant (default variable no 0). How do I create a new list
X_one which consists of all of the independent variables other than
the constant?
In effect, this list is the complement of X && const, but I think
that I am missing something because I can't see an obvious way of
generating it.
Gordon
16 years, 3 months
"ricardo" server switched
by Allin Cottrell
The server ricardo.ecn.wfu.edu, which serves various gretl-related
purposes (e.g. databases) has just been radically reconfigured:
it's now a virtual machine run by our IT department rather than a
box over which I have full control.
I'm afraid there may be some transitional problems. I believe
everything that you'd access via a browser should be OK, but
access to databases and function packages via gretl itself may not
be right. I'm working on this.
For Windows users: the current snapshot
http://ricardo.ecn.wfu.edu/pub/gretl/gretl_install.exe
has some modifications that should fix any access issues.
--
Allin Cottrell
Department of Economics
Wake Forest University
16 years, 3 months