Nl GMM help

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

sush
Posts: 5
Joined: Fri Aug 28, 2015 8:58 am

Nl GMM help

Postby sush » Fri Aug 28, 2015 9:10 am

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

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

Re: Nl GMM help

Postby EViews Gareth » Fri Aug 28, 2015 9:17 am

Could you provide the workfile, along with the version of EViews and build date (Help->About EViews)?

sush
Posts: 5
Joined: Fri Aug 28, 2015 8:58 am

Re: Nl GMM help

Postby sush » Fri Aug 28, 2015 10:03 am

Yes, the build date is apr 20 2015, EVIEWS 8
Attachments
uk data set.wf1
This is my work file
(79.79 KiB) Downloaded 185 times

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

Re: Nl GMM help

Postby EViews Gareth » Fri Aug 28, 2015 12:15 pm

Where are your instruments?

sush
Posts: 5
Joined: Fri Aug 28, 2015 8:58 am

Re: Nl GMM help

Postby sush » Fri Aug 28, 2015 1:51 pm

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

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

Re: Nl GMM help

Postby EViews Gareth » Fri Aug 28, 2015 2:26 pm

I think you're just getting a singular matrix issue.

sush
Posts: 5
Joined: Fri Aug 28, 2015 8:58 am

Re: Nl GMM help

Postby sush » Fri Aug 28, 2015 2:34 pm

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

Postby EViews Gareth » Fri Aug 28, 2015 3:07 pm

Probably a data issue.

sush
Posts: 5
Joined: Fri Aug 28, 2015 8:58 am

Re: Nl GMM help

Postby sush » Fri Aug 28, 2015 5:49 pm

Okay. But the syntax itself is correct and has no issues right?

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

Postby EViews Gareth » Fri Aug 28, 2015 6:04 pm

Correct


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests