Am 07.02.2024 um 16:30 schrieb Allin Cottrell:
A couple of extensions to the "gmm" command are now in git
(snapshots
will follow).
1) The doc for the "orthog" keyword (which defines an orthogonality
condition) states that the terms on the left and right of the
semicolon can be scalars, matrices or lists, but up till now a list
could only be given as a _named_ list. Now a list can be given in
"raw" form, as the space-separated names of two or more series. This
is convenient in some contexts.
2) Up till now parameters given in connection with the "params"
keyword could only be scalars or vectors. Now a general matrix is
acceptable. The script below illustrates this usage, with a comparison
of estimation of a (very simple) two-equation system via OLS and GMM.
Thanks, Allin, very nice - also the straightforward but quite general
illustration for a system!
As I've just commented on the associated ticket
(
https://sourceforge.net/p/gretl/feature-requests/208/), I will also try
to get this working with the slightly more limited apparatus in current
released gretl.
cheers
sven