Passing series names to alpha

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

marcosferraz
Posts: 2
Joined: Fri Nov 28, 2008 12:24 pm

Passing series names to alpha

Postby marcosferraz » Fri Nov 28, 2008 1:04 pm

I wrote a program that reads an Excel file, importing time series to a work file (NAMES and values).

How I can have internal access to the names (strings) of the series of the work file ?
I want to manipulate these strings in alpha variables, constructing in an automatic way, long strings with these names in equations I want to be executed by Eviews. I read the manual but I didn't find a way.

I solve the problem, reading another Excel that acts like an interface, where I paste the series names in cells to be read by Eviews like data.

Thanks,

Ferraz

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: Passing series names to alpha

Postby startz » Fri Nov 28, 2008 1:23 pm

I wrote a program that reads an Excel file, importing time series to a work file (NAMES and values).

How I can have internal access to the names (strings) of the series of the work file ?
I want to manipulate these strings in alpha variables, constructing in an automatic way, long strings with these names in equations I want to be executed by Eviews. I read the manual but I didn't find a way.

I solve the problem, reading another Excel that acts like an interface, where I paste the series names in cells to be read by Eviews like data.

Thanks,

Ferraz
Since you can get the names of series in a group, you might get somewhere with something like

Code: Select all

group foo * 'put all the series in a group foo.@seriesname(1) foo.@seriesname(2)
etc


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest