On Wed, 30 Jul 2014, Sven Schreiber wrote:
here's an example script:
ols IDE const IBO LRM LRY
omit LRM LRY --auto
list tobeo = LRM LRY
list all = IBO IDE LRM LRY
loop foreach i IBO IDE
list rhs = all - $i
ols $i const rhs
omit tobeo --auto
After the first ols/omit command gretl prints out the restricted model.
In the final ols/omit command inside the loop, which is identical to the
first command, the test is done but the resulting model isn't printed.
Is this intended? (Given that 'omit' has '--quiet' and
options, I would think not.)
I see what you mean. As things stand the full estimates following "omit"
will never be printed in a loop but that's not deliberate policy, it's
inadvertent. (In some cases the printing of model output in a loop needs
special handling; this case slipped through a crack.)
Anyway, that should now be fixed in CVS.