I am new to Dynare, now I want to replicate the difference equation specification of the hybrid NKPC by using GMM. z_t in the equation is a vector of variables dated t and earlier, it contains 6 variables with 4 lags. I don’t know how to set the instrument variables in this model and how to do this replication. I also upload what I did currently, the results show decomposition failed, I don’t know how to correct this.
I am pretty sure that won’t work in Dynare. You are trying to estimate a single equation using GMM instead of a full model.
The program was not designed to do this. In Eviews or Gretl (or Stata for that matter), this should be straighforward.
Thanks for your reply.
Can you please be more specific? If I want to run it successfully in Dynare, what should I do? Does that means I need more models in the “model section”? My goal is to estimate the parameters: phi, omega, theta, beta, lambda, gamma_f and gamma_b.
I am really appreciate for your help.
The problem is that you are using moment conditions involving instruments that are not endogenous variables of the model. That will not work. Dynare is not intended to be a general purpose estimation package.
Hi professor, I changed my code, but now it shows that “The generalized Schur (QZ) decomposition failed”, could you please help me with that?Gali_GMM1.mod (960 Bytes)
Yes I agree, you are trying to do what is known in the literature as “single-equation GMM estimation” in contrast to the GMM estimation in Dynare which is based on the reduced-form perturbation solution of all model equations.