Page 1 of 1
Re: The GMM estimation specifiction does not work, please he
Posted: Mon May 21, 2012 5:24 am
by somaiiehmr
Hi guys,
I'm almost new with Eviews and am trying to estimate a non-linear GMM model with some instruments, but when I estimate the model using estimate and choose the GMM -Time series (HAC) the following error would come up:
No valid observation in equation, can you please let me know where is the problem?
Many thanks in advance for your help.
Re: The GMM estimation specifiction does not work, please he
Posted: Mon May 21, 2012 7:47 am
by EViews Gareth
Do you have any valid observations?
Re: The GMM estimation specifiction does not work, please he
Posted: Mon May 21, 2012 8:25 am
by somaiiehmr
Yes, I think all of them are valid observations.
Re: The GMM estimation specifiction does not work, please he
Posted: Mon May 21, 2012 8:32 am
by EViews Gareth
You should post your workfile.
Re: The GMM estimation specifiction does not work, please he
Posted: Mon May 21, 2012 8:54 am
by somaiiehmr
Here it is my workfile.
Re: The GMM estimation specifiction does not work, please he
Posted: Mon May 21, 2012 9:03 am
by startz
Try changing the starting values in the C vector.
Re: The GMM estimation specifiction does not work, please he
Posted: Mon May 21, 2012 10:01 am
by somaiiehmr
Hi,
Thanks for your reply, I tried to estimate GMM using GMM1 system in the attached workfile and I got table01 results, but surprisingly when I tried to re-estimate the same system the foolowig erroe came up: near singular matrix! why is that so?
Re: The GMM estimation specifiction does not work, please he
Posted: Mon May 21, 2012 10:15 am
by startz
EViwes uses the values in your C vector as starting values and also places the final estimates in C. You probably have unreasonable values in your C vector.
Re: The GMM estimation specifiction does not work, please he
Posted: Mon May 21, 2012 10:22 am
by somaiiehmr
Yes, you are right I have changed the starting values and it now works. Thanks a lot.
Just one more question. I also would like to find the following values and their standard errors using the estimated c(1), c(2) and c(3):
phi= c(2)+c(1)*(1-c(2)*(1-c(3)))
lambda= ((1-c(1))*(1-c(2))*(1-c(3)*c(2)))/phi
gammaf=c(3)*c(2)/phi
gammab=c(1)/phi
But I have no idea how to do that. Shall I add them to the gmm1 system? and how? if not how I can calculate them.
tahnks again.
Re: The GMM estimation specifiction does not work, please he
Posted: Mon May 21, 2012 10:35 am
by startz
EViews won't do this directly, but you can fake it by going View/Coefficient diagnostics/Wald and entering tests along the lines of 0= c(2)+c(1)*(1-c(2)*(1-c(3)))
GMM Breakpoint test and IV Diagnostics test
Posted: Tue May 22, 2012 7:00 am
by somaiiehmr
Thanks it works.
Re: GMM Breakpoint test and IV Diagnostics test
Posted: Tue May 22, 2012 7:10 am
by startz
I have no idea about this one.