Page 1 of 1

Control variables seem not to work

Posted: Wed Nov 26, 2008 11:40 am
by paulb
My daughter is starting usage of Eviews with version 6 standard edition.
Works fine until she uses control variables.

%x = 3 - seems to work fine
series test = !y - says !Y is not defined
series test = {!y} - says {!Y} is not defined

Does anyone know what is wrong ?
Thanks in advance

Paul

Re: Control variables seem not to work

Posted: Wed Nov 26, 2008 11:41 am
by paulb
sorry, i meant

!y = 3 - seems to work fine
series test = !y - says !Y is not defined
series test = {!y} - says {!Y} is not defined

Re: Control variables seem not to work

Posted: Wed Nov 26, 2008 12:17 pm
by EViews Gareth
Are you sure it isn't working?

The following code works fine for me:

Code: Select all

create u 100 !y=3 series test = !y series test2 = {!y}

Re: Control variables seem not to work

Posted: Wed Nov 26, 2008 12:22 pm
by paulb
Thanks for the response.

Copied and pasted your code. Same result : variable is not defined with or without brackets.

Could it be due to the fact that it is standard edition and not entreprise ?

Re: Control variables seem not to work

Posted: Wed Nov 26, 2008 12:31 pm
by EViews Gareth
Did you paste it into an EViews program, or did you paste it into the command window?

Control variables can only be used in an EViews program.


This is the case for both Standard and Enterprise editions.

Re: Control variables seem not to work

Posted: Wed Nov 26, 2008 12:36 pm
by paulb
:oops: ...into the command window ...

Sorry and thanks a lot for the fast and useful response.