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

Olufemi
Posts: 8
Joined: Thu Apr 22, 2010 1:57 pm

GMM Estimation

Postby Olufemi » Thu Apr 22, 2010 2:20 pm

Hi everyone,
I am planning to estimate GMM in Eviews 6 and after going through the Wizard, I always have an error message of "Number of instruments greater than Number of observation"
I have Seven Hundred and forty one observations and 9 regressors. Please what do I do

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: GMM Estimation

Postby EViews Gareth » Thu Apr 22, 2010 4:59 pm

The settings you used in the Wizard have created too many instruments. You need to think about what your instruments should be, and set the Wizard accordingly.

Olufemi
Posts: 8
Joined: Thu Apr 22, 2010 1:57 pm

Re: GMM Estimation

Postby Olufemi » Fri Apr 23, 2010 10:49 pm

Dear Qms Gareth,
I tried to follow the wizard but all efforts have proved abortive. I am trying to estimate a GMM equation which contains some dummy variables and some time invariant variables as well as those that vary with time. The dependent variable is Log of quantity while the regressors include GDP, distance, Exchange rate as well as some dummies. The panel is an unbalanced panel. Please can you guide me on the steps to go through with the wizard.

Best Regards

Olufemi
Posts: 8
Joined: Thu Apr 22, 2010 1:57 pm

Re: GMM Estimation

Postby Olufemi » Fri Apr 23, 2010 10:54 pm

Dear QMS Gareth,
In addition, what do Eviews mean by strictly exogenous varaible, does it mean an instrument that is excluded from the equation to be estimated? If yes, can I still estimate the equation without the strictly exogenous variables? and in the step 5 of 6 of the wizard, will C, I mean the intercept term be in the Transform Box and be treated as strictly exogenous or in the No transformation Box?
I am using the Eviews 6.

Best Regards

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: GMM Estimation

Postby EViews Gareth » Fri Apr 23, 2010 10:57 pm

I think you need to decide what your model is econometrically before we can figure out how to put that econometric model into EViews.

Olufemi
Posts: 8
Joined: Thu Apr 22, 2010 1:57 pm

Re: GMM Estimation

Postby Olufemi » Sat Apr 24, 2010 8:02 am

Dear QMS Gareth,
My model is a gravity model and I am using an unbalanced and undated panel for bilateral trade between countries with 741 observations.
The data was collected for a period of 20 years between 1989 and 2008

The model is specified thus:

Log(Tradequantity)=Log(GDPIM)+Log(GDPEXP)+Log(Distance)+Log(Exchange Rate) + Log(Trade Openess) + Breakpoint dummy + Colonial dummy + Language dummy

Log(Tradequantity)= Logarithm of quantity traded between two countries
Log(GDPIM)= Logarithm of the Gross domestic product for the importing country
Log(GDPEXP)= Logarithm of the Gross domestic product for the exporting country
Log(Distance)= Logarithm of distance between the two trading countries
Log(Exchange rate)= logarithm of Exchange rate with respect to the US dollar at the time of trade
Log(Trade openess)= Logarithm of trade openess with respect to the importing country. where trade openess is calculated by (Import+export)/GDP
Break point dummy is zero between 1989 and 2002 and one otherwise
Colonial dummy equals one if the trading partners have colonial ties and zero otherwise
Language dummy equals one if trading partners speak the same language and zero otherwise

Please I will appreciate me if you could guide me all through the process of estimation. Would be willing to make changes to the data structure if I have not done that properly in Eviews.
Please if the data will have to be specified as dated in Eviews, How will I go about it because you could have an example of a country trading with more than one country in a particular year and thus the date does not uniquely specify the observation.

Best Regards

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: GMM Estimation

Postby EViews Gareth » Sat Apr 24, 2010 11:11 am

Nothing you have said so far indicates that you want to, or should be using a dynamic gmm model.

Olufemi
Posts: 8
Joined: Thu Apr 22, 2010 1:57 pm

Re: GMM Estimation

Postby Olufemi » Sat Apr 24, 2010 11:28 am

Hello QMS Gareth,
I think I don't understand your question but based on the model I just specified, can you guide me on how to estimate a GMM model either by using the wizard or Menu or by programming. I need your help urgently please.

Best Regards

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: GMM Estimation

Postby EViews Gareth » Sat Apr 24, 2010 11:30 am

I cannot tell you how to perform a dynamic GMM estimation, if you cannot tell me what dynamic GMM estimation you want to perform.

All you have done so far is list a dependent variable and a bunch of independent variables. There is a lot more to GMM estimation than that.

nadja123
Posts: 72
Joined: Thu Aug 06, 2009 10:43 am

Re: GMM Estimation

Postby nadja123 » Wed Apr 28, 2010 3:06 pm

Hi Olufemi,

you may try to go through my posts in reply to the questions of hannibal, under:

Dynamic Panel / GMM (EV 6): Update
by nadja123 on Mon Mar 15, 2010 3:23 pm

Read it until the end, including the typo alert.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests