Error message in GMM estimation

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

facosta
Posts: 23
Joined: Wed Jul 07, 2010 9:16 am

Error message in GMM estimation

Postby facosta » Mon Feb 21, 2011 8:00 am

Hello there (by the way thanks a lot Gareth for the help with my last question).
I am doing a Panel estimation with GMM.
I am trying to estimate an equation with three lags of the dependant variable and other exogenous variables by GMM and fixed effects. However, when I estimate the equation, an error message appears. It says something like "Order condition violated-Insufficient instruments in GMM(..)..."

I´m thinking maybe I write the code in a wrong way, I am regressing:

gmm(cx=f, per=f) y y(-1) y(-2) y(-3) x1 x2 x3 x4 x5

Any idea will be appreciated.
Thanks!

facosta
Posts: 23
Joined: Wed Jul 07, 2010 9:16 am

Re: Error message in GMM estimation

Postby facosta » Tue Feb 22, 2011 6:03 am

Well, I was asking because I was trying to reply the STATA command "xtabond", where I regress:
xtabond y x1 x2 x3, lags(3) robust
Since in Eviews there are many options I am little confused.
Thank you.

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: Error message in GMM estimation

Postby trubador » Tue Feb 22, 2011 6:15 am

You should include a list of instrumental variables. Just put a "@" symbol after the regressors and add your instrumental variables. Something like the following:

Code: Select all

gmm(cx=f, per=f) y x1 x2 x3 x4 @ y(-1 to -3) x5
Please do not forget that, there must be at least as many instrumental variables as there are coefficients to be estimated. EViews automatically adds a constant as an instrument.

facosta
Posts: 23
Joined: Wed Jul 07, 2010 9:16 am

Re: Error message in GMM estimation

Postby facosta » Tue Mar 08, 2011 8:36 am

Thank you very much trubador.
I tried the following:

"gmm(cx=f, per=f) y y(-1) y(-2) y(-3) x1 x2 x3 x4 x5 x6 x7 @ @dyn(y) x1(-1) x2(-1) x3(-1) x4(-1) x5(-1) x6(-1) x7(-1)"

But i still get the same message. Looking at this I really don´t know what can I change since I believe I am using all the possible variables as instruments.
I am sorry the questions, it´s just I am used to estimate panel equations with STATA.

Regards.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests