On Fri, 2011-09-30 at 09:15 +0200, Riccardo (Jack) Lucchetti wrote: > > Yes, I thought it was a workable strategy and possibly it is. > > The problem with mle is that mle seems to accept as argument of the > > function only scalars (or does it accept also matrices?) and you have to > > list in the second line of the command what they are), while the above > > function as two vectors as argument. > > You're both right and wrong. > > You're wrong because you can use vectors as arguments. > > You're right because the help for mle doesn't say explicitely that you can > supply a vector to the "params" keyword, and the only example in the > manual which does that is buried in a somewhat different context (special > prize for those who can find it). By the way, this holds true for the > "gmm" and "nls" commands too. It's been common knowledge among hansl > coders so far, but, yes, it's important to mention this in the > documentation. I'll do this asap. Thanks!
That's great!! Many thanks. Giuseppe > > Riccardo (Jack) Lucchetti > Dipartimento di Economia > Università Politecnica delle Marche > > r.lucchetti(a)univpm.it > http://www.econ.univpm.it/lucchetti > _______________________________________________ Gretl-users mailing list > Gretl-users(a)lists.wfu.edu http://lists.wfu.edu/mailman/listinfo/gretl-users