Dear Gretl community,
I'm not a good "if-else" user so I need a little help. What's wrong
with
the following code?
<hansl>
open australia.gdt
series E_hp = E - hpfilt(E, 1600)
if E > E_hp
series E_reg1 = E
series PAUreg1 = PAU
series PUSreg1 = PUS
else
series E_reg1 = NA
series PAUreg1 = NA
series PUSreg1 = NA
endif
<hansl>
When I execute it I get the messages: "error evaluating 'if'"
"Error
executing script: halting".
Best regards,
Henrique Andrade