On Sun, 7 Feb 2021, Sven Schreiber wrote:
I've noticed some things which may be quirks in relation to the
'mle' block.
- If I wrongly insert several "params" lines I get a weird data error
instead of a syntax error, so it took me a while to realize my mistake.
Could that be made clearer?
OK, it's now clearer in git. The translatable error message is "Only
one 'params' specification is allowed".
- In the guide in Listings 26.1 and 26.2 and throughout other places
in
ch. 26 the "genr" keyword is used. [...]
Those instances are now replaced with more modern syntax in git.
- I've been struggling without success to tell the mle command
what the
parameters should be called. The background being that I need to specify
a single composite vector to accommodate several specifications. In the
guide (ch.26) I saw a similar problem, and there the workaround was to
silence mle and instead semi-manually invoke the modprint apparatus. But
wouldn't it be more efficient if simply the wanted names could be
injected, replacing the generic stuff that is in the $parnames accessor?
Feature request?
- Also relating to 'modprint': no on-the-fly construction of
the matrix
input seems possible, i.e. directly using $coeff~$stderr didn't work.
I can't think of any command that accepts a formula to produce a
matrix when a matrix argument is wanted.
- Back to mle: its $model bundle has a "rho" member of
value 1.#QNAN
which seems spurious in that context. (Fallout from the biprobit rho??)
Nothing to do with biprobit: "rho" is a regular member of the gretl
MODEL struct, and it gets included in the $model bundle on that
basis, even if it's not applicable and hence "nan" (nicely decorated
by Microsoft above!). For instance, it's there in $model after OLS.
We could, of course, drop it when it's not applicable (as opposed
to, applicable but couldn't be calculated, if that ever arises).
Allin