Gretl on Linux Mint not working without ldconfig
by Andreï | Андрей Викторович
Dear Riccardo and Allin,
I have experienced some trouble with a newly compiled gretl from CVS (Linux
Mint Debian Edition) but luckily a 2012-10-09 message from Riccardo
advising to use “sudo ldconfig” helped overcome the “error while loading
shared libraries: libgretl-1.0.so.9” error message that popped if gretl
were started from console. After “make” and “sudo make install”, the
standard way of launching gretl (through buttons from the start menu)
didn’t work, so I resorted to the console, googled the error message, found
Riccardo’s answer and implemented it. And it worked! However, there is one
question: could you announce it (or include it somewhere in the compiler
readme) that the command “sudo ldconfig” should be used if gretl GUI just
won’t start after the compilation? Or maybe, since “make install” is
invoked by the superuser, one of the last steps of the installation should
be a forced “ldconfig” run just in case? Or does it seem potentially more
toxic rather than remedying?
P.S. The nested “--progressive” loops no longer crash the programme, thank
you very much for the fix!
--
Yours sincerely, | С уважением,
Andreï V. Kostyrka. | Андрей Викторович Костырка.
http://kostyrka.ru, http://kostyrka.ru/blog
10 years, 8 months
Install Gretl on openSUSE
by Carlos Andrade
Hello Gretl Users,
How to install Gretl on Linux openSUSE?
I can't get files via ftp.
--
Atenciosamente,
Prof. Carlos A. S. de Andrade
LAPEA - Laboratório de Pesquisa em Economia Aplicada e Engenharia de
Produção
Universidade Federal de Campina Grande.
Centro de Humanidades
Unidade Acadêmica de Economia
10 years, 8 months
No lags though option selected
by Tim Nall
gretl list,
One prob and one picayune complaint:
1) GRETL 1.9.14 Taiwan Windows XP professional, using GUI, [Add -->
lags of selected variables] has no effect. I have closed/reopened
GRETL, made sure I was selecting one or more variables, tried
repeatedly. The other options under the "Add" menu item all seem to
work.
2) I know this is picayune whining, and for that I do sincerely
apologize. But the users Guide etc. are all geared toward PhDs in
Stats or Econometrics: very heavy on the math equations (don't hate me
if I say "Who cares? I can't eat equations"), and all examples use
scripts instead of GUI. It's very, very, very hard (in fact, usually
impossible) to find out "If I encounter obstacle x, what do I do? And
if I find out what to do, how do I find it on the menus?" Sorry again.
Over and out.
TMN
10 years, 8 months
Gretl crashes while doing a nested ARIMA loop
by Andreï | Андрей Викторович
Greetings, dear developers!
Please consider the following humble code I am trying use to illustrate the
usefulness of a whole portfolio of models compared by AIC. What I am
expecting: (1) generate a true ARMA(2,2) model, (2) run a loop with i=1..5
and j=1..5 for ARMA estimation and obtain the AIC’s for those, (3) the
result should look like those “long” models like ARMA(5,5) include more
redundant lags and they will be punished by Akaike and its DOF loss penalty.
However, on Linux Debian (testing, both x32 and x64) the 1.9.14 (build
2014-03-19) version crashes and quits without any warning when the
following script is run:
##########
nulldata 500
setobs 1 1 --special-time-series
genr time
set seed 20140413
series wn = randgen(n,0,1)
# ARMA(2,2) model, seems both stationary and invertible
series z = 4.5
z = 1 + 0.25*z(-1) + 0.55*z(-2) + wn + 0.5*wn(-1) + 0.5*wn(-2)
# The beast
loop i=1..5 --progressive
loop j=1..5 --progressive
arima $i 0 $j ; z
printf "Akaike criterion: %f\n", $aic
endloop
endloop
##########
Same problem if *arma* command is used.
I tried to run it on the current snapshot (1.9.15cvs b.2014-04-04) for
Windows x32, but to no avail: the message given before the crash is “MS
Visual C++ Runtime Library: This application has requested the Runtime to
terminate it in an unusual way”.
What can I do in order to avoid this mishap and sort of estimate ARMA(i,j)
for various $i and $j in a loop?
Best wishes,
Andreï V. Kostyrka
--
С уважением,
—Андрей Викторович Костырка.—
http://kostyrka.ru, http://kostyrka.ru/blog
10 years, 8 months
Re: [Gretl-users] How does gretl handle quater 5
by Logan Kelly
Sent from my T-Mobile 4G LTE Device
> I have a quick question about haw gretl handles data imported from the
> BLS. If you download a series from the BLS, say into ms excel, you will
> get years with 5 quarters or 13 months. The Q5, or M13 for monthly data,
> is some annual summary of the data. What is the expected behavior of
> gretl in the case that I import the data without properly removing the
> non-observations, i.e. Q5/M13, from the csv file before importing? When
> I try this experiment in the import output I find
>
> "2001q05": BLS-type nonsense? Trying again
>
> Does gretl drop these rows from the data set? That is what appears to be
> happening. Also, is it terribly bad form to let gretl handle this issue
> rather than removing the rows before import?
gretl grumbles, but it handles such data correctly (drops the offending
rows). If you don't mind the snark there's no need to pre-process BLS
data.
Allin Cottrell
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users
I whole heartedly aprove of the warning. It is exactly what is going on... BLS nonsense!
Cheers,
Logan
10 years, 8 months
How does gretl handle quater 5
by Logan Kelly
Hello,
I have a quick question about haw gretl handles data imported from the BLS. If you download a series from the BLS, say into ms excel, you will get years with 5 quarters or 13 months. The Q5, or M13 for monthly data, is some annual summary of the data. What is the expected behavior of gretl in the case that I import the data without properly removing the non-observations, i.e. Q5/M13, from the csv file before importing? When I try this experiment in the import output I find
"2001q05": BLS-type nonsense? Trying again
Does gretl drop these rows from the data set? That is what appears to be happening. Also, is it terribly bad form to let gretl handle this issue rather than removing the rows before import?
Thanks,
Logan
10 years, 8 months
create gretl database with the gretl scripting language
by Logan Kelly
Hello,
Is there a way to create a gretl database with hansel? I am working with time series data with different frequencies. I looked in the User Guide but did not find much on how to create a database, but maybe I just missed it. If so apologies.
Logan
10 years, 8 months
Re: [Gretl-users] Gretl-users Digest, Vol 87, Issue 8
by valentina colombo
Thanks,
I have tried the codes below and the output is as Sven's code.
Thanks again
Valentina
> From: gretl-users-request(a)lists.wfu.edu
> Subject: Gretl-users Digest, Vol 87, Issue 8
> To: gretl-users(a)lists.wfu.edu
> Date: Fri, 11 Apr 2014 12:00:05 -0400
>
> 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. Re: Export output to excel or csv (Ignacio Diaz-Emparanza)
> 2. Re: Export output to excel or csv (Riccardo (Jack) Lucchetti)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 11 Apr 2014 10:07:11 +0200
> From: Ignacio Diaz-Emparanza <ignacio.diaz-emparanza(a)ehu.es>
> Subject: Re: [Gretl-users] Export output to excel or csv
> To: gretl-users(a)lists.wfu.edu
> Message-ID: <5347A2AF.4020800(a)ehu.es>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On 11/04/14 09:56, Ignacio Diaz-Emparanza wrote:
> > ..
> > ##########
> > set messages off
> > set echo off
> > matrix B=$coeff
> > scalar ncoefs=rows(B)
> > outfile coefficients.csv --write
> > loop i=1..ncoefs --quiet
> > printf "%.4f, %.4f\n ", B[i,1], B[i,2]
> > endloop
> > outfile --close
> > </hansl>
> >
>
> Sorry, the space after \n should not be there.
>
>
> --
> Firma Arista
> *Ignacio D?az-Emparanza*
> Zuzendaria/Director
> ignacio.diaz-emparanza(a)ehu.es <mailto:ignacio.diaz.emparanza@ehu.es>
> 94 6013732
> *EKONOMIA APLIKATUA III SAILA (EKONOMETRIA ETA ESTATISTIKA)/
> DEPARTAMENTO DE ECONOM?A APLICADA III (ECONOMETR?A Y ESTAD?STICA)
> UPV/EHU*
> Avda. Lehendakari Aguirre, 83 | 48015 BILBAO
> *T.: +34 946013740* | *F.: +34 946013754*
> *www.ea3.ehu.es* <http://www.ea3.ehu.es>
>
> ERNE! Baliteke mezu honen zatiren bat edo mezu osoa legez babestuta
> egotea. Mezuak badu bere hartzailea. Okerreko helbidera heldu bada
> (helbidea gaizki idatzi, transmisioak huts egin) eman abisu igorleari,
> korreo honi erantzunda. Kontuz! Mezua ez bada zuretzat, ez erabili, ez
> zabaldu beste inori, ez kopiatu eta ez baliatu.
> ?ATENCI?N! Este mensaje contiene informaci?n privilegiada o confidencial
> a la que s?lo tiene derecho a acceder el destinatario. Si usted lo
> recibe por error le agradecer?amos que no hiciera uso de la informaci?n
> y que se pusiese en contacto con el remitente.
>
> E-mail hau inprimatu baino lehen egiaztatu inprimatzeko beharra.
> Antes de imprimir este e-mail piense bien si es necesario hacerlo.
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.wfu.edu/pipermail/gretl-users/attachments/20140411/7d7194ce/...
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: firma_email_upv_euskampus_bilingue.gif
> Type: image/gif
> Size: 4236 bytes
> Desc: not available
> Url : http://lists.wfu.edu/pipermail/gretl-users/attachments/20140411/7d7194ce/...
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: recicla_firma_email_upv.gif
> Type: image/gif
> Size: 225 bytes
> Desc: not available
> Url : http://lists.wfu.edu/pipermail/gretl-users/attachments/20140411/7d7194ce/...
>
> ------------------------------
>
> Message: 2
> Date: Fri, 11 Apr 2014 10:15:40 +0200 (CEST)
> From: "Riccardo (Jack) Lucchetti" <r.lucchetti(a)univpm.it>
> Subject: Re: [Gretl-users] Export output to excel or csv
> To: Gretl list <gretl-users(a)lists.wfu.edu>
> Message-ID: <alpine.DEB.2.10.1404111013330.4241(a)ec-4.econ.univpm.it>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Fri, 11 Apr 2014, Ignacio Diaz-Emparanza wrote:
>
> > On 10/04/14 16:14, valentina colombo wrote:
> >> Dera gretl users,
> >> I had estimate my SVAR model and I need to export the estimated
> >> coefficients (bootdata) to excel or csv file. I have tried to use the
> >> following command but it is storing my variables but not bootdata (from a
> >> SVAR).
> >> store /home/valentina/bootdata.csv bootdata
> >> ! gnumeric /home/valentina/bootdata.csv
> >> Any suggestion? I cannot go on with my estimation!!
> >> Thanks
> >> Valentina
> >>
> >
> > For this type of things I use a combination of 'outfile' and 'printf'
> > commands. An example is below. The lines from 'open' to 'var' command are
> > taken from gretl example sw_ch14.in. The result is the file
> > "coefficients.csv" in your current gretl working directory.
> >
> > <hansl>
> > open sw_ch14.gdt
> >
> > # set the robust std errors variant used by S and W
> > set force_hc on
> > set hc_version 1
> >
> > genr infl = 400 * log(PUNEW/PUNEW(-1))
> > diff infl
> > lags d_infl LHUR
> > smpl 1962:1 1999:4
> >
> > # run "automatic" VAR, (see equations 14.5 and 14.6) in Stock and Watson,
> > # "Introduction to Econometrics", chapter 14
> > var 4 d_infl LHUR const -r
> >
> > ##########
> > set messages off
> > set echo off
> > matrix B=$coeff
> > scalar ncoefs=rows(B)
> > outfile coefficients.csv --write
> > loop i=1..ncoefs --quiet
> > printf "%.4f, %.4f\n ", B[i,1], B[i,2]
> > endloop
> > outfile --close
> > </hansl>
>
> Also: don't be fooled by file extensions. If you use the "mwrite" command,
> like Sven suggested, you'll obtain a text file that you can conveniently
> open either in your favourite text editor or in any spreadheet worth
> considering.
>
>
> -------------------------------------------------------
> Riccardo (Jack) Lucchetti
> Dipartimento di Scienze Economiche e Sociali (DiSES)
>
> Universit? Politecnica delle Marche
> (formerly known as Universit? di Ancona)
>
> r.lucchetti(a)univpm.it
> http://www2.econ.univpm.it/servizi/hpp/lucchetti
> -------------------------------------------------------
>
> ------------------------------
>
> _______________________________________________
> Gretl-users mailing list
> Gretl-users(a)lists.wfu.edu
> http://lists.wfu.edu/mailman/listinfo/gretl-users
>
> End of Gretl-users Digest, Vol 87, Issue 8
> ******************************************
10 years, 8 months
Test reverse causality
by andrea_conti_86@tiscali.it
Dear Gretl users,
i'm doing panel regression where i suppose there's a reverse causality
among independent and dependent variables and I can't find instrument
for them .
Does exist a test that tell me if such reverse causality exists?
Scopri istella, il nuovo motore per il web italiano.
Istella garantisce risultati di qualità e la possibilità di
condividere, in modo semplice e veloce, documenti, immagini, audio e
video.
Usa istella, vai su http://www.istella.it?wtk=amc138614816829636
10 years, 8 months
Export output to excel or csv
by valentina colombo
Dera gretl users,
I had estimate my SVAR model and I need to export the estimated coefficients (bootdata) to excel or csv file. I have tried to use the following command but it is storing my variables but not bootdata (from a SVAR).
store /home/valentina/bootdata.csv bootdata
! gnumeric /home/valentina/bootdata.csvAny suggestion? I cannot go on with my estimation!!
Thanks
Valentina
10 years, 8 months