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
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, 5 months
gretl no longer working (Ubuntu Hardy)
by lombardo
Hi,
not long ago I started exploring gretl with Ubuntu Hardy. (Gretl 1.7.1)
I was able to import a CSV file (here attached). Then I tried to install
gretl 1.7.9 (unsuccessfully) and the old version of Gretl (re-installed
several times) failed to open that CSV file (or even closed down when
trying to do so).
Givning the following command
>>gretl --version
I get (see below) which reports a suspicious 1.7.9: Does anybody see
what is going on? Is gretl 1.7.1 supposed to report "gretl: gui client
for gretl version 1.7.9"?
Regards
Gianni
setlocale(LC_NUMERIC, "en_US.UTF-8") returned en_US.UTF-8
error: 'Failed to execute child process
"/mnt/dosc/userdata/rats/oecd/" (No such file or directory)'
error: 'Failed to execute child process
"/mnt/dosc/userdata/rats/oecd/" (No such file or directory)'
error: 'Failed to execute child process
"/mnt/dosc/userdata/rats/oecd/" (No such file or directory)'
error: 'Failed to execute child process
"/mnt/dosc/userdata/rats/oecd/" (No such file or directory)'
error: 'Failed to execute child process
"/mnt/dosc/userdata/rats/oecd/" (No such file or directory)'
error: 'Failed to execute child process
"/mnt/dosc/userdata/rats/oecd/" (No such file or directory)'
gretl: gui client for gretl version 1.7.9,
Copyright Allin Cottrell and Riccardo "Jack" LucchettiThis is free
software with ABSOLUTELY NO WARRANTY.
15 years, 10 months
Re: Problem installing from cvs in Ubuntu 8.04
by Gordon Hughes
Just for information, I have been able to compile recent versions of
gretl under Ubuntu 8.04 and use a functioning version of R with a
much more limited set of libraries than those that you list in your
last e-mail. Based on my experience the minimum requirements are:
libblas3gf (1.2.1.3ubuntu4)
libblas-dev (ditto)
liblapack3gf (3.1.1-0.3ubuntu2)
liblapack-dev (ditto)
plus the gfortran and gfortran2 compilers/libraries that you list.
In the past I have encountered difficulties when too many versions of
atlas, blas, lapack or fortran are installed, because the compiler or
Ubuntu appears to get confused in seeking the appropriate libraries.
Gordon
15 years, 11 months
Graphing news
by Allin Cottrell
Here's some more news about developments in gretl's graphing
capabilities, in CVS and the Windows snapshot. I'd encourage
people to test the new things and report any problems.
* Color selection. We now distinguish between (a) choice of a
color "palette" for graphs in general, and (b) ad hoc choice of
colors for lines/points in a particular graph. There's a new tab
labeled "Palette" in the GUI graph controller. If you make
changes there, they will be remembered from session to session and
will affect all subsequent graphs. And under the "Lines" tab in
the controller you have a color button for each line: use this to
make changes for the current graph only. (This requires gnuplot
4.2 or higher).
* Adding and removing user-defined lines. Under the lines tab
(for some sorts of graphs) you have an "Add line" button to add a
line defined by a formula. Once such a line is added, you then
get a "Remove" button to remove it. The added line will have a
solid/dotted selector. This is a limited first stab: it turns out
it is easy to define a line as black dots in gnuplot, and that's
what the "dotted" selection does (and so it disables the color
selector for the added line). A more full-featured selector may
follow.
* Choosing point types. For lines defined by data-points, if you
select the "points" or "linespoints" style (GUI controller,
"Lines" tab), you can then select the specific point-type from a
drop-down list (cross, square, diamond, etc.).
* Boxplots. These used to be handled via native gretl code, but
now they have been handed over to gnuplot, using gnuplot's
"candlesticks" style. If you create a boxplot, clicking on the
plot now shows the full range of options that are available for
other sorts of graph. You can invoke the GUI controller to edit
the plot.
--
Allin Cottrell
Department of Economics
Wake Forest University
15 years, 11 months
Tricks 'n Treats in Time Series Analysis
by David Hirsch
At one point in the myth, Gretel (and Hansel) consume the sweet (eye) candy
house (architecture). Could this be an aplicable metaphor for Statistical
Learning Theory applied to Time Series Prediction? A chocolate covered
bicameralism? Happy Halloween and thanks for your help.
I intend to apply gretl (possibly R too) for the purpose of forecasting
models of the Foriegn Exchange. The platform from wich the Foriegn Exchange
time series data is observed and recorded is the MT4, Meta Trader 4 platform
from Metaqoutes. Scripts may be created in the metaqoutes language as well
as algorithmic trading rules. The menu path of the MT4 platform would be
under Tools then History (also F2), and from there various currency pairs
(EUR/USD) as well as time period (one hour chart, 4 hour chart, daily chart)
are available to export as .csv, .htm and .pm files. MT4 also offers tick by
tick data via a DDE (dynamic data exchange) link. The MT4 platform is one
that is used the most often in this industry and it is available with no
cost. Data is freely available from most retail Forex brokers when you sign
up for a practice account, in case you would like free data to play with. I
typically use Open Office calculator .ods files as my default spread sheet.
The gretl handbook talks about stacked time series and the commnad SETOBS on
pg.23-24 and then up to Ch.5 on pg.30 it mentions other useful commands for
stacked time series such as: UNITVAR, TIMEVAR, FREQ, STRCUTURE, STACK, etc.
It's my understanding that gretl expects data to be arranged by observation
and each row represents an observation.
The time series data I am working with is the exchange price of currency
pairs in multiple time frames (minute chart, hour chart, daily, weekly).
For example at 12PM noon on October, 31, 2008 the exchange price for a Euro
dollar in U.S. dollars is $1.27 (expressed as EUR/USD 1.2732). Further the
data from the MT4 is formated in rows as date, time, Opening price, High,
Low, Closing price, volume. This is the standard formatting and I am still
simply working on organizing the data from the MT4 platform to the gretl
platform. I was able to put the daily closing price all in a row and import
it into gretl but I still need to figure out the SETOBS command to get the
proper period. I also need to have a better understanding of how best to
stack this time series data (hour charts within daily charts within
weekly).
My inital question then is for suggestions on how to stack these time
series. I'm seeking suggestions on strategies for nesting this data with
gretl for the purpose of forecasting models. The books that I am using as
guides for this project are "Time Series Prediction: Forecasting the Future
and Understanding the Past" by Andreas Weigend and Neil Gershenfeld and the
book "Statistical Learning Theory" by Vladimir Vapnik. There are several
other books that led me here such as "Chaos Under Control" by Peak and
Frame.
I've noticed patterns on all scales from some spread sheet experiments with
multiple currency pairs and I want to investigate further with gretl. I have
not been formally educated past a college associate level and I am learning
on my own. Help and direction is greatly appreciated. The stacking question
I have is in reference to observing these self similar patterns from
multiple time frames. How may I investigate these self similar properties
within a stacking type of architecture in time series analysis is the best
way I may frame my question without going into further detail.
Time Series tricks 'n treats
David
15 years, 11 months
Invalid byte sequence in conversion input
by FERNANDO DIAZ
Hi there!
Hope someone can give me a hand. I am experiencing the following problem:
when I try to copy some output tables from Gretl in Plain Text, I get the
following message
"Invalid byte sequence in conversion input"
The weird thing is that graphs can be copied OK, and some tables too. For
instance, when I try to copy the main OLS results table I get the error
message.
Does someone know what might be going on?
I am using Gretl 1.7.9 on Mac OS X 10.5.5.
Thanks!
Fernando
15 years, 11 months
problem to install current cvs
by t.artur@freenet.de
Ok, I did the make clean command after I have updated once again.
But now comes this output after typing "sudo make install":
artur@aggressor:~/cvs/gretl$ sudo make install -j2
[sudo] password for artur:
make -C lib
/builddate.pl
No need to update build.h
make -C po
make[1]: Betrete Verzeichnis '/home/artur/cvs/gretl/po'
/usr/bin/msgmerge --update de.po gretl.pot
make[1]: Betrete Verzeichnis '/home/artur/cvs/gretl/lib'
make[1]: »libgretl-1.0.la« ist bereits aktualisiert.
make[1]: Verlasse Verzeichnis '/home/artur/cvs/gretl/lib'
make -C share
make[1]: Betrete Verzeichnis '/home/artur/cvs/gretl/share'
make -C ../doc/commands help-all
make[2]: Betrete Verzeichnis '/home/artur/cvs/gretl/doc/commands'
make[2]: Warnung: Kein Jobserver verfügbar: -j1 wird gesetzt. »+« zur
Ursprungsregel
hinzufügen.
make[2]: Für das Ziel »help-all« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/home/artur/cvs/gretl/doc/commands'
make[1]: Verlasse Verzeichnis '/home/artur/cvs/gretl/share'
/tools/mkinstalldirs /usr/local/lib /usr/local/bin
/tools/install_man ./tools /usr/local ./gretl.1
Installing ./gretl.1 in /usr/local/share/man/man1
/tools/install_man ./tools /usr/local ./gretl-config.1
Installing ./gretl-config.1 in /usr/local/share/man/man1
.......................................................................................................................................................................................................................................................................................................................make
-C cli
make[1]: Betrete Verzeichnis '/home/artur/cvs/gretl/cli'
make[1]: »gretlcli« ist bereits aktualisiert.
make[1]: Verlasse Verzeichnis '/home/artur/cvs/gretl/cli'
fertig.
make -C gui2
/usr/bin/msgmerge --update eu.po gretl.pot
make[1]: Betrete Verzeichnis '/home/artur/cvs/gretl/gui2'
gcc -c -g -O2 -I.. -I../lib/src -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/pixman-1 -I../gui2
-I/usr/include/gtk-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-DLOCALEDIR=\"/usr/local/share/locale\" gpt_dialog.c
.......................................................................................................................................................................................................................................................................................................................
fertig.
/usr/bin/msgmerge --update fr.po gretl.pot
.......................................................................................................................................................................................................................................................................................................................
fertig.
make[1]: Verlasse Verzeichnis '/home/artur/cvs/gretl/po'
make -C plugin
gpt_dialog.c:31:24: Fehler: points_xpm.h: No such file or directory
gpt_dialog.c: In Funktion »point_types_combo«:
gpt_dialog.c:1583: Fehler: »points_xpms« nicht deklariert (erste
Benutzung in dieser Funktion)
gpt_dialog.c:1583: Fehler: (Jeder nicht deklarierte Bezeichner wird nur
einmal aufgeführt
gpt_dialog.c:1583: Fehler: für jede Funktion in der er auftritt.)
make[1]: *** [gpt_dialog.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/artur/cvs/gretl/gui2'
make: *** [gui2] Fehler 2
make: *** Warte auf noch nicht beendete Prozesse...
make[1]: Betrete Verzeichnis '/home/artur/cvs/gretl/plugin'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Verlasse Verzeichnis '/home/artur/cvs/gretl/plugin'
artur@aggressor:~/cvs/gretl$
Any ideas?
Artur
Die Zeit ist reif für Ihre
Wunschfigur
http://weightwatchers.freenet.de
15 years, 11 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 10/30/2008 and will not return until
11/03/2008.
I will be out of the office on business from Oct 30 through Oct31,
returning to the office Nov 3. I will be checking emails while away from
the office. If you have any questions regarding Construction Economics
and/or Cost Model, please eamail me and/or contact Bradley A Njus at 510
625 4595.
Thanks.
Ralph
15 years, 11 months
Beginner's question
by James Savage
Hi,
I am an absolute beginner at Gretl, so forgive my silly question.
Say I run a model in the console, but then want to use the tests from the
GUI model (which I find easier), how do I have the console spit the model
out in a separate window?
Cheers,
Jim
15 years, 11 months