I am trying to simultaneously estimate two nonlinear equations using GMM. I have entered in the equations but keep receiving 'error 4194303'. Could you please tell me why I am receiving this error and if my syntax is correct:
milkproduction=c(1) +c(2)*farmgateprices +c(3)*averagefeedprice +c(4)*freshlycalvedhelferspric +c(5)*iherd +c(6)*time +1/2*(c(6)*(farmgateprices*averagefeedprice) +c(7)*(farmgateprices*freshlycalvedhelferspric) +c(8)*(freshlycalvedhelferspric*averagefeedprice)) +c(9)*(farmgateprices*time) +c(10)*(averagefeedprice*time) +c(11)*(freshlycalvedhelferspric*time) +c(12)*(iherd*time)
farmgateprices=priceofdairyproducts*(c(13) +c(14)*milkproduction +c(15)*monthlywage +c(16)*electricitypurchaseprice +c(17)*realinterestrate +c(18)*priceofdairyproducts)
Thank you,
Sush
Nl GMM help
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Nl GMM help
Could you provide the workfile, along with the version of EViews and build date (Help->About EViews)?
Re: Nl GMM help
Yes, the build date is apr 20 2015, EVIEWS 8
- Attachments
-
- uk data set.wf1
- This is my work file
- (79.79 KiB) Downloaded 184 times
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Nl GMM help
Where are your instruments?
Re: Nl GMM help
I have used all the exogenous variables as instruments along with a few others:
iherd
averagefeedprice
freshlycalvedheiferspric
monthlywage
electricitypurchaseprice
realinterestrate
coffeetea
fruit
breadandcereal
ipop
dummymonth
iherd
averagefeedprice
freshlycalvedheiferspric
monthlywage
electricitypurchaseprice
realinterestrate
coffeetea
fruit
breadandcereal
ipop
dummymonth
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Nl GMM help
I think you're just getting a singular matrix issue.
Re: Nl GMM help
Would using logged variables instead of the absolute values help? or is this an issue with my data itself?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Nl GMM help
Probably a data issue.
Re: Nl GMM help
Okay. But the syntax itself is correct and has no issues right?
Thank you very much for your help! I really appreciate it :)
Thank you very much for your help! I really appreciate it :)
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Nl GMM help
Correct
Who is online
Users browsing this forum: No registered users and 2 guests
