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
Moderators: EViews Gareth, EViews Moderator
-
somaiiehmr
- Posts: 9
- Joined: Mon May 21, 2012 5:14 am
Re: The GMM estimation specifiction does not work, please he
- Attachments
-
- Doc2.docx
- (87.64 KiB) Downloaded 281 times
Last edited by somaiiehmr on Tue May 22, 2012 7:10 am, edited 3 times in total.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: The GMM estimation specifiction does not work, please he
Do you have any valid observations?
-
somaiiehmr
- Posts: 9
- Joined: Mon May 21, 2012 5:14 am
Re: The GMM estimation specifiction does not work, please he
Yes, I think all of them are valid observations.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: The GMM estimation specifiction does not work, please he
You should post your workfile.
-
somaiiehmr
- Posts: 9
- Joined: Mon May 21, 2012 5:14 am
Re: The GMM estimation specifiction does not work, please he
Here it is my workfile.
- Attachments
-
- gmm5410.wf1
- (31.48 KiB) Downloaded 263 times
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: The GMM estimation specifiction does not work, please he
Try changing the starting values in the C vector.
-
somaiiehmr
- Posts: 9
- Joined: Mon May 21, 2012 5:14 am
Re: The GMM estimation specifiction does not work, please he
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?
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?
Last edited by somaiiehmr on Tue May 22, 2012 7:16 am, edited 1 time in total.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: The GMM estimation specifiction does not work, please he
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.
-
somaiiehmr
- Posts: 9
- Joined: Mon May 21, 2012 5:14 am
Re: The GMM estimation specifiction does not work, please he
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.
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.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: The GMM estimation specifiction does not work, please he
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)))
-
somaiiehmr
- Posts: 9
- Joined: Mon May 21, 2012 5:14 am
GMM Breakpoint test and IV Diagnostics test
Thanks it works.
Last edited by somaiiehmr on Tue May 22, 2012 7:16 am, edited 1 time in total.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: GMM Breakpoint test and IV Diagnostics test
I have no idea about this one.
Who is online
Users browsing this forum: No registered users and 2 guests
