Page 1 of 1

An introduction to EViews programming.

Posted: Mon Apr 12, 2010 12:41 pm
by youtu
Dear EViews users,

Code: Select all

'create a workfile wfcreate q 1990 2010 'create a y series series y=nrnd 'create 15 X series for !i=1 to 15 series x{!i}=nrnd next
The quaterly workfile goes from 1990 to 2010. So "y" will be of length 21*4=84, and so will be "x1",...,"x15" ? Am I right ?

Is it always necessary to create a workfile ? Or are there some uses that do not require a workfile ?

Thank you very much

Re: An introduction to EViews programming.

Posted: Mon Apr 12, 2010 1:42 pm
by EViews Gareth
Yes you are right.

You always need a workfile to contain the data you're creating. It does not have to be a new one, you could open an existing one and then remove the workfile creation line.

Re: An introduction to EViews programming.

Posted: Tue Apr 13, 2010 12:38 pm
by youtu
Thank you Gareth