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
Re: [Gretl-users] ANOVA
by andreas.rosenblad@ltv.se
geno83(a)gmail.com @ wrote 2008-04-17 19:12:44 :
> Hello
>
> I'm working on ANOVA. I want put one way Anova and two way Anova to
gretl.
> I made first version of one way ANOVA. It is still test version, but
> it's working.
> You can download sources and test it.
> I will be glad if you put ANOVA to gretl official version.
>
Very good. ANOVA is one of the features I have missed in gretl. I hope that
you will continue to contribute code to gretl.
Best regards,
Andreas
16 years
Problem updating from cvs in Fedora 8
by John C Frain
I do most of my work in Windows XP but have always done some of it in
Linux. My main system is a dual boot with Fedora 8 and Windows XP.
Fedora 8 was my choice because it supported my wireless card (I have
had to reverse Fedora kernel updates to keep my Wireless network
working but that is another matter).
I installed Gretl 1.7.1 from cvs following the steps in the manual
and it installed and ran perfectly. The alternative rpm would not
install - I think it was looking for an older version of one of the
required libraries. I presumed that it was something wrong with my set
up and when the alternative worked I did not examine the matter any
more. I would now like to upgrade but have not been able to do so.
I try
cvs -update -d -P
and get a lot of output telling me what is being updated.
the output of
./configure --enable build-doc
is in the attached file
which produces something like the output on page 206 of the current manual.
However when I try to run I get the following (logging on as root and
repeating the entire sequence produces an identical result).
[frainj@localhost ~]$ su
Password:
[root@localhost frainj]# cd cvs/gretl/
[root@localhost gretl]# make
make -C lib
make[1]: Entering directory `/home/frainj/cvs/gretl/lib'
make[1]: *** No rule to make target `../lib/src/f2c.h', needed by
`gmm.lo'. Stop.
make[1]: Leaving directory `/home/frainj/cvs/gretl/lib'
make: *** [lib] Error 2
[root@localhost gretl]#
[root@localhost gretl]#
Am I missing something simple. I am using the same Fedora 8 as when I
originally installed Gretl apart from the 'security' upgrades offered
by Fedora. As far as I know I have not uninstalled any software.
Please excuse my lack of knowledge of Linux. As far as I can make out
I have installed all the dev packages mentioned on page 204 of the
manual.
Best Regards
John Frain
--
John C Frain
Trinity College Dublin
Dublin 2
Ireland
www.tcd.ie/Economics/staff/frainj/home.html
mailto:frainj@tcd.ie
mailto:frainj@gmail.com
16 years, 1 month
Ralph M Rodriguez/PO/KAIPERM is out of the office.
by Ralph.M.Rodriguez@kp.org
I will be out of the office starting 08/30/2008 and will not return until
09/09/2008.
I will be out of the office from Sep 2 until Sep 9, returning to work on
Sep 9, 2008. If you have any questions regarding Construction Economics
and/or Cost Model, please contact Bradley A Njus at 510 625 4595.
Thanks.
Ralph
16 years, 1 month
problems with the session file and impulse-response analysis
by artur
Hello gretl users!
I want to report a bug. I saved a session with several VAR models and
graphs. When I try to re-open the session and to run an impulse-response
analysis without the bootstrapped confidence intervals there occurs no
problem. But running the impulse-response analysis with confidence
intervals lets gretl crash and gives this output:
artur@artur-laptop:~$ gretl
setlocale(LC_NUMERIC, "de_DE.UTF-8") returned de_DE.UTF-8
get_gretl_charset: using UTF-8
Lese Sitzungs-Datei /home/artur/Eigene_Daten/Uni/VWL/Unterricht/Wachstum
und Verteilung/Bachelorabschlussarbeit/Verteilung, Wachstum und
technologischer Fortschritt/Sitzung gretl.gretl
unzip_session_file: returning 0
session_name_from_session_file: /home/artur/Eigene_Daten/Uni/VWL/Unterricht/Wachstum und Verteilung/Bachelorabschlussarbeit/Verteilung, Wachstum und technologischer Fortschritt/Sitzung gretl.gretl -> Sitzung gretl
model file: fname='.Sitzung gretl/model.1', type=3
VAR_retrieve_equations: got 4 models (neqns = 4), err = 0
rebuild_session_model: IN_GUI_SESSION yes, IN_MODEL_TABLE no
IN_NAMED_STACK yes, IS_LAST_MODEL no
error 0 from session_append_model
model file: fname='.Sitzung gretl/model.2', type=3
VAR_retrieve_equations: got 3 models (neqns = 3), err = 0
rebuild_session_model: IN_GUI_SESSION yes, IN_MODEL_TABLE no
IN_NAMED_STACK yes, IS_LAST_MODEL no
error 0 from session_append_model
model file: fname='.Sitzung gretl/model.3', type=3
VAR_retrieve_equations: got 3 models (neqns = 3), err = 0
rebuild_session_model: IN_GUI_SESSION yes, IN_MODEL_TABLE no
IN_NAMED_STACK yes, IS_LAST_MODEL no
error 0 from session_append_model
model file: fname='.Sitzung gretl/model.4', type=3
VAR_retrieve_equations: got 3 models (neqns = 3), err = 0
rebuild_session_model: IN_GUI_SESSION yes, IN_MODEL_TABLE no
IN_NAMED_STACK yes, IS_LAST_MODEL no
error 0 from session_append_model
model file: fname='.Sitzung gretl/model.5', type=3
VAR_retrieve_equations: got 3 models (neqns = 3), err = 0
rebuild_session_model: IN_GUI_SESSION yes, IN_MODEL_TABLE no
IN_NAMED_STACK yes, IS_LAST_MODEL no
error 0 from session_append_model
model file: fname='.Sitzung gretl/model.6', type=3
VAR_retrieve_equations: got 3 models (neqns = 3), err = 0
rebuild_session_model: IN_GUI_SESSION yes, IN_MODEL_TABLE no
IN_NAMED_STACK yes, IS_LAST_MODEL no
error 0 from session_append_model
Lesen 134919 bytes von Daten...
Opened session datafile '.Sitzung gretl/tes mit namen.gdt'
Segmentation fault
artur@artur-laptop:~$
Best regards
Artur
16 years, 1 month
Andreas Rosenblad's review
by Allin Cottrell
Hello all,
When I have my head down in gretl development it can be difficult
to notice anything else. I was aware of the fact that Andreas
Rosenblad wrote a review of gretl for the Journal of Statistical
Software, and I saw and commented on a draft of the article, but
it was only recently that I read the finished product, at
http://www.jstatsoft.org/#
Anyway, very nice job! I have belatedly (sorry!) added Andreas's
name to the list of acknowledgements on the gretl website
http://gretl.sourceforge.net/#ack
Allin Cottrell
16 years, 1 month
up-to-date manual when building from cvs
by Sven Schreiber
Hi,
compiling gretl from cvs almost always works fine for me, but it seems
that often (always?) I don't get the current manual, at least not from
clicking the menu entry in the help menu. Instead I seem to get an older
version. My ./configure switch is simply --enable-build-doc.
Actually it might be that a similar thing happened to me on windows,
too, but I'm not sure right now. I also think I remember that someone
had a problem where the manual wasn't available at all, I don't know if
that's related.
Of course all this is not terribly important, and that's why I have been
ignoring the problem for months, but eventually it would be nice if it
could work. Any hints or ideas?
Thanks,
Sven
16 years, 1 month
bugs ahoy!
by Allin Cottrell
We have fixed a few outstanding bugs, and plan to release gretl
1.7.7 soon. See
http://gretl.sourceforge.net/ChangeLog.html
for a brief account of what's fixed. If you're aware of any
further bugs in gretl 1.7.6, please let us know. (Feature
requests will have to wait a bit, sorry.)
Allin Cottrell
16 years, 1 month
Re: Gretl-users Digest, Vol 19, Issue 4
by Olle Olsson
Hi all,
I'm just beginning to learn how to write scripts in gretl, but couldn't you
do something like this to get the different information criteria for a given
ADF regression? (The data is from Greene, table 5_1)
------------------------
#[Script (badly written!) to display BIC, AIC and HQC values for different
lags in an ADF test]
matrix m = zeros(14,3)# [defines a matrix which will contain the different
IC values, 14 being the number of lags to include]
i=1
logs realgdp
diff l_realgdp
loop 14 # [tried adding a "progressive" tag here but gretl crashed when I
did this]
ols d_l_realgdp const l_realgdp(-1) d_l_realgdp(-1 to -i) # [the ADF
regression (with constant but no trend)]
m[i,1] = $bic
m[i,2] = $aic
m[i,3] = $hqc
i=i+1
endloop
print m # [prints a matrix with the BIC values in the first column, the AIC
in the second and the HQC in the third]
------------------------------------------------------------
/Olle
------------------------------------
Allin Cottrell wrote:
>
> What you see is what you get ;-) Right now, there's no automatic
> option for test-down in the ADF test other than using the
> t-statistic on the last lag. It wouldn't be too difficult to
> write a function that did it some other way, although use of AIC
> would not be very advisable since it tends to favour overly large
> models.
>
> Allin Cottrell
> _______________________________________________
> Gretl-users mailing list
> Gretl-users(a)lists.wfu.edu
> http://lists.wfu.edu/mailman/listinfo/gretl-users
>
16 years, 1 month
ordered probit bug (was Re: Copy of Data File)
by Allin Cottrell
On Wed, 6 Aug 2008, Mike Fontaine wrote:
> Here is the copy of the data file. Let me know if you can see
> what the problem is. RTG is the dependent variable, all others
> are independent.
Thanks very much, Mike. I see it's an ordered logit/probit you're
talking about: the dependent variable has 11 distinct values (1 to
12, skipping 11).
Anyway, you have exposed a bug: something has gone wrong with
gretl's ordered probit (and so I'm cc'ing back to the users list).
It's a pity Jack Lucchetti is offline at present, since he's the
expert in this area.
I've got a partial fix in place, in CVS and the Windows snapshot
at
http://ricardo.ecn.wfu.edu/pub/gretl/gretl_install.exe
But there's a residual problem due to the fact that your dependent
variable has a gap in its sequence of values. You can work around
this for the moment by doing, e.g.,
genr y = (Rtg == 12)? 11 : Rtg
probit y 0 2 3 4 5
That is, convert the 12s in Rtg to 11s and thereby create a
replacement dependent variable, y, that contains the complete
sequence 1 to 11. (We can fix this too, but I'd like to hear what
Jack thinks before going ahead.)
Allin Cottrell
16 years, 2 months