Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: another bug in the -moptimize- manual


From   László Sándor <[email protected]>
To   [email protected]
Subject   st: another bug in the -moptimize- manual
Date   Sat, 2 Jan 2010 19:29:43 +0100

Hi all,

the help (e.g. http://www.stata.com/help.cgi?mf_moptimize#syn_results)
says to access the results with the function -
moptimize_result_coefs(M [, i]) -. This did not work for me. From the
initialization nomenclature, I got inspiration, and tried
-moptimize_result_eq_coefs(M [, i]) -. This works.

It could have saved days of my life.

By the way, I dropped a note here months ago that the very same help
file is inconsistent in notation about initializing values for the
coefficient vector, whether or not the constant term is meant to be
initialized by -moptimize_init_eq_coefs(M, i, b0)- or not. It should.
The helpfile has not been updated accordingly.

Wish you all the best,

Laszlo
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index