On Sat, 11 Mar 2017, Allin Cottrell wrote:
Hello all,
As you know, gretl automatically gives sequential numbers to models estimated
in a given session. I think this is at least marginally useful, but it seems
to me the details could be improved.
[...]
In short, my proposal is that automatic numbering be applied only to
"visible" models in the "main" portion of a gretl script. In many
cases this
will be the same as current behavior, but in more complex cases I think it
would be an improvement.
Any thoughts or objections?
If I understand correctly, this would amount to switching off model
numbering inside functions, right? Or would this also apply to loops?
I'm asking this because model-generating commands such as ols could
conceivalbly be used as computational devices in the context of algorithms
like (for example) EM. In a case like
loop while criterion<1.0e-7
...
...
ols y 0 x --quiet
...
...
endloop
it wouldn't make very much sense to number those models, would it?
-------------------------------------------------------
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
-------------------------------------------------------