Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: gmm with two equations and one parameter


From   "Brian P. Poi" <[email protected]>
To   [email protected]
Subject   Re: st: gmm with two equations and one parameter
Date   Tue, 07 Jun 2011 20:24:40 -0400

On 06/07/2011 02:55 PM, Wu Zhang wrote:
Hi, folks,

    I am using 'gmm' in stata11 for two equations and one parameters; basically,
the two equations are just first and second moments.
     I am pretty sure I get the moment evaluator programs correct since they work



separately; but when I put the equations together, I get the error message 'no
parameter for equation 1'

   Could some stata geeks make some comments?


Without seeing *exactly* what you typed, it's difficult to tell what went wrong.

Having said that, you get the error message "no parameters in equation #" if you specify a moment equation that does not have any parameters in it. Perhaps you forgot to surround the name of your parameter in braces ({})?

   -- Brian Poi
   -- [email protected]
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index