Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | <adrien.Amzallag@ecb.int> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: Non-Linear Least Squares with Generalized Method-of-Moments |
Date | Wed, 9 Mar 2011 18:30:12 +0100 |
Dear all, I'm running two separate specifications, one with non-linear least squares (NLLS) and the other with generalized method-of-moments (GMM) (I'll leave the theory out of this post but am happy to explain why if necessary). The NLLS equation takes the following form, where "i" is an interest rate, "FD" denotes the first-difference operator, "L." is a one-period lag, and "_t" denotes time subscripts: NLLS: FD.i_t = (1-{lambda})*(b1*FD.inflation_t + b2*FD.output_gap_t) + (1-{lambda})*(1-{rho})*(b0 + b1*L.inflation_t + b2*L.output_gap_t - L.i_t) + {rho}*{lambda}*FD.L.i_t The GMM model is also run for a separate reason: I need to proxy the current-period values of inflation and the output gap (i.e. I treat these variables as endogenous). I've been searching the internet and Stata books (incl. the Cameron 'Microeconometrics using Stata') but haven't found a way of combining the two approaches, for example running the first-stage regressions, taking the appropriate weighting matrix, and using this into a non-linear second-stage equation. I'd very much appreciate some guidance (including on whether I've missed something econometrically obvious). Many thanks in advance, with apologies if this message is unclear. Adrien Amzallag Any e-mail message from the European Central Bank (ECB) is sent in good faith but shall neither be binding nor construed as constituting a commitment by the ECB except where provided for in a written agreement. This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised disclosure, use or dissemination, either in whole or in part, is prohibited. If you have received this e-mail in error, please notify the sender immediately via e-mail and delete this e-mail from your system. * * 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/