Hello,
Im trying to figure out whats wrong with this equation in eviews, it says syntax error, so I guess
I must have typed it in wrongly. Any suggestions would be very welcomed!
dklcl=c(1)+c(2)*((dklcl(-1)+dklcl(-2)+dklcl(-3)+dklcl(-4)+dklcl(-5))+c(3)*(-sp500+1,931650171)
dsp500=c(4)+c(5)*(dsp500(-1)+dsp500(-2)+dsp500(-3)+dsp500(-4)+dsp500(-5))+c(6)*(-klci-1,262344597)
Syntax error?
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Syntax error?
Are you typing both of those expressions in to the same equation? Equations can only have a single expression!
A second possibilty is that you don't have EViews setup to accept commas as decimal seperators. Try using a point instead.
A second possibilty is that you don't have EViews setup to accept commas as decimal seperators. Try using a point instead.
Re: Syntax error?
Hi, thank you for your comments!
Yes, Im typing them both in since I have a simultanoeous equations system, and theyre working now! :)
The problem seems to have been that I included the numbers in the last variable and also too few paranthesises,
this formula is working, so I just need to figure out how to include the "numbers" now,
dklcl=c(1)+c(2)*(dklcl(-1))+c(2)*(dklcl(-2))+c(2)*(dklcl(-3))+c(2)*(dklcl(-4))+ c(2)*(dklcl(-5))+c(3)*(-sp500)
dsp500=c(4)+c(5)*(dsp500(-1))+c(5)*(dsp500(-2))+c(5)*(dsp500(-3))+c(5)*(dsp500(-4))+c(5)*(dsp500(-5))+c(6)*(-klci)
Yes, Im typing them both in since I have a simultanoeous equations system, and theyre working now! :)
The problem seems to have been that I included the numbers in the last variable and also too few paranthesises,
this formula is working, so I just need to figure out how to include the "numbers" now,
dklcl=c(1)+c(2)*(dklcl(-1))+c(2)*(dklcl(-2))+c(2)*(dklcl(-3))+c(2)*(dklcl(-4))+ c(2)*(dklcl(-5))+c(3)*(-sp500)
dsp500=c(4)+c(5)*(dsp500(-1))+c(5)*(dsp500(-2))+c(5)*(dsp500(-3))+c(5)*(dsp500(-4))+c(5)*(dsp500(-5))+c(6)*(-klci)
Re: Syntax error?
You were right about the commas! I putted dots instead and now its working to include the numbers! Thank you! :)
Who is online
Users browsing this forum: No registered users and 2 guests
