"*.show" command within if...endif
by yinung@Gmail
Dear All
I occasionally found that the following script responds an error. It seems
that "show" command is not consistent with the "If" condition. It works
well when I change to "scalar plot=1."
I can replicate this in gretl 1.9.12 under XP and gretl 1.9.12cvs under
ubuntu 10.04.
Thanks.
Yi-Nung Yang
Associate Professor
Dept. if IB, CYCU, Taiwan.
<hansl>
open data3-6
ols Ct const Yt
series uhat=$uhat
scalar plot=0
if plot=1
fig1 <- gnuplot uhat --time-series --with-lines
fig1.show
endif
</hansl>
gretl version 1.9.12
Current session: 2013-04-12 01:25
? open data3-6
Read datafile C:\Program Files\gretl\data\data3-6.gdt
periodicity: 1, maxobs: 36
observations range: 1959 to 1994
Listing 3 variables:
0) const 1) Ct 2) Yt
? ols Ct const Yt
Model 1: OLS, using observations 1959-1994 (T = 36)
Dependent variable: Ct
...
...
? series uhat=$uhat
Generated series uhat (ID 3)
? scalar plot=0
Generated scalar plot = 0
? if plot=1
? fig1 <- gnuplot uhat --time-series --with-lines
? fig1.show
fig1: no such object
Error executing script: halting
> fig1.show
12 years, 11 months
diff command on matrix
by artur bala
Dear Allin,
I'm using the "diff" comand on a (n x 1) matrix and the result is still
a (n x 1) matrix which the 1st element equals 0. Is such a behaviour
intended?
I thought that the result should be a ((n-1) x 1) because of lagging
(same as with series).
Best
Artur
12 years, 11 months
ar model
by aymen kaabi
hello.
i have the of ar model
how can i use to forecast the next value . i don't find the function.
thanks for all.
12 years, 11 months
Examples of Gretl scripts
by Carlos Andrade
Dear All,
Where to get examples of Gretl scripts for different types of analysis?
--
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
12 years, 11 months
Re: [Gretl-users] Gretl-users Digest, Vol 75, Issue 3. Problem solved.
by AGUSTÍN ALONSO RODRÍGUEZ
Dear Prof. Cottrell:
Thank you very much for your help. It worked. The reason was that I had two
different versions of R, one of them deleted, and Gretl could not find the
right path.
Thank you again.
Agustin Alonso
-----Mensaje original-----
De: gretl-users-bounces(a)lists.wfu.edu
[mailto:gretl-users-bounces@lists.wfu.edu] En nombre de
gretl-users-request(a)lists.wfu.edu
Enviado el: jueves, 04 de abril de 2013 18:00
Para: gretl-users(a)lists.wfu.edu
Asunto: Gretl-users Digest, Vol 75, Issue 3
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. Problem connecting to R (AGUST?N ALONSO RODR?GUEZ)
2. Re: Problem connecting to R (Allin Cottrell)
----------------------------------------------------------------------
Message: 1
Date: Wed, 3 Apr 2013 20:15:41 +0200
From: AGUST?N ALONSO RODR?GUEZ <aalonso(a)rcumariacristina.com>
Subject: [Gretl-users] Problem connecting to R
To: <gretl-users(a)lists.wfu.edu>
Message-ID: <000301ce3097$40b65850$c22308f0$@com>
Content-Type: text/plain; charset="iso-8859-1"
Dear Gretl Users:
I have installed Gretl 1-9-12, but I cannot enter in GNUR. When I try to do
it, I receive the message: failure of an external instruction. I have tried
two possible solutions, but without success.
Would you, please, help me with this problem.
Thanking you for your attention, I am
Sincerely yours
Agustin Alonso-Rodriguez
Prof. of Econometrics
12 years, 11 months
Problem connecting to R
by AGUSTÍN ALONSO RODRÍGUEZ
Dear Gretl Users:
I have installed Gretl 1-9-12, but I cannot enter in GNUR. When I try to do
it, I receive the message: failure of an external instruction. I have tried
two possible solutions, but without success.
Would you, please, help me with this problem.
Thanking you for your attention, I am
Sincerely yours
Agustin Alonso-Rodriguez
Prof. of Econometrics
12 years, 11 months
Seasonalize - RE: Gretl-users Digest, Vol 74, Issue 19
by Peter Toth
Hi,
How can I get back the seasonality in my time series what I previously
deseasonalized please? Any function for that in Gretl?
Thank you.
Peter
-----Original Message-----
From: gretl-users-bounces(a)lists.wfu.edu
[mailto:gretl-users-bounces@lists.wfu.edu] On Behalf Of
gretl-users-request(a)lists.wfu.edu
Sent: Saturday, March 30, 2013 12:38 PM
To: gretl-users(a)lists.wfu.edu
Subject: Gretl-users Digest, Vol 74, Issue 19
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: "Data types not conformable for operation" problem using
SVAR (Gregory Chaudoin)
2. Re: Creating matrix rownames from varname(X) (Lee Adkins)
3. Re: Creating matrix rownames from varname(X) (Allin Cottrell)
4. Re: Creating matrix rownames from varname(X) (Lee Adkins)
5. Re: "Data types not conformable for operation" problem using
SVAR (Allin Cottrell)
----------------------------------------------------------------------
Message: 1
Date: Sat, 30 Mar 2013 11:11:22 -0500
From: Gregory Chaudoin <gchaudo(a)stuart.iit.edu>
Subject: Re: [Gretl-users] "Data types not conformable for operation"
problem using SVAR
To: Gretl list <gretl-users(a)lists.wfu.edu>
Message-ID:
<CAJPhEP5A3LVAnUrgq38DSEbFKvddx4r6D6aZN64JeOuVBDU2KQ(a)mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Thanks for the response. I am using version 0.992, but I'll have to check
if have more than one. I know I am doing a very basic mistake. But it
escapes me at the moment.
-Greg
On Sat, Mar 30, 2013 at 10:56 AM, Gabriela Nodari <gabriela.nodari(a)gmail.com
> wrote:
> Hi,
>
> I am also almost a new user. I am not able to solve your problem.. but
> the latest version of the svar pack should be 0.992.
>
> You can check on File>Function files>On local Machine. You may even
> have more than one. The version you want is 0.992.
> On 30/03/2013 4:24 PM, "Gregory Chaudoin" <gchaudo(a)stuart.iit.edu> wrote:
>
>> Hello,
>>
>> I am a fairly new GRETL user in the classroom. I am teaching an
>> intro econometrics course where the students can use GRETL or Eviews.
>> Everything is going well, so far. But I would like to use SVAR in a
follow up course.
>> However, I am stuck in neutral. I downloaded the SVAR package and
>> was testing it out using the provided HANSL:
>>
>> # turn extra output off
>> set echo off
>> set messages off
>> # open the data and do some preliminary transformations open
>> sw_ch14.gdt genr infl = 400*ldiff(PUNEW) rename LHUR unemp list X =
>> unemp infl list Z = const # load the SVAR package include SVAR.gfn #
>> set up the SVAR Mod = SVAR_setup("C", X, Z, 3)
>>
>>
>> This generates the following:
>>
>> gretl version 1.9.9
>> Current session: 2013-03-30 02:18
>> # turn extra output off
>> ? set echo off
>>
>> Read datafile C:Files_ch14.gdt
>> periodicity: 4, maxobs: 164
>> observations range: 1959:1-1999:4
>>
>> Listing 3 variables:
>> 0) const 1) LHUR 2) PUNEW
>>
>> Data types not conformable for operation
>> *** error in function SVAR_setup
>> > bundle ret = null
>>
>> Error executing script: halting
>> > Mod = SVAR_setup("C", X, Z, 3)
>>
>> I suspect that I installed the package wrong. How can I get it to
>> work without the "*** error in function SVAR_setup
>> > bundle ret = null"?
>>
>> Thanks.
>>
>> _______________________________________________
>> Gretl-users mailing list
>> Gretl-users(a)lists.wfu.edu
>> http://lists.wfu.edu/mailman/listinfo/gretl-users
>>
>
> _______________________________________________
> Gretl-users mailing list
> Gretl-users(a)lists.wfu.edu
> http://lists.wfu.edu/mailman/listinfo/gretl-users
>
12 years, 11 months
SVAR!
by Gabriela Nodari
Dear all,
I'm using SVAR.. does someone know why when plotting IRFs I get an error in
function IRFplot: index value 7 is out of bounds.. and I don't get the
corresponding IRF..
Thanks
12 years, 11 months
"Data types not conformable for operation" problem using SVAR
by Gregory Chaudoin
Hello,
I am a fairly new GRETL user in the classroom. I am teaching an intro
econometrics course where the students can use GRETL or Eviews. Everything
is going well, so far. But I would like to use SVAR in a follow up course.
However, I am stuck in neutral. I downloaded the SVAR package and was
testing it out using the provided HANSL:
# turn extra output off
set echo off
set messages off
# open the data and do some preliminary transformations
open sw_ch14.gdt
genr infl = 400*ldiff(PUNEW)
rename LHUR unemp
list X = unemp infl
list Z = const
# load the SVAR package
include SVAR.gfn
# set up the SVAR
Mod = SVAR_setup("C", X, Z, 3)
This generates the following:
gretl version 1.9.9
Current session: 2013-03-30 02:18
# turn extra output off
? set echo off
Read datafile C:Files_ch14.gdt
periodicity: 4, maxobs: 164
observations range: 1959:1-1999:4
Listing 3 variables:
0) const 1) LHUR 2) PUNEW
Data types not conformable for operation
*** error in function SVAR_setup
> bundle ret = null
Error executing script: halting
> Mod = SVAR_setup("C", X, Z, 3)
I suspect that I installed the package wrong. How can I get it to work
without the "*** error in function SVAR_setup
> bundle ret = null"?
Thanks.
12 years, 11 months