Apparent Bug ...
by Fernando Fernandes Neto
Hi there,
I'm having problems while trying to execute the following command sequence:
matrix Q_S = {1, 1; 1, 1}
scalar beta_p = 0.9
matrix Q = beta_p * Q_s
The output is this:
Warning: generated non-finite values
And, when I check the Q Matrix, I find "Nan" in all elements. The output
should be 0.9 in all elements...
Is this a bug? Or am I missing something?
Thanks in advance,
Fernando
(GRETL 2016b - Mac OS X (quartz, x86_64, build date 2016-04-14)
8 years, 4 months
Cannot run Gretl 64 bit on Windows 7 64 bit
by Henrique Andrade
Dear Gretl Community,
I just had formatted my Windows 7 (64 bit) PC and now I cannot run Gretl
(64 bit) anymore. I am able to install the software but I crashes every
time I try to open it (by double-clicking). I'm running the debug mode but
it doesn't give any hints about the problem. Any help will be strongly
appreciated.
Best regards,
Henrique Andrade
8 years, 4 months
how to feed efficiently Yahoo download function...
by guido giaume
Dear Sven
thanks for your time.
I am sorry if I was unclear.
My interest at the moment is tracking (and working with) my domestic
stock index (FTSEMIB).
The first thing is downloading and storing the rough data.
But - as you knows - sometimes the composition of the index changes.
So I have (at least) two ways to cover these changes.
a) [brute force] For every variation of the index I have to change
every single loop of my gretl scripts.
b) [more sophisticated] creating a "list" to be called by the gretl
script when it needed AND changing only once the "list" every time the
composition of the index changes.
Today I found this solution, but I am wondering if is optimal. So let
me change the question.
There is a better solution than
-------------
strings P = defarray("A2A.MI", "ANIM.MI", "ATL.MI", "AZM.MI",
"BMPS.MI")
# Open 10 days set
nulldata 10
# Time series
setobs 5 2016-07-01 --time-series
# call yahoo_get
include yahoo_get.gfn
# download
loop i = 1..nelem(P)
A=yahoo_full (P[i])
endloop
# store
store "/home/guido/gretl/prova_array.gdt"
-----------
Regards
Guido
8 years, 4 months
how to feed efficiently Yahoo download function with a list of strings
by guido giaume
Dear All
I think "yahoo download" package is very nice and useful but
at the moment I use this function in a very inefficient way.
E.G.
-----------------------
loop foreach i A2A.MI ANIM.MI ATL.MI [cut]
A=yahoo_full("$i")
endloop
--------------------
If i want to download a long list of stocks should be better to use a
list, instead typing each ticker.
But when i read the 14th Chapter (named list) - which is very clear
also for a newbe in programming - I get confused because mostly speaks
about variables lists. And I was unable to extract some useful hint
from the 14.2 paragraph, which seems the right place to look for.
So again I ask your help.
By the way I found curious i was unable to donwload with that function
no less than 2 days. I mean, if I try to donwload only one day i can't.
Many thanks
Guido
8 years, 4 months
About ubuntu 16.04 and gretl 2016
by guido giaume
Dear All
thanks for all your suggestions and support.
Finally I build the 2016c release over a fresh installation 16.04.
Was tiresome, but everything works fine.
I dont have enough time and knowledge to dectect eventual problems
between ubuntu 16 and the 2016a.
Guido
8 years, 4 months
Re: [Gretl-users] SVAR bootstrap output table etc.
by jayeryu
Thank you very much!
1. Adding 0 worked. I got the bootstrap output.
2. There is a red flag for the short and long run restrictions, though. I put the two restrictions simultaneously but the results are widely different from what my coauthor obtained from RATS and GAUSS.
The result from gretl shows a C matrix that looks like one that just superimposed short and long run matrices in a way that any 0 values in either of the two matrices replaced the relevant element of the C.
In addition, the bootstrap did not run adequately. Any advice would be greatly appreciated! Jay
Sent via the Samsung GALAXY S® 5, an AT&T 4G LTE smartphone
-------- Original message --------
From: "Riccardo (Jack) Lucchetti" <r.lucchetti(a)univpm.it>
Date: 7/30/2016 5:17 AM (GMT-05:00)
To: Jay Ryu <jayeryu(a)yahoo.com>, Gretl list <gretl-users(a)lists.wfu.edu>
Subject: Re: [Gretl-users] SVAR bootstrap output table etc.
On Fri, 29 Jul 2016, Jay Ryu wrote:
> Dear gretl friends:
> I have been running some SVAR models based on:
> Jack Lucchetti's "svar_gretl.pdf" as of February 2015
> I ran the following bootstrap from the manual below:
[...]
> I found the IRF outputs but could not get the output table (like page 10 in Lucchetti).
> Question 1: How can I get the bootstrap output table in page 10?
Uh, you're right. There's an undocumented fourth parameter to SVAR_boot:
it's an optional boolean "quiet" flag, which defaults to 1.
Supplying a 0 as fourth parameter to SVAR_boot, as in
<hansl>
SVAR_boot(&Model, 1000, 0.95, 0)
</hansl>
should do the trick.
I'll update the documentation asap.
> Question 2: Lucchetti's manual shows how to impose "both" short- and
> long-run restrictions simultaneously. Does this simultaneous restriction
> function work?
AFAIK, it should. Does the example script "BlQuah_w_sr.inp" (available in
the "Resources" directory) work for you?
-------------------------------------------------------
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
-------------------------------------------------------
8 years, 4 months
many thanks
by guido giaume
Dear Sven Artur e Mihai
thanks a lot for your attention.
I will study your suggestions (and the manual) and i will keep
informed.
Guido
8 years, 4 months
Conflict between ubuntu 16.04 and gretl 2016a? - BE CAREFUL read before upgrading
by cociuba mihai
If you want to install Gretl from sources and you are familiar with the
terminal then use the following commands:
#git should already be install on your PC
#make a Gretl directory where you will download the sources
mkdir gretl-git
# change directory to gretl-git
cd gretl-git
#copy the sources
git clone git://git.code.sf.net/p/gretl/git gretl-git
#build the dependencies, but sometimes you will have to install the
dependencies one by one
sudo apt-get build-dep gretl
./configure --enable-build-doc --enable-openmp
make
make pdfdocs
sudo make install
#chck to see if Gretl runs
gretl
#OPTIONAL
#some dependencies
# curl si libgtk
sudo apt-get install libcurl4-openssl-dev && apt-get install
libgtksourceview2.0-dev
#json
sudo apt-get install libjson-glib-dev
#/usr/local/bin/gretl_x11: error while loading shared libraries: sau
libgretl-1.0.so.0: cannot open shared object file: No such file or
sudo ldconfig
Mihai
8 years, 4 months
Conflict between ubuntu 16.04 and gretl 2016a? - BE CAREFUL read before upgrading
by guido giaume
Dear all
two days ago i upgraded from 15.10 and immediatly i experienced a great
loss of performance. Loading a 8 Mega database taked more than 10
minutes. Computing was very slow.
Instead the speed of loading of the same database in another pc less
powerful is very fast.
Initially i thought the reason was an upgrade failure so today i
installed few times a fresh version of 16.04, but with no effect.
I was unable (i had some trouble in compiling the .tar ) to try if the
2016c version was working.
I cant downgrade to 14.04 because i need an higher version of gretl and but i cant work with this trouble.
So - really - any help or suggestion is very appreciated.
THX
Here my hardware.
...
width: 64 bits
capabilities: smbios-2.7 dmi-2.7 vsyscall32
configuration: boot=normal chassis=desktop family=To Be Filled By
O.E.M. sku=To Be Filled By O.E.M. uuid=00020003-0004-0005-0006-
000700080009
*-core
description: Motherboard
product: FM2A68M-DG3+
vendor: ASRock
physical id: 0
serial: M80-4C012600570
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: P1.10
date: 11/07/2014
size: 64KiB
capacity: 8128KiB
capabilities: pci upgrade shadowing cdboot bootselect
socketedrom edd int13floppy1200 int13floppy720 int13floppy2880
int5printscreen int9keyboard int14serial int17printer acpi usb
biosbootspecification uefi
*-cache:0
description: L1 cache
physical id: 8
slot: L1 CACHE
size: 256KiB
capacity: 256KiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=1
*-cache:1
description: L2 cache
physical id: 9
slot: L2 CACHE
size: 4MiB
capacity: 4MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=2
*-memory
description: System Memory
physical id: 10
slot: System board or motherboard
size: 8GiB
*-bank:0
description: DIMM DDR3 Synchronous 1600 MHz (0,6 ns)
product: 9905584-003.A00LF
vendor: Kingston
physical id: 0
serial: 9E3AB980
slot: DIMM 0
size: 4GiB
width: 64 bits
clock: 1600MHz (0.6ns)
*-bank:1
description: DIMM DDR3 Synchronous 1600 MHz (0,6 ns)
product: 9905584-003.A00LF
vendor: Kingston
physical id: 1
serial: 993AB980
slot: DIMM 0
size: 4GiB
width: 64 bits
clock: 1600MHz (0.6ns)
*-cpu
description: CPU
product: AMD Athlon(tm) X4 860K Quad Core Processor
vendor: Advanced Micro Devices [AMD]
physical id: 18
bus info: cpu@0
version: AMD Athlon(tm) X4 860K Quad Core Processor
slot: CPUSocket
size: 1700MHz
capacity: 3700MHz
width: 64 bits
clock: 100MHz
capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr
pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse
sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp constant_tsc rep_good
nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor
ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm
cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch
osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext
perfctr_core perfctr_nb bpext cpb hw_pstate vmmcall fsgsbase bmi1
xsaveopt arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean
flushbyasid decodeassists pausefilter pfthreshold cpufreq
configuration: cores=4 enabledcores=4 threads=4
....
*-disk
description: SCSI Disk
product: STORAGE DEVICE
vendor: Generic
physical id: 0.0.0
bus info: scsi@1:0.0.0
logical name: /dev/sdb
version: 9451
capabilities: removable
configuration: logicalsectorsize=512
sectorsize=512
*-medium
physical id: 0
logical name: /dev/sdb
*-serial
description: SMBus
product: FCH SMBus Controller
vendor: Advanced Micro Devices, Inc. [AMD]
physical id: 14
bus info: pci@0000:00:14.0
version: 16
width: 32 bits
clock: 66MHz
configuration: driver=piix4_smbus latency=0
resources: irq:0
...
*-scsi
physical id: 1
logical name: scsi0
capabilities: emulated
*-disk
description: ATA Disk
product: Samsung SSD 850
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 1B6Q
serial: S21PNSAFC79564N
size: 232GiB (250GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 logicalsectorsize=512
sectorsize=512 signature=000845d5
*-volume:0
description: EXT4 volume
vendor: Linux
physical id: 1
bus info: scsi@0:0.0.0,1
logical name: /dev/sda1
logical name: /
version: 1.0
serial: b0addab9-b440-4083-8d42-e693220508bf
size: 224GiB
capacity: 224GiB
capabilities: primary bootable journaled
extended_attributes large_files huge_files dir_nlink extents ext4 ext2
initialized
configuration: created=2016-08-01 23:16:08
filesystem=ext4 lastmountpoint=/target modified=2016-08-01 23:21:53
mount.fstype=ext4 mount.options=rw,relatime,errors=remount-
ro,data=ordered mounted=2016-08-01 23:16:09 state=mounted
*-volume:1
description: Extended partition
physical id: 2
bus info: scsi@0:0.0.0,2
logical name: /dev/sda2
size: 8113MiB
capacity: 8113MiB
capabilities: primary extended partitioned
partitioned:extended
*-logicalvolume
description: Linux swap / Solaris partition
physical id: 5
logical name: /dev/sda5
capacity: 8113MiB
capabilities: nofs
8 years, 4 months