Cross Country GDP Growth
by Miles Higbie
Hello I was trying to find the Real GDP Growth rates by comparing to
countries and my teacher gave me this script to do so
g = (1/10) ∗ ln(Y r1970/Y r1960)
but it is not working I was wondering what is the issue, it keeps saying
syntax but I do not know what to do.
Thanks
9 years, 10 months
broken "in-progress" wheel?
by Summers, Peter
Folks,
Something seems to have happened to the "in-progress" wheel that should appear at the top of an executing script. At least on my Win7 machine with 1.10.0 cvs, build date 12/2, the attached script runs, but there's no wheel (or stop button).
TIA,
PS
[cid:logoimg]
9 years, 10 months
Possible redundancy of some function packages?
by Sven Schreiber
Hi everybody,
I'm wondering whether some of the function packages are still needed,
because sometimes it looks as if the same functionality is already built
into gretl. Here's a quick list in random order:
1) "clustered_ols" by Claudia Pigini. In what way is this different from
the built-in "ols ... --cluster=xyz"?
2) "cnumber" by Monsueto, S.E -- Here I don't think it's redundant but
I'm not getting the same results as with other code that should (?) be
equivalent. Consider this example and please explain why the results are
different:
<hansl>
include cnumber.gfn
open greene12_1.gdt
matrix X = {age, income, expend}
cnumber (X)
l = eigensym(X'X, null) # lines taken from Allin's email
CN = maxc(l)/minc(l) #
printf "CN = %g, (square root = %g)\n", CN, sqrt(CN)
</hansl>
3) "fgls" by Yi-Nung Yang: the help just says feasible GLS which is very
vague and generic; in what way is this different from gretl's "hsk" or
"wls" commands? If it is different, I would suggest to make the help
text more informative.
4) "GHegy" by Ignacio Díaz-Emparanza and "HEGY_test" by Jack Lucchetti.
Could you guys perhaps consolidate these?
5) "HoltWinters" by Ignacio Díaz-Emparanza. This sounds a lot like it's
also done by the "fcModels" package by Yi-Nung Yang. Is this true?
6) "JB" by Yi-Nung Yang. This does a Jarque-Bera test and even the help
text mentions that it is built into gretl (as "normtest ... --jbera").
So it's not obvious to me what the purpose of the package is.
7) "MWU" and "mwu" by Yi-Nung Yang. AFAICS the only difference is
whether you pass the arguments as series or as vectors (matrices). This
may be a matter of taste, but personally I would suggest that you choose
which is the interface of your function, i.e. series or matrices, and
then the user/caller will have to follow that rule, and the other
package with the other interface would be gone.
And with respect to "mwu_dummy", this is even more of a personal taste
thing, but perhaps you could consolidate all this into one function, for
example by introducing a third function parameter with a default value:
"function void mwu(series x, series y, int dummy[0])"
So to do what "mwu_dummy()" does now you would pass your 'group'
variable as y, and call the function with dummy=1.
Thanks,
sven
9 years, 10 months
functions on Gretl server: trivial suggestion
by Stefano Fachin
Given that the issue of the functions available on the server is
currently debated I add a (very) trivial suggestion that may add some
usability at zero cost. Since the number of functions available is
growing, and will hopefully grow even more rapidly, it would be useful
to set the standard of describing them with a phrase starting with one
or two relevant keywords. For instance, the functions "bootstrap Chow
test VAR models" and "Structural VARs" would become "VAR bootstrap Chow
test" and "VAR structural" and would be next to each other in the
alphabetic list and immediately found by a user looking for VAR routines.
bye,
Stefano
--
_________________________________________________________________________
Stefano Fachin
Professore Ordinario di Statistica Economica
Dip. di Scienze Statistiche
Università di Roma "La Sapienza"
P.le A. Moro 5 - 00185 Roma - Italia
Tel. +39-06-49910834
fax +39-06-49910072
web http://stefanofachin.site.uniroma1.it/
9 years, 10 months