Hi all,
Im trying to set up an IF-function but get the following message:
"Syntax error in control statment in IF"
And thisis my code:
if
2 < gap < 10 then
CCB = 0,3125*(kreditgap - 2)
else
if
gap <= 2 then
CCyB = 0
else
kreditgap >= 10 then
CCyB = 2,5
endif
endif
Any advise would be great!
Best,
Petra
IF function syntax error
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: IF function syntax error
try putting the logical condition on the same line as the if
Who is online
Users browsing this forum: No registered users and 2 guests
