On Mon, 8 Feb 2021, Sven Schreiber wrote:
Am 07.02.2021 um 22:51 schrieb Allin Cottrell:
On Sun, 7 Feb 2021, Sven Schreiber wrote:
- 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?
I guess so, but I'm not exactly clear in what direction.
Since the problem rests with the content of $model.parnames, perhaps one
idea would be a new --parnames=myarray option to mle?
A relatively clean and long-term (but not completely painless, I'm
afraid) solution would be switching from the command form to the function
form.
Something like
modprint($coeff ~ sqrt(diag($vcv)), $model.parnames)
would be quite easy to arrange, and would also make it quite easy to add
extra optional arguments if required. We could also envisage storing the
output as a string under $result.
The only problem vould be adding another of the command/function
duplications we currently have in hansl (sprintf, diff...) that I'm not
overly fond of.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucche...@univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------
_______________________________________________
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website:
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/