Syntax Error

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

Zoeltje
Posts: 4
Joined: Sat Mar 08, 2014 11:23 am

Syntax Error

Postby Zoeltje » Sat Mar 08, 2014 11:30 am

Hi,

I'm trying to use this regression in Eviews:

price(+1)-price=c(1)+c(2)price+((1+exp(-c(3)(((-(c(4)(price(-1)-fund_price(-1)))^2)-(-(c(5)(price(-1)-price(-2)))^2))/((-(c(4)(price(-1)-fund_price(-1)))^2)+(-(c(5)(price(-1)-price(-2))) ^2)))))^-1)*(c(4)(price-fund_price))+(1-((1+exp(-c(3)(((-(c(4)(price(-1)-fund_price(-1)))^2)-(-(c(5)(price(-1)-price(-2)))^2))/((-(c(4)(price(-1)-fund_price(-1)))^2)+(-(c(5)(price(-1)-price(-2))) ^2)))))^-1))*(c(5)(price-price(-1)))

When I try to estimate it, I get the message: Syntax error in "PRICE+((1+EXP(-C(3)(((-(C(4)(PRICE(-1)-FUND_PRICE(-1)))^2)-(-(C(5)(PRICE(-1)-PRICE(-2)))^2))/((-(C(4)(PRICE(-1) ...

Does somebody know what I'm doing wrong?

Thanks in advance!

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: Syntax Error

Postby startz » Sat Mar 08, 2014 12:59 pm

Missing a times sign after c(5)?

Zoeltje
Posts: 4
Joined: Sat Mar 08, 2014 11:23 am

Re: Syntax Error

Postby Zoeltje » Sat Mar 08, 2014 1:28 pm

Thanks, I thought it wasn't necessary to use a times sign (*). It works :).


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests