On Sat, 11 Mar 2017, Riccardo (Jack) Lucchetti wrote:
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?
I agree, it wouldn't. And under the proposed revision they wouldn't
be numbered so long as the --quiet flag is used: then the models
aren't "visible", as I'm using the term.
Allin