On Tue, 26 Jul 2011, Sven Schreiber wrote:
Am 25.07.2011 22:15, schrieb Allin Cottrell:
> In CVS I had introduced a --test-only switch but on further
> thought that did not seem very clean, since we already had a
> --wald switch which suppresses the "produce a new model"
> behavior. So here's what I now have in CVS, and on which I'd
> value comments:
>
> 1) For "omit", if you don't want a new model, use the --wald
> flag. This will now produce the F-form of the Wald test by
> default, but if you prefer the chi-square version, use the new
> --chi-square option. Note that if you have any scripts which
> use the --quiet option to "omit" to suppress the new model,
> switch to --wald and you should be OK. (As it should, --quiet
> now only affects what gets printed, not the substance of what
> gets done.)
But what if you DO want a new model, but you want to use the chi-square
test?
I didn't make that clear, but the --chi-square switch works
whether or not we're producing a new model.
But here's another point I came across: a while back we
introduced options --both and --instrument for tsls models:
the default is to omit the specified variables as regressors
only, leaving the instrument set unchanged, but these flags
can be used to drop variables from both slots, or only in
their role as instruments.
I can't really remember why we did this, but the effect is
a bit weird, since (AFAIK) we can't really do a meaningful
test with either of those options in place -- although they
are OK if considered just as means of specifying a new model.
Right now we do a test if --both is given, but it's just the
test for dropping the variables as regressors.
> 2) "add" is a bit different, but I've introduced an
--lm
> option that does an LM test using an auxiliary regression.
> That way you don't get a new model, but right now the --lm
> option is only for OLS. Otherwise you do get the augmented
> model, even if you choose not to print it. I think this is OK,
> since "add" (apart from the new LM option) is a sort of
> synthetic command anyway: in effect, estimate the bigger model
> and do an "omit" on it.
I never really understood the justification for 'add', and this seems to
confirm my prejudice. Why not just ditch it on the way to gretl 2.0? I
know it's radical, but...
That bears thinking about, certainly.
Allin