Page 1 of 1

Syntax Error

Posted: Sat Mar 08, 2014 11:30 am
by Zoeltje
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!

Re: Syntax Error

Posted: Sat Mar 08, 2014 12:59 pm
by startz
Missing a times sign after c(5)?

Re: Syntax Error

Posted: Sat Mar 08, 2014 1:28 pm
by Zoeltje
Thanks, I thought it wasn't necessary to use a times sign (*). It works :).