Referencing Regressor Name Within Existing Equation

For questions regarding programming in the EViews programming language.

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

diggetybo
Posts: 152
Joined: Mon Jun 23, 2014 12:04 am

Referencing Regressor Name Within Existing Equation

Postby diggetybo » Sun Jan 17, 2016 9:23 pm

I have never tried to reference the name of a series within an existing equation before, but now I really need to, or my program will be really sloppy.

I checked the data members for equation objects, but they all seemed to be scalar/number in terms of type. Is there any way to retrieve a string containing the name of the series regressed based on its position within the equation? Similar to the way eviews gets the value of coefficients using: eq01.@coef(3) or eq01.@coef(5) ect. Maybe something like:

Code: Select all

eq01.@regname(3)


In other words, using some built-in command to get the name from the existing equation, and not having to form a separate group to use group.@seriesname(#)

Thanks for reading

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13307
Joined: Tue Sep 16, 2008 5:38 pm

Re: Referencing Regressor Name Within Existing Equation

Postby EViews Gareth » Mon Jan 18, 2016 8:46 am

There are plenty of string members.
Attachments
2016-01-18_074226.png
2016-01-18_074226.png (125.02 KiB) Viewed 2742 times
Follow us on Twitter @IHSEViews

diggetybo
Posts: 152
Joined: Mon Jun 23, 2014 12:04 am

Re: Referencing Regressor Name Within Existing Equation

Postby diggetybo » Mon Jan 18, 2016 9:38 am

Thank you big time, Gareth. I don't know why I thought string members and data members would be in the same place. Anyway, now I know.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 22 guests