defbundle parsing
by Sven S
Hi,
the following line works, but shouldn't it fail due to the trailing comma?:
bundle b = defbundle("a",1 ,)
thanks
sven
3 years, 11 months
exists() vs. inbundle()
by Sven Schreiber
Hi,
I'm wondering what the value added of 'inbundle' over 'exists' is. In
principle both check for the existence of an object and return a type
code if yes.
I know that currently where inbundle(b, "m") returns 0 because m isn't
there, exists(b.m) instead yields an error. But I guess that could be
changed if wanted.
And vice versa: inbundle(a, "x") yields an error if there is no bundle
a, whereas exists(a.x) just returns 0. But are those differences really
by design or just by historical coincidence?
thanks
sven
4 years, 3 months
built-in strings: $ vs. @
by Sven Schreiber
Hi,
I've noticed this behavior, perhaps Windows-specific:
? eval @gretldir
> C:
Das Symbol 'C' ist nicht definiert # [undefined]
? eval $gretldir
C:\Program Files\gretl
?
I would have expected @gretldir to either work, or to return an empty
string, or to throw an error, but not this problem. Maybe some backslash
trouble?
thanks
sven
4 years, 5 months
Pesaran cross-dependence panel test
by Riccardo (Jack) Lucchetti
Hi all,
when performing fixed-effects regressions, we report the
classic Breusch-Pagan poolability test. However, there is an alternative
test by Pesaran,
https://link.springer.com/article/10.1007/s00181-020-01875-7
(section 4) which is getting increasingly popular, because it reportedly
has better small-sample properties. In fact, the working paper version has
been around for a long time, but now that it's been published, it may make
sense to have this in.
The test seems to be relatively easy to implement, so we could have
somebody write a function package for it. Any takers?
-------------------------------------------------------
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
-------------------------------------------------------
4 years, 5 months
Another relatively uninformative error message
by Sven Schreiber
Hi,
trying to go beyond the range of the dataset obs numbers in a loop just
yields a generic "data error" (instead of the expected obs number out of
admissible range):
<hansl>
nulldata 3
series x
loop i=1..4
x[i] = 5
endloop
</hansl>
thanks,
sven
4 years, 6 months
the 'join' GUI dialog
by Sven Schreiber
Hi,
I've noticed that the GUI dialog window for 'join'-ing data apparently
contains a lot of strings not marked for translation. (At least I don't
remember skipping them in the German translation.)
Also, for the English string "named as" I'd like to raise the question
whether it would be clearer to call it "[and] name it as" ?
thanks
sven
4 years, 6 months
Gnuplot themes from CLI
by Artur Tarassow
Hi Allin,
I just found out that the new gnuplot themes are not supported when
executing a gretl through gretlcli. Via the GUI I've set the dark2
pallet and running the following sample script yields the expected plot.
However, executing the same script using gretlcli still uses the default
settings (line color "red").
It seems that the entry <graph_theme = dark2> in the .gretl2rc file does
not have an effect. This is using latest git on Ubuntu 20.04.
<hansl>
open denmark.gdt
gnuplot LRM --with-lines --time-series --output=display
</hansl>
Best,
Artur
4 years, 6 months