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.
13 years, 11 months
inconsistency in PCA function
by Rebecca Zhang
Hi,
I got inconsistent results when running PCA using covariance matrix in gretl. Please see attached TSY_curve file for the data used. Please see attached PCA_problem file that illustrated the problem when verified with R.
The result highlighted in yellow is different from R result and appears in consistent with a reduced components result. I appreciate if you can look into it. Thank you.
Regards,
Rebecca
14 years, 4 months
Gonzalo-Granger decomposition
by Gergely Gánics
Dear gretl users,
I would like to perform a Gonzalo-Granger decomposition using gretl.
Does anybody know how to do this? There used to be a function for it
(written by Sven Schreiber), but it's not part of the function packages
anymore.
Any help is greatly appreciated!
Thanks in advance.
Greg
14 years, 9 months
Panel Data Bug?
by Ricardo Gonçalves Silva
Hi,
Using Win 7, loaded a .xls panel data set, estimated it by FE, but when I asked for residuals, GRETL crashs.
HTH,
RIck
14 years, 9 months
Using gnuplot 4.5 with gretl on Linux
by Allin Cottrell
Here's a follow-up to my reply to Jaromir Baxa in
http://lists.wfu.edu/pipermail/gretl-users/2009-December/004194.html
in which I noted that for best results with gretl you need a
more recent version of gnuplot than is available via Linux
distros.
I've now added a page to the gretl site on installing gnuplot 4.5
on Linux for use with gretl. There are instructions for building
gnuplot from CVS, but in addition I'm making a pre-built package
available.
This is at
http://gretl.sourceforge.net/gnuplot_for_gretl.html
(it's also linked from the main gretl page, under the "Gnuplot"
heading).
Note that these instructions are not needed if you're using the
packages for MS Windows or OS X, since gnuplot 4.5 is included in
those packages.
Allin Cottrell
14 years, 9 months
Re: [Gretl-users] Bug in Gretl-Gnuplot interaction under Linux
by Jaromir Baxa
Here is the dataset - the testdata.gdt. Imported from OECD, than from OpenOffice.
The file TestPlot1.png shows two plots.
First, there is a plot of an output gap. Cursor was placed to the highest point at the peak before 1990. The position identified in the left-low corner of the plot shows it is in the second quarter of 1989 although the data show it was in the fourth quarter of 1989.
Second, there is XY scatter plot cpiexp vs. gap with label at the observation at the 1Q1984. The true value of the gap at this point is the same as on the plot according to the labels on the x axis (-4), however the cursor coordinates report -3.6 for the value of the output gap at the same observation.
This is a bit tricky - I don't know neither the cause of the problem nor how to solve it. From time to time I would like to see, when some peak occurred and like this I have to import selected time series back to OpenOffice or to have a look at the values explicitly.
There's no problem like this in Windows on the same machine.
Jaromir
______________________________________________________________
> Od: gretl-users-request(a)lists.wfu.edu
> Komu: gretl-users(a)lists.wfu.edu
> Datum: 28.12.2009 18:01
> Předmět: Gretl-users Digest, Vol 35, Issue 29
>
>Send Gretl-users mailing list submissions to
> gretl-users(a)lists.wfu.edu
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.wfu.edu/mailman/listinfo/gretl-users
>or, via email, send a message with subject or body 'help' to
> gretl-users-request(a)lists.wfu.edu
>
>You can reach the person managing the list at
> gretl-users-owner(a)lists.wfu.edu
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Gretl-users digest..."
>
>
>Today's Topics:
>
> 1. Bug in Gretl-Gnuplot interaction under Linux (Jaromir Baxa)
> 2. Re: Bug in Gretl-Gnuplot interaction under Linux (Allin Cottrell)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Mon, 28 Dec 2009 16:59:49 +0100
>From: Jaromir Baxa <jaromir.baxa(a)centrum.cz>
>Subject: [Gretl-users] Bug in Gretl-Gnuplot interaction under Linux
>To: <gretl-users(a)lists.wfu.edu>
>Message-ID: <1262015989.208652.1252.nullmailer(a)mail1008.cent>
>Content-Type: text/plain; charset=UTF-8
>
>
>Dear gretl-friends,
>I think I've found a bug, but I'm not sure, so please can anybody check it? I'm using gretl on Kubuntu (currently 9:10), Gretl version 1.8.1 and 1.8.6, gnuplot 4.2.6-1 and plots are shifted to the right.
>Using a "time series plot" the points for let's say 1985 are placed as being in 1986, on XY scatterplot everything is shifted again to the right with respect to the values of variable on the X axis.
>I've found the same thing on gnuplot and gretl in kubuntu repositories, that is for the gretl 1.8.1 version and associated gnuplot version.
>If this is not a bug and it can be fixed by some command to gnuplot or some change in gretl settings, I will be very grateful for any advice.
>With best regards,
>Jaromir Baxa
>
>
>
>------------------------------
>
>Message: 2
>Date: Mon, 28 Dec 2009 11:27:08 -0500 (EST)
>From: Allin Cottrell <cottrell(a)wfu.edu>
>Subject: Re: [Gretl-users] Bug in Gretl-Gnuplot interaction under
> Linux
>To: Gretl list <gretl-users(a)lists.wfu.edu>
>Message-ID: <Pine.A41.4.58.0912281125570.2064560(a)f1n11.sp2net.wfu.edu>
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>
>
>On Mon, 28 Dec 2009, Jaromir Baxa wrote:
>
>> I think I've found a bug, but I'm not sure, so please can
>> anybody check it? I'm using gretl on Kubuntu (currently 9:10),
>> Gretl version 1.8.1 and 1.8.6, gnuplot 4.2.6-1 and plots are
>> shifted to the right. Using a "time series plot" the points for
>> let's say 1985 are placed as being in 1986, on XY scatterplot
>> everything is shifted again to the right with respect to the
>> values of variable on the X axis.
>
>Could you give a simple test case, using one of the supplied
>datasets, and post a PNG of the graph? Thanks.
>
>Allin Cottrell
>
>
>------------------------------
>
>_______________________________________________
>Gretl-users mailing list
>Gretl-users(a)lists.wfu.edu
>http://lists.wfu.edu/mailman/listinfo/gretl-users
>
>End of Gretl-users Digest, Vol 35, Issue 29
>*******************************************
>
14 years, 9 months
Bug in Gretl-Gnuplot interaction under Linux
by Jaromir Baxa
Dear gretl-friends,
I think I've found a bug, but I'm not sure, so please can anybody check it? I'm using gretl on Kubuntu (currently 9:10), Gretl version 1.8.1 and 1.8.6, gnuplot 4.2.6-1 and plots are shifted to the right.
Using a "time series plot" the points for let's say 1985 are placed as being in 1986, on XY scatterplot everything is shifted again to the right with respect to the values of variable on the X axis.
I've found the same thing on gnuplot and gretl in kubuntu repositories, that is for the gretl 1.8.1 version and associated gnuplot version.
If this is not a bug and it can be fixed by some command to gnuplot or some change in gretl settings, I will be very grateful for any advice.
With best regards,
Jaromir Baxa
14 years, 9 months
Ralph M Rodriguez/PO/KAIPERM is out of the office.
by Ralph.M.Rodriguez@kp.org
I will be out of the office starting 12/24/2009 and will not return until
01/04/2010.
Hi All, I will be out of the office from tomorrow Thursday, Dec 24 through
Sunday, Jan 3, 2010. Returning to the office on Monday Jan 4, 2010.
Please, if you have an immediate question regarding Cost Model or
Construction Economics, email me or Brad A Njus with your questions. We
will return your concern as soon as we return to the office on Jan 4, 2010,
Thanks much for your consideration. And, we wish everyone a Merry
Christmas and Happy New Year.
Ralph
14 years, 9 months