Page 1 of 1

can't see what's wrong with this string

Posted: Fri Nov 16, 2012 7:11 am
by Qmars
Hello,

I am trying to run this program but there is a glitch in it and hope someone out there can see better than me what's wrong with this piece of program as i get a error message of : CA_HHPC is not defined in "equation EQ_CA.LS CA_HHPC C CA_GDP CA_HHs".
The program is the following:

for %c CA US BR MX
smpl 1983 2005
equation eq_{%c}.ls {%c}_hhpc c {%c}_gdp {%c}_hhs
next

for %c CA US BR MX
smpl 2006 2020
do eq_{%c}.forecast forecast_{%c}
smpl 1983 2005
series forecast_{%c}=na
next




Cheers

Qmars

Re: can't see what's wrong with this string

Posted: Fri Nov 16, 2012 8:56 am
by EViews Gareth
Sounds like you don't have a series called CA_HHPC in your workfile.

Re: can't see what's wrong with this string

Posted: Tue Nov 20, 2012 2:41 am
by Qmars
You're right. Thanks