El Sábado, 16 de Julio de 2005 10:18, Jack Lucchetti escribió:
I have heard Ignacio's point many times, but I'm still not convinced. I
had nearly the same conversation with my friend Christine Choirat (of
OxJapi fame) a few months ago. She's an extremely good programmer, and her
line was basically "why re-invent the wheel?". Instead on working on
gretl, I remember she was planning to create a Tcl/Tk wrapper around R
which would mimic Pc-Give as much as possible.
Well, Allin already outlined a few reasons why the wheel is still worthy
of being worked on. First, R is hard.
I admit R is hard, so for a normal undergraduate student Gretl will give a
much more friendly and quick taste of what Econometrics does.
But R is so hard because it is so powerfull!!
I consider myself above the average
econometrician when it comes to computer languages (perhaps immodestly),
and still working with R is a PITA for me. R's syntax is very
idiosyncratic, and either you work with it all the time, or you spend 1
hour doing your work and 9 looking at the manual.
You are right when speaking about the first time, but after a little practice
this proportion improves significatively.
This is most likely a
big problem for someone who is not a full-time econometrician, but it is
likely to be a big hurdle for people who do applied research who want
something that "just works". Remember, these people form the vast majority
of the users of econometrics/statistical packages. Example: I had a
colleague who needed the HP filter. Fairly standard, no? It took me less
time to add it into gretl (with Allin's help) an give him the upgraded
package than it would have taken having him download and set up R,
learning how to import his data, perform the filtering, and going back to
the applications he normally uses. And once this is done, it's done for
everyone. Rather than the fish, you give people the fishing rod.
Sorry Jack, ... this argument is tricky ;-) You already know programming in
C!! Do you know how much time would I have to dedicate to this job?
( I bought the books about C that Allin recommended to me, but I did not pass
the Fahrenheit-Celsius example )
Suppose, once the HP filter in Gretl has been applied, the user needs to apply
another similar smoothing spline (with different parameters, for example).
What he should do?
1- Learn C, study the HP code of gretl and rewrite it conveniently.
2- Learn R and use different values in the command smooth.spline.
3- Ask to you or Allin to program the new code.
A normal user will try to discard point 3 for obvious reasons (May be you
already have enough work). So, what do you think will be more easy and direct
for this user? perhaps the answer may be different for different people, but
I have tried both approaches, and really I think programming in R is a more
direct way.
If the functionality of gretl as a R front-end can be enhanced, that would
be a very cool thing to have (for me at least), but there's no reason to
be tied to it for the less trivial computations.
May be I have been too much strict with this question. I think that running
commands through the entries in the GUI (in the menus) is much more friendly
that running commands in the console. So we should try to fill the menus with
so many elements as the GUI can accept. But I suspect that soon there will be
no room for many more elements than we already have, so gretl will have to
evolution more through the console commands. And this will do the user have
to look more frequently at the manual.
Besides, if you look at
the source, the infrastructure for adding more sophisticated stuff into
gretl is already there.
Yes, this is something that Allin told me, but I had no time to try. Have we
documentation about this?
only a few weeks to have the full Johansen procedure set up. Once
we're
there, I have the feeling that the number of users who would choose gretl
would exceed those who use R by several orders of magnitude.
You are optimistic,... That is good!!
(By the way, do you know Gretl is at the top 5% of sourceforge downloads for
several weeks?)
As for competition between R and gretl. In my view, competition is GOOD.
These are not commercial products. These applications are part of the free
software ecosystem, where biodiversity is essential for survival. Contrary
to commercial software, the existence of a competitor produces POSITIVE
externalities (take a look at KDE/Gnome). There is room for R and gretl,
and to spare, just the same way you get Debian, SuSe, Red Hat, Mandriva,
Ubuntu and all the various linux distros.
I am sure competition is good for the "products", but I think it is not so
good for the users. For example, the R development team decided not to
support the development of an R GUI. So they leave volunteer programmers
to work in a competitive way (see
http://www.sciviews.org/_rgui/ ). The result
is that after several years of development the user does not have a decent
graphical interface for R. I am sure that if this efforts had been
coordinated the result would be different.
--
Ignacio Díaz-Emparanza
Dpto. de Economía Aplicada III (Econometría y Estadística)
UPV-EHU
http://www.bl.ehu.es/~etpdihei/